63 references to Rename
System.Numerics.Tensors (63)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (16)
36
InvokeSpanIntoSpan_1to2<byte, ushort, WidenByteToUInt16Operator>(
Rename
<TFrom, byte>(source), Rename<TTo, ushort>(destination));
42
InvokeSpanIntoSpan_1to4<byte, uint, WidenByteToUInt32Operator>(
Rename
<TFrom, byte>(source), Rename<TTo, uint>(destination));
48
InvokeSpanIntoSpan_1to4<byte, float, WidenByteToSingleOperator>(
Rename
<TFrom, byte>(source), Rename<TTo, float>(destination));
57
InvokeSpanIntoSpan_1to2<sbyte, short, WidenSByteToInt16Operator>(
Rename
<TFrom, sbyte>(source), Rename<TTo, short>(destination));
66
InvokeSpanIntoSpan_1to2<ushort, uint, WidenUInt16ToUInt32Operator>(
Rename
<TFrom, ushort>(source), Rename<TTo, uint>(destination));
75
InvokeSpanIntoSpan_1to2<short, int, WidenInt16ToInt32Operator>(
Rename
<TFrom, short>(source), Rename<TTo, int>(destination));
84
InvokeSpanIntoSpan_1to2<uint, ulong, WidenUInt32ToUInt64Operator>(
Rename
<TFrom, uint>(source), Rename<TTo, ulong>(destination));
90
InvokeSpanIntoSpan<uint, float, ConvertUInt32ToSingle>(
Rename
<TFrom, uint>(source), Rename<TTo, float>(destination));
99
InvokeSpanIntoSpan_1to2<int, long, WidenInt32ToInt64Operator>(
Rename
<TFrom, int>(source), Rename<TTo, long>(destination));
105
InvokeSpanIntoSpan<int, float, ConvertInt32ToSingle>(
Rename
<TFrom, int>(source), Rename<TTo, float>(destination));
114
InvokeSpanIntoSpan<ulong, double, ConvertUInt64ToDouble>(
Rename
<TFrom, ulong>(source), Rename<TTo, double>(destination));
123
InvokeSpanIntoSpan<long, double, ConvertInt64ToDouble>(
Rename
<TFrom, long>(source), Rename<TTo, double>(destination));
132
InvokeSpanIntoSpan_1to2<short, float, WidenHalfAsInt16ToSingleOperator>(
Rename
<TFrom, short>(source), Rename<TTo, float>(destination));
141
InvokeSpanIntoSpan_2to1<float, ushort, NarrowSingleToHalfAsUInt16Operator>(
Rename
<TFrom, float>(source), Rename<TTo, ushort>(destination));
147
InvokeSpanIntoSpan_1to2<float, double, WidenSingleToDoubleOperator>(
Rename
<TFrom, float>(source), Rename<TTo, double>(destination));
156
InvokeSpanIntoSpan_2to1<double, float, NarrowDoubleToSingleOperator>(
Rename
<TFrom, double>(source), Rename<TTo, float>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (10)
42
InvokeSpanIntoSpan<float, uint, ConvertSingleToUInt32>(
Rename
<TFrom, float>(source), Rename<TTo, uint>(destination));
48
InvokeSpanIntoSpan<float, int, ConvertSingleToInt32>(
Rename
<TFrom, float>(source), Rename<TTo, int>(destination));
54
InvokeSpanIntoSpan<double, ulong, ConvertDoubleToUInt64>(
Rename
<TFrom, double>(source), Rename<TTo, ulong>(destination));
60
InvokeSpanIntoSpan<double, long, ConvertDoubleToInt64>(
Rename
<TFrom, double>(source), Rename<TTo, long>(destination));
66
InvokeSpanIntoSpan_2to1<ushort, byte, NarrowUInt16ToByteOperator>(
Rename
<TFrom, ushort>(source), Rename<TTo, byte>(destination));
72
InvokeSpanIntoSpan_2to1<short, sbyte, NarrowInt16ToSByteOperator>(
Rename
<TFrom, short>(source), Rename<TTo, sbyte>(destination));
78
InvokeSpanIntoSpan_2to1<uint, ushort, NarrowUInt32ToUInt16Operator>(
Rename
<TFrom, uint>(source), Rename<TTo, ushort>(destination));
84
InvokeSpanIntoSpan_2to1<int, short, NarrowInt32ToInt16Operator>(
Rename
<TFrom, int>(source), Rename<TTo, short>(destination));
90
InvokeSpanIntoSpan_2to1<ulong, uint, NarrowUInt64ToUInt32Operator>(
Rename
<TFrom, ulong>(source), Rename<TTo, uint>(destination));
96
InvokeSpanIntoSpan_2to1<long, int, NarrowInt64ToInt32Operator>(
Rename
<TFrom, long>(source), Rename<TTo, int>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (2)
37
return (T)(object)CosineSimilarityHalfCore(
Rename
<T, Half>(x),
Rename
<T, Half>(y));
System\Numerics\Tensors\netcore\TensorPrimitives.Half.cs (32)
54
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
57
Rename
<T, short>(x),
74
Rename
<T, short>(x),
88
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
91
Rename
<T, short>(x),
92
Rename
<T, short>(y),
106
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
109
Rename
<T, short>(x),
124
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(y)))
128
Rename
<T, short>(y),
145
Rename
<T, short>(x),
146
Rename
<T, short>(y),
163
Rename
<T, short>(x),
178
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
181
Rename
<T, short>(x),
182
Rename
<T, short>(y),
196
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
199
Rename
<T, short>(x),
212
if (typeof(T) == typeof(Half) && IsVectorizable(
Rename
<T, Half>(x)))
216
Rename
<T, short>(x)));
230
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
233
Rename
<T, short>(x),
234
Rename
<T, short>(y),
235
Rename
<T, short>(z),
249
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
252
Rename
<T, short>(x),
254
Rename
<T, short>(z),
268
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
271
Rename
<T, short>(x),
272
Rename
<T, short>(y),
287
if (TOp.Vectorizable && IsVectorizable(
Rename
<T, Half>(x)))
290
Rename
<T, short>(x),
System\Numerics\Tensors\netcore\TensorPrimitives.ILogB.cs (1)
26
InvokeSpanIntoSpan_2to1<double, int, ILogBDoubleOperator>(
Rename
<T, double>(x), destination);
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (2)
121
roundPower10 =
Rename
<float, T>(roundPower10Single);
127
roundPower10 =
Rename
<double, T>(roundPower10Double);