40 references to WidenHalfAsInt16ToSingleOperator
System.Numerics.Tensors (40)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
132
InvokeSpanIntoSpan_1to2<short, float,
WidenHalfAsInt16ToSingleOperator
>(Rename<TFrom, short>(source), Rename<TTo, float>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (12)
216
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)i));
217
(Vector512<float> yVecLower, Vector512<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector512.LoadUnsafe(ref yRef, (uint)i));
231
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
233
(Vector512<float> yVecLower, Vector512<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
258
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector256.LoadUnsafe(ref xRef, (uint)i));
259
(Vector256<float> yVecLower, Vector256<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector256.LoadUnsafe(ref yRef, (uint)i));
273
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
275
(Vector256<float> yVecLower, Vector256<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
300
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector128.LoadUnsafe(ref xRef, (uint)i));
301
(Vector128<float> yVecLower, Vector128<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(Vector128.LoadUnsafe(ref yRef, (uint)i));
315
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
317
(Vector128<float> yVecLower, Vector128<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(
System\Numerics\Tensors\netcore\TensorPrimitives.Half.cs (27)
321
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
329
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
337
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
357
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
358
(Vector128<float> yVecLower, Vector128<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
366
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
367
(Vector256<float> yVecLower, Vector256<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
375
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
376
(Vector512<float> yVecLower, Vector512<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
396
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
397
(Vector128<float> yVecLower, Vector128<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
405
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
406
(Vector256<float> yVecLower, Vector256<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
414
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
415
(Vector512<float> yVecLower, Vector512<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
423
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
431
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
439
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
462
(Vector128<float> xVecLower, Vector128<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
463
(Vector128<float> yVecLower, Vector128<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
464
(Vector128<float> zVecLower, Vector128<float> zVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(z);
472
(Vector256<float> xVecLower, Vector256<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
473
(Vector256<float> yVecLower, Vector256<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
474
(Vector256<float> zVecLower, Vector256<float> zVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(z);
482
(Vector512<float> xVecLower, Vector512<float> xVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(x);
483
(Vector512<float> yVecLower, Vector512<float> yVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(y);
484
(Vector512<float> zVecLower, Vector512<float> zVecUpper) =
WidenHalfAsInt16ToSingleOperator
.Invoke(z);