Compartir a través de


TensorPrimitives Class

Definition

Performs primitive tensor operations over spans of memory.

public ref class TensorPrimitives abstract sealed
public static class TensorPrimitives
type TensorPrimitives = class
Public Class TensorPrimitives
Inheritance
TensorPrimitives

Methods

Abs(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise absolute value of each single-precision floating-point number in the specified tensor.

Abs<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise absolute value of each number in the specified tensor.

Acos<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose cosine is the specifed number.

Acosh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-cosine of the specifed number.

AcosPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose cosine is the specifed number and divides the result by Pi.

Add(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise addition of single-precision floating-point numbers in the specified tensors.

Add(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise addition of single-precision floating-point numbers in the specified tensors.

Add<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise addition of numbers in the specified tensors.

Add<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise addition of numbers in the specified tensors.

AddMultiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply(ReadOnlySpan<Single>, Single, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

Asin<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose sine is the specifed number.

Asinh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-sine of the specifed number.

AsinPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose sine is the specifed number and divides the result by Pi.

Atan<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose tangent is the specifed number.

Atan2<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2Pi<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atan2Pi<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atan2Pi<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atanh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-tangent of the specifed number.

AtanPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose tangent is the specifed number and divides the result by Pi.

BitwiseAnd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise bitwise AND of numbers in the specified tensors.

BitwiseAnd<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise bitwise AND of numbers in the specified tensors.

BitwiseOr<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise bitwise OR of numbers in the specified tensors.

BitwiseOr<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise bitwise OR of numbers in the specified tensors.

Cbrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cube root of numbers in the specified tensor.

Ceiling<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise ceiling of numbers in the specified tensor.

ConvertChecked<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

ConvertSaturating<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

ConvertToHalf(ReadOnlySpan<Single>, Span<Half>)

Copies source to destination, converting each Single value to its nearest representable half-precision floating-point value.

ConvertToSingle(ReadOnlySpan<Half>, Span<Single>)

Copies source to destination, converting each half-precision floating-point value to its nearest representable Single value.

ConvertTruncating<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

CopySign<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors.

CopySign<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors.

Cos<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cosine of the value in the specified tensor.

Cosh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic cosine of each single-precision floating-point radian angle in the specified tensor.

Cosh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic cosine of each radian angle in the specified tensor.

CosineSimilarity(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the cosine similarity between the two specified non-empty, equal-length tensors of single-precision floating-point numbers.

CosineSimilarity<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the cosine similarity between the two specified non-empty, equal-length tensors of numbers.

CosPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cosine of the value in the specified tensor that has been multiplied by Pi.

DegreesToRadians<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise conversion of each number of degrees in the specified tensor to radians.

Distance(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the distance between two points, specified as non-empty, equal-length tensors of single-precision floating-point numbers, in Euclidean space.

Distance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the distance between two points, specified as non-empty, equal-length tensors of numbers, in Euclidean space.

Divide(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise division of single-precision floating-point numbers in the specified tensors.

Divide(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise division of single-precision floating-point numbers in the specified tensors.

Divide<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

Divide<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

Divide<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

Dot(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the dot product of two tensors containing single-precision floating-point numbers.

Dot<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the dot product of two tensors containing numbers.

Exp(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of raising e to the single-precision floating-point number powers in the specified tensor.

Exp<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising e to the number powers in the specified tensor.

Exp10<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 10 to the number powers in the specified tensor.

Exp10M1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 10 to the number powers in the specified tensor, minus one.

Exp2<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 2 to the number powers in the specified tensor.

Exp2M1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

ExpM1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising e to the number powers in the specified tensor, minus 1.

Floor<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise floor of numbers in the specified tensor.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

HammingBitDistance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the bitwise Hamming distance between two equal-length tensors of values.

HammingDistance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the Hamming distance between two equal-length tensors of values.

Hypot<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise hypotenuse given values from two tensors representing the lengths of the shorter sides in a right-angled triangle.

Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

ILogB<T>(ReadOnlySpan<T>, Span<Int32>)

Computes the element-wise integer logarithm of numbers in the specified tensor.

IndexOfMax(ReadOnlySpan<Single>)

Searches for the index of the largest single-precision floating-point number in the specified tensor.

IndexOfMax<T>(ReadOnlySpan<T>)

Searches for the index of the largest number in the specified tensor.

IndexOfMaxMagnitude(ReadOnlySpan<Single>)

Searches for the index of the single-precision floating-point number with the largest magnitude in the specified tensor.

IndexOfMaxMagnitude<T>(ReadOnlySpan<T>)

Searches for the index of the number with the largest magnitude in the specified tensor.

IndexOfMin(ReadOnlySpan<Single>)

Searches for the index of the smallest single-precision floating-point number in the specified tensor.

IndexOfMin<T>(ReadOnlySpan<T>)

Searches for the index of the smallest number in the specified tensor.

IndexOfMinMagnitude(ReadOnlySpan<Single>)

Searches for the index of the single-precision floating-point number with the smallest magnitude in the specified tensor.

IndexOfMinMagnitude<T>(ReadOnlySpan<T>)

Searches for the index of the number with the smallest magnitude in the specified tensor.

LeadingZeroCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise leading zero count of numbers in the specified tensor.

Lerp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Lerp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Lerp<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Log(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise natural (base e) logarithm of single-precision floating-point numbers in the specified tensor.

Log<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise logarithm of the numbers in a specified tensor to the specified base in another specified tensor.

Log<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise natural (base e) logarithm of numbers in the specified tensor.

Log<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise logarithm of the numbers in a specified tensor to the specified base in another specified tensor.

Log10<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 10 logarithm of numbers in the specified tensor.

Log10P1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 10 logarithm of numbers in the specified tensor plus 1.

Log2(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise base 2 logarithm of single-precision floating-point numbers in the specified tensor.

Log2<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 2 logarithm of numbers in the specified tensor.

Log2P1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 2 logarithm of numbers in the specified tensor plus 1.

LogP1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise natural (base e) logarithm of numbers in the specified tensor plus 1.

Max(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise maximum of the single-precision floating-point numbers in the specified tensors.

Max(ReadOnlySpan<Single>)

Searches for the largest single-precision floating-point number in the specified tensor.

Max<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

Max<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

Max<T>(ReadOnlySpan<T>)

Searches for the largest number in the specified tensor.

MaxMagnitude(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise single-precision floating-point number with the largest magnitude in the specified tensors.

MaxMagnitude(ReadOnlySpan<Single>)

Searches for the single-precision floating-point number with the largest magnitude in the specified tensor.

MaxMagnitude<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitude<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitude<T>(ReadOnlySpan<T>)

Searches for the number with the largest magnitude in the specified tensor.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>)

Searches for the number with the largest magnitude in the specified tensor.

MaxNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MaxNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MaxNumber<T>(ReadOnlySpan<T>)

Searches for the largest number in the specified tensor.

Min(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise minimum of the single-precision floating-point numbers in the specified tensors.

Min(ReadOnlySpan<Single>)

Searches for the smallest single-precision floating-point number in the specified tensor.

Min<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

Min<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

Min<T>(ReadOnlySpan<T>)

Searches for the smallest number in the specified tensor.

MinMagnitude(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise single-precision floating-point number with the smallest magnitude in the specified tensors.

MinMagnitude(ReadOnlySpan<Single>)

Searches for the single-precision floating-point number with the smallest magnitude in the specified tensor.

MinMagnitude<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitude<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitude<T>(ReadOnlySpan<T>)

Searches for the number with the smallest magnitude in the specified tensor.

MinMagnitudeNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitudeNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitudeNumber<T>(ReadOnlySpan<T>)

Searches for the number with the smallest magnitude in the specified tensor.

MinNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MinNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MinNumber<T>(ReadOnlySpan<T>)

Searches for the largest number in the specified tensor.

Multiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise product of single-precision floating-point numbers in the specified tensors.

Multiply(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise product of single-precision floating-point numbers in the specified tensors.

Multiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise product of numbers in the specified tensors.

Multiply<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise product of numbers in the specified tensors.

MultiplyAdd(ReadOnlySpan<Single>, ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd(ReadOnlySpan<Single>, Single, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

Negate(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise negation of each single-precision floating-point number in the specified tensor.

Negate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise negation of each number in the specified tensor.

Norm(ReadOnlySpan<Single>)

Computes the Euclidean norm of the specified tensor of single-precision floating-point numbers.

Norm<T>(ReadOnlySpan<T>)

Computes the Euclidean norm of the specified tensor of numbers.

OnesComplement<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise one's complement of numbers in the specified tensor.

PopCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise population count of numbers in the specified tensor.

PopCount<T>(ReadOnlySpan<T>)

Computes the population count of all elements in the specified tensor.

Pow<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Product(ReadOnlySpan<Single>)

Computes the product of all elements in the specified non-empty tensor of single-precision floating-point numbers.

Product<T>(ReadOnlySpan<T>)

Computes the product of all elements in the specified non-empty tensor of numbers.

ProductOfDifferences(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the product of the element-wise differences of the single-precision floating-point numbers in the specified non-empty tensors.

ProductOfDifferences<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the product of the element-wise differences of the numbers in the specified non-empty tensors.

ProductOfSums(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the product of the element-wise sums of the single-precision floating-point numbers in the specified non-empty tensors.

ProductOfSums<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the product of the element-wise sums of the numbers in the specified non-empty tensors.

RadiansToDegrees<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise conversion of each number of radians in the specified tensor to degrees.

Reciprocal<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of numbers in the specified tensor.

ReciprocalEstimate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of numbers in the specified tensor.

ReciprocalSqrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of the square root of numbers in the specified tensor.

ReciprocalSqrtEstimate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of the square root of numbers in the specified tensor.

RootN<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise n-th root of the values in the specified tensor.

RotateLeft<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rotation left of numbers in the specified tensor by the specified rotation amount.

RotateRight<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rotation right of numbers in the specified tensor by the specified rotation amount.

Round<T>(ReadOnlySpan<T>, Int32, MidpointRounding, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, MidpointRounding, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

ScaleB<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise product of numbers in the specified tensor and their base-radix raised to the specified power.

ShiftLeft<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise shifting left of numbers in the specified tensor by the specified shift amount.

ShiftRightArithmetic<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise arithmetic (signed) shifting right of numbers in the specified tensor by the specified shift amount.

ShiftRightLogical<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise logical (unsigned) shifting right of numbers in the specified tensor by the specified shift amount.

Sigmoid(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise sigmoid function on the specified non-empty tensor of single-precision floating-point numbers.

Sigmoid<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sigmoid function on the specified non-empty tensor of numbers.

Sin<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sine of the value in the specified tensor.

SinCos<T>(ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise sine and cosine of the value in the specified tensor.

SinCosPi<T>(ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise sine and cosine of the value in the specified tensor that has been multiplied by Pi.

Sinh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic sine of each single-precision floating-point radian angle in the specified tensor.

Sinh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic sine of each radian angle in the specified tensor.

SinPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sine of the value in the specified tensor that has been multiplied by Pi.

SoftMax(ReadOnlySpan<Single>, Span<Single>)

Computes the softmax function over the specified non-empty tensor of single-precision floating-point numbers.

SoftMax<T>(ReadOnlySpan<T>, Span<T>)

Computes the softmax function over the specified non-empty tensor of numbers.

Sqrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise square root of numbers in the specified tensor.

Subtract(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise difference between single-precision floating-point numbers in the specified tensors.

Subtract(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise difference between single-precision floating-point numbers in the specified tensors.

Subtract<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Subtract<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Subtract<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Sum(ReadOnlySpan<Single>)

Computes the sum of all elements in the specified tensor of single-precision floating-point numbers.

Sum<T>(ReadOnlySpan<T>)

Computes the sum of all elements in the specified tensor of numbers.

SumOfMagnitudes(ReadOnlySpan<Single>)

Computes the sum of the absolute values of every element in the specified tensor of single-precision floating-point numbers.

SumOfMagnitudes<T>(ReadOnlySpan<T>)

Computes the sum of the absolute values of every element in the specified tensor of numbers.

SumOfSquares(ReadOnlySpan<Single>)

Computes the sum of the square of every element in the specified tensor of single-precision floating-point numbers.

SumOfSquares<T>(ReadOnlySpan<T>)

Computes the sum of the square of every element in the specified tensor of numbers.

Tan<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise tangent of the value in the specified tensor.

Tanh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic tangent of each single-precision floating-point radian angle in the specified tensor.

Tanh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic tangent of each radian angle in the specified tensor.

TanPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

TrailingZeroCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise trailing zero count of numbers in the specified tensor.

Truncate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise truncation of numbers in the specified tensor.

Xor<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise XOR of numbers in the specified tensors.

Xor<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise XOR of numbers in the specified tensors.

Applies to