81 references to Rename
System.Numerics.Tensors (81)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (26)
37InvokeSpanIntoSpan_1to2<byte, ushort, WidenByteToUInt16Operator>(Rename<TFrom, byte>(source), Rename<TTo, ushort>(destination)); 43InvokeSpanIntoSpan_1to4<byte, uint, WidenByteToUInt32Operator>(Rename<TFrom, byte>(source), Rename<TTo, uint>(destination)); 49InvokeSpanIntoSpan_1to4<byte, float, WidenByteToSingleOperator>(Rename<TFrom, byte>(source), Rename<TTo, float>(destination)); 58InvokeSpanIntoSpan_1to2<sbyte, short, WidenSByteToInt16Operator>(Rename<TFrom, sbyte>(source), Rename<TTo, short>(destination)); 64InvokeSpanIntoSpan_1to4<sbyte, int, WidenSByteToInt32Operator>(Rename<TFrom, sbyte>(source), Rename<TTo, int>(destination)); 70InvokeSpanIntoSpan_1to4<sbyte, float, WidenSByteToSingleOperator>(Rename<TFrom, sbyte>(source), Rename<TTo, float>(destination)); 79InvokeSpanIntoSpan_1to2<ushort, uint, WidenUInt16ToUInt32Operator>(Rename<TFrom, ushort>(source), Rename<TTo, uint>(destination)); 85InvokeSpanIntoSpan_1to2<ushort, float, WidenUInt16ToSingleOperator>(Rename<TFrom, ushort>(source), Rename<TTo, float>(destination)); 94InvokeSpanIntoSpan_1to2<short, int, WidenInt16ToInt32Operator>(Rename<TFrom, short>(source), Rename<TTo, int>(destination)); 100InvokeSpanIntoSpan_1to2<short, float, WidenInt16ToSingleOperator>(Rename<TFrom, short>(source), Rename<TTo, float>(destination)); 109InvokeSpanIntoSpan_1to2<uint, ulong, WidenUInt32ToUInt64Operator>(Rename<TFrom, uint>(source), Rename<TTo, ulong>(destination)); 115InvokeSpanIntoSpan<uint, float, ConvertUInt32ToSingle>(Rename<TFrom, uint>(source), Rename<TTo, float>(destination)); 121InvokeSpanIntoSpan_1to2<uint, double, WidenUInt32ToDoubleOperator>(Rename<TFrom, uint>(source), Rename<TTo, double>(destination)); 130InvokeSpanIntoSpan_1to2<int, long, WidenInt32ToInt64Operator>(Rename<TFrom, int>(source), Rename<TTo, long>(destination)); 136InvokeSpanIntoSpan<int, float, ConvertInt32ToSingle>(Rename<TFrom, int>(source), Rename<TTo, float>(destination)); 142InvokeSpanIntoSpan_1to2<int, double, WidenInt32ToDoubleOperator>(Rename<TFrom, int>(source), Rename<TTo, double>(destination)); 151InvokeSpanIntoSpan<ulong, double, ConvertUInt64ToDouble>(Rename<TFrom, ulong>(source), Rename<TTo, double>(destination)); 160InvokeSpanIntoSpan<long, double, ConvertInt64ToDouble>(Rename<TFrom, long>(source), Rename<TTo, double>(destination)); 169InvokeSpanIntoSpan_1to2<short, float, WidenHalfAsInt16ToSingleOperator>(Rename<TFrom, short>(source), Rename<TTo, float>(destination)); 178InvokeSpanIntoSpan_2to1<float, ushort, NarrowSingleToHalfAsUInt16Operator>(Rename<TFrom, float>(source), Rename<TTo, ushort>(destination)); 184InvokeSpanIntoSpan_1to2<float, double, WidenSingleToDoubleOperator>(Rename<TFrom, float>(source), Rename<TTo, double>(destination)); 193InvokeSpanIntoSpan_2to1<double, float, NarrowDoubleToSingleOperator>(Rename<TFrom, double>(source), Rename<TTo, float>(destination)); 209InvokeSpanIntoSpan<float, uint, ConvertSingleToUInt32>(Rename<TFrom, float>(source), Rename<TTo, uint>(destination)); 215InvokeSpanIntoSpan<float, int, ConvertSingleToInt32>(Rename<TFrom, float>(source), Rename<TTo, int>(destination)); 221InvokeSpanIntoSpan<double, ulong, ConvertDoubleToUInt64>(Rename<TFrom, double>(source), Rename<TTo, ulong>(destination)); 227InvokeSpanIntoSpan<double, long, ConvertDoubleToInt64>(Rename<TFrom, double>(source), Rename<TTo, long>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (14)
33InvokeSpanIntoSpan_2to1<short, sbyte, NarrowInt16ToSByteSaturatingOperator>(Rename<TFrom, short>(source), Rename<TTo, sbyte>(destination)); 39InvokeSpanIntoSpan_2to1<ushort, byte, NarrowUInt16ToByteSaturatingOperator>(Rename<TFrom, ushort>(source), Rename<TTo, byte>(destination)); 45InvokeSpanIntoSpan_2to1<int, short, NarrowInt32ToInt16SaturatingOperator>(Rename<TFrom, int>(source), Rename<TTo, short>(destination)); 51InvokeSpanIntoSpan_2to1<uint, ushort, NarrowUInt32ToUInt16SaturatingOperator>(Rename<TFrom, uint>(source), Rename<TTo, ushort>(destination)); 57InvokeSpanIntoSpan_2to1<long, int, NarrowInt64ToInt32SaturatingOperator>(Rename<TFrom, long>(source), Rename<TTo, int>(destination)); 63InvokeSpanIntoSpan_2to1<ulong, uint, NarrowUInt64ToUInt32SaturatingOperator>(Rename<TFrom, ulong>(source), Rename<TTo, uint>(destination)); 69InvokeSpanIntoSpan<sbyte, byte, ConvertSaturatingSignedToUnsignedOperator<sbyte, byte>>(Rename<TFrom, sbyte>(source), Rename<TTo, byte>(destination)); 75InvokeSpanIntoSpan<byte, sbyte, ConvertSaturatingUnsignedToSignedOperator<byte, sbyte>>(Rename<TFrom, byte>(source), Rename<TTo, sbyte>(destination)); 81InvokeSpanIntoSpan<short, ushort, ConvertSaturatingSignedToUnsignedOperator<short, ushort>>(Rename<TFrom, short>(source), Rename<TTo, ushort>(destination)); 87InvokeSpanIntoSpan<ushort, short, ConvertSaturatingUnsignedToSignedOperator<ushort, short>>(Rename<TFrom, ushort>(source), Rename<TTo, short>(destination)); 93InvokeSpanIntoSpan<int, uint, ConvertSaturatingSignedToUnsignedOperator<int, uint>>(Rename<TFrom, int>(source), Rename<TTo, uint>(destination)); 99InvokeSpanIntoSpan<uint, int, ConvertSaturatingUnsignedToSignedOperator<uint, int>>(Rename<TFrom, uint>(source), Rename<TTo, int>(destination)); 105InvokeSpanIntoSpan<long, ulong, ConvertSaturatingSignedToUnsignedOperator<long, ulong>>(Rename<TFrom, long>(source), Rename<TTo, ulong>(destination)); 111InvokeSpanIntoSpan<ulong, long, ConvertSaturatingUnsignedToSignedOperator<ulong, long>>(Rename<TFrom, ulong>(source), Rename<TTo, long>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (6)
47InvokeSpanIntoSpan_2to1<ushort, byte, NarrowUInt16ToByteOperator>(Rename<TFrom, ushort>(source), Rename<TTo, byte>(destination)); 53InvokeSpanIntoSpan_2to1<short, sbyte, NarrowInt16ToSByteOperator>(Rename<TFrom, short>(source), Rename<TTo, sbyte>(destination)); 59InvokeSpanIntoSpan_2to1<uint, ushort, NarrowUInt32ToUInt16Operator>(Rename<TFrom, uint>(source), Rename<TTo, ushort>(destination)); 65InvokeSpanIntoSpan_2to1<int, short, NarrowInt32ToInt16Operator>(Rename<TFrom, int>(source), Rename<TTo, short>(destination)); 71InvokeSpanIntoSpan_2to1<ulong, uint, NarrowUInt64ToUInt32Operator>(Rename<TFrom, ulong>(source), Rename<TTo, uint>(destination)); 77InvokeSpanIntoSpan_2to1<long, int, NarrowInt64ToInt32Operator>(Rename<TFrom, long>(source), Rename<TTo, int>(destination));
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (2)
37return (T)(object)CosineSimilarityHalfCore(Rename<T, Half>(x), Rename<T, Half>(y));
System\Numerics\Tensors\netcore\TensorPrimitives.Half.cs (32)
54if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 57Rename<T, short>(x), 74Rename<T, short>(x), 88if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 91Rename<T, short>(x), 92Rename<T, short>(y), 106if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 109Rename<T, short>(x), 124if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(y))) 128Rename<T, short>(y), 145Rename<T, short>(x), 146Rename<T, short>(y), 163Rename<T, short>(x), 178if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 181Rename<T, short>(x), 182Rename<T, short>(y), 196if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 199Rename<T, short>(x), 212if (typeof(T) == typeof(Half) && IsVectorizable(Rename<T, Half>(x))) 216Rename<T, short>(x))); 230if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 233Rename<T, short>(x), 234Rename<T, short>(y), 235Rename<T, short>(z), 249if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 252Rename<T, short>(x), 254Rename<T, short>(z), 268if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 271Rename<T, short>(x), 272Rename<T, short>(y), 287if (TOp.Vectorizable && IsVectorizable(Rename<T, Half>(x))) 290Rename<T, short>(x),
System\Numerics\Tensors\netcore\TensorPrimitives.ILogB.cs (1)
26InvokeSpanIntoSpan_2to1<double, int, ILogBDoubleOperator>(Rename<T, double>(x), destination);