81 references to Rename
System.Numerics.Tensors (81)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (26)
37
InvokeSpanIntoSpan_1to2<byte, ushort, WidenByteToUInt16Operator>(
Rename
<TFrom, byte>(source), Rename<TTo, ushort>(destination));
43
InvokeSpanIntoSpan_1to4<byte, uint, WidenByteToUInt32Operator>(
Rename
<TFrom, byte>(source), Rename<TTo, uint>(destination));
49
InvokeSpanIntoSpan_1to4<byte, float, WidenByteToSingleOperator>(
Rename
<TFrom, byte>(source), Rename<TTo, float>(destination));
58
InvokeSpanIntoSpan_1to2<sbyte, short, WidenSByteToInt16Operator>(
Rename
<TFrom, sbyte>(source), Rename<TTo, short>(destination));
64
InvokeSpanIntoSpan_1to4<sbyte, int, WidenSByteToInt32Operator>(
Rename
<TFrom, sbyte>(source), Rename<TTo, int>(destination));
70
InvokeSpanIntoSpan_1to4<sbyte, float, WidenSByteToSingleOperator>(
Rename
<TFrom, sbyte>(source), Rename<TTo, float>(destination));
79
InvokeSpanIntoSpan_1to2<ushort, uint, WidenUInt16ToUInt32Operator>(
Rename
<TFrom, ushort>(source), Rename<TTo, uint>(destination));
85
InvokeSpanIntoSpan_1to2<ushort, float, WidenUInt16ToSingleOperator>(
Rename
<TFrom, ushort>(source), Rename<TTo, float>(destination));
94
InvokeSpanIntoSpan_1to2<short, int, WidenInt16ToInt32Operator>(
Rename
<TFrom, short>(source), Rename<TTo, int>(destination));
100
InvokeSpanIntoSpan_1to2<short, float, WidenInt16ToSingleOperator>(
Rename
<TFrom, short>(source), Rename<TTo, float>(destination));
109
InvokeSpanIntoSpan_1to2<uint, ulong, WidenUInt32ToUInt64Operator>(
Rename
<TFrom, uint>(source), Rename<TTo, ulong>(destination));
115
InvokeSpanIntoSpan<uint, float, ConvertUInt32ToSingle>(
Rename
<TFrom, uint>(source), Rename<TTo, float>(destination));
121
InvokeSpanIntoSpan_1to2<uint, double, WidenUInt32ToDoubleOperator>(
Rename
<TFrom, uint>(source), Rename<TTo, double>(destination));
130
InvokeSpanIntoSpan_1to2<int, long, WidenInt32ToInt64Operator>(
Rename
<TFrom, int>(source), Rename<TTo, long>(destination));
136
InvokeSpanIntoSpan<int, float, ConvertInt32ToSingle>(
Rename
<TFrom, int>(source), Rename<TTo, float>(destination));
142
InvokeSpanIntoSpan_1to2<int, double, WidenInt32ToDoubleOperator>(
Rename
<TFrom, int>(source), Rename<TTo, double>(destination));
151
InvokeSpanIntoSpan<ulong, double, ConvertUInt64ToDouble>(
Rename
<TFrom, ulong>(source), Rename<TTo, double>(destination));
160
InvokeSpanIntoSpan<long, double, ConvertInt64ToDouble>(
Rename
<TFrom, long>(source), Rename<TTo, double>(destination));
169
InvokeSpanIntoSpan_1to2<short, float, WidenHalfAsInt16ToSingleOperator>(
Rename
<TFrom, short>(source), Rename<TTo, float>(destination));
178
InvokeSpanIntoSpan_2to1<float, ushort, NarrowSingleToHalfAsUInt16Operator>(
Rename
<TFrom, float>(source), Rename<TTo, ushort>(destination));
184
InvokeSpanIntoSpan_1to2<float, double, WidenSingleToDoubleOperator>(
Rename
<TFrom, float>(source), Rename<TTo, double>(destination));
193
InvokeSpanIntoSpan_2to1<double, float, NarrowDoubleToSingleOperator>(
Rename
<TFrom, double>(source), Rename<TTo, float>(destination));
209
InvokeSpanIntoSpan<float, uint, ConvertSingleToUInt32>(
Rename
<TFrom, float>(source), Rename<TTo, uint>(destination));
215
InvokeSpanIntoSpan<float, int, ConvertSingleToInt32>(
Rename
<TFrom, float>(source), Rename<TTo, int>(destination));
221
InvokeSpanIntoSpan<double, ulong, ConvertDoubleToUInt64>(
Rename
<TFrom, double>(source), Rename<TTo, ulong>(destination));
227
InvokeSpanIntoSpan<double, long, ConvertDoubleToInt64>(
Rename
<TFrom, double>(source), Rename<TTo, long>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (14)
33
InvokeSpanIntoSpan_2to1<short, sbyte, NarrowInt16ToSByteSaturatingOperator>(
Rename
<TFrom, short>(source), Rename<TTo, sbyte>(destination));
39
InvokeSpanIntoSpan_2to1<ushort, byte, NarrowUInt16ToByteSaturatingOperator>(
Rename
<TFrom, ushort>(source), Rename<TTo, byte>(destination));
45
InvokeSpanIntoSpan_2to1<int, short, NarrowInt32ToInt16SaturatingOperator>(
Rename
<TFrom, int>(source), Rename<TTo, short>(destination));
51
InvokeSpanIntoSpan_2to1<uint, ushort, NarrowUInt32ToUInt16SaturatingOperator>(
Rename
<TFrom, uint>(source), Rename<TTo, ushort>(destination));
57
InvokeSpanIntoSpan_2to1<long, int, NarrowInt64ToInt32SaturatingOperator>(
Rename
<TFrom, long>(source), Rename<TTo, int>(destination));
63
InvokeSpanIntoSpan_2to1<ulong, uint, NarrowUInt64ToUInt32SaturatingOperator>(
Rename
<TFrom, ulong>(source), Rename<TTo, uint>(destination));
69
InvokeSpanIntoSpan<sbyte, byte, ConvertSaturatingSignedToUnsignedOperator<sbyte, byte>>(
Rename
<TFrom, sbyte>(source), Rename<TTo, byte>(destination));
75
InvokeSpanIntoSpan<byte, sbyte, ConvertSaturatingUnsignedToSignedOperator<byte, sbyte>>(
Rename
<TFrom, byte>(source), Rename<TTo, sbyte>(destination));
81
InvokeSpanIntoSpan<short, ushort, ConvertSaturatingSignedToUnsignedOperator<short, ushort>>(
Rename
<TFrom, short>(source), Rename<TTo, ushort>(destination));
87
InvokeSpanIntoSpan<ushort, short, ConvertSaturatingUnsignedToSignedOperator<ushort, short>>(
Rename
<TFrom, ushort>(source), Rename<TTo, short>(destination));
93
InvokeSpanIntoSpan<int, uint, ConvertSaturatingSignedToUnsignedOperator<int, uint>>(
Rename
<TFrom, int>(source), Rename<TTo, uint>(destination));
99
InvokeSpanIntoSpan<uint, int, ConvertSaturatingUnsignedToSignedOperator<uint, int>>(
Rename
<TFrom, uint>(source), Rename<TTo, int>(destination));
105
InvokeSpanIntoSpan<long, ulong, ConvertSaturatingSignedToUnsignedOperator<long, ulong>>(
Rename
<TFrom, long>(source), Rename<TTo, ulong>(destination));
111
InvokeSpanIntoSpan<ulong, long, ConvertSaturatingUnsignedToSignedOperator<ulong, long>>(
Rename
<TFrom, ulong>(source), Rename<TTo, long>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (6)
47
InvokeSpanIntoSpan_2to1<ushort, byte, NarrowUInt16ToByteOperator>(
Rename
<TFrom, ushort>(source), Rename<TTo, byte>(destination));
53
InvokeSpanIntoSpan_2to1<short, sbyte, NarrowInt16ToSByteOperator>(
Rename
<TFrom, short>(source), Rename<TTo, sbyte>(destination));
59
InvokeSpanIntoSpan_2to1<uint, ushort, NarrowUInt32ToUInt16Operator>(
Rename
<TFrom, uint>(source), Rename<TTo, ushort>(destination));
65
InvokeSpanIntoSpan_2to1<int, short, NarrowInt32ToInt16Operator>(
Rename
<TFrom, int>(source), Rename<TTo, short>(destination));
71
InvokeSpanIntoSpan_2to1<ulong, uint, NarrowUInt64ToUInt32Operator>(
Rename
<TFrom, ulong>(source), Rename<TTo, uint>(destination));
77
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);