इसके माध्यम से साझा किया गया


Tensor Class

Definition

Provides methods for tensor operations.

public ref class Tensor abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5001", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static class Tensor
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5001", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type Tensor = class
Public Module Tensor
Inheritance
Tensor
Attributes

Methods

Abs<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the absolute value of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Abs<T>(ReadOnlyTensorSpan<T>)

Takes the absolute value of each element of the Tensor<T> and returns a new Tensor<T> with the result.

Acos<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse cosine of each element of the Tensor<T> and returns a new Tensor<T> with the result.

Acos<T>(ReadOnlyTensorSpan<T>)

Takes the inverse cosine of each element of the Tensor<T> and returns a new Tensor<T> with the result.

Acosh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic cosine of each element of the TensorSpan<T> and returns a new TensorSpan<T> with the result.

Acosh<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic cosine of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

AcosPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic cosine divided by pi of each element of the TensorSpan<T> and returns a new TensorSpan<T> with the result.

AcosPi<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic cosine divided by pi of each element of the Tensor<T> and returns a new Tensor<T> with the result.

Add<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Adds each element of x to each element of y and returns a new ReadOnlyTensorSpan<T> with the result.

Add<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Adds each element of x to each element of y and returns a new Tensor<T> with the result.

Add<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Adds y to each element of x and returns a new TensorSpan<T> with the result.

Add<T>(ReadOnlyTensorSpan<T>, T)

Adds y to each element of x and returns a new Tensor<T> with the result.

Asin<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse sin of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Asin<T>(ReadOnlyTensorSpan<T>)

Takes the inverse sin of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Asinh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic sine of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Asinh<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic sine of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

AsinPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic sine divided by pi of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

AsinPi<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic sine divided by pi of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

AsReadOnlyTensorSpan<T>(T[], ReadOnlySpan<IntPtr>)

Extension method to more easily create a TensorSpan from an array.

AsTensorSpan<T>(T[], ReadOnlySpan<IntPtr>)

Extension method to more easily create a TensorSpan from an array.

Atan<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the arc tangent of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Atan<T>(ReadOnlyTensorSpan<T>)

Takes the arc tangent of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Atan2<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Atan2<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Atan2<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Atan2<T>(ReadOnlyTensorSpan<T>, T)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Atan2<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Atan2<T>(T, ReadOnlyTensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Atan2Pi<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new TensorSpan<T> with the result.

Atan2Pi<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new Tensor<T> with the result.

Atan2Pi<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new TensorSpan<T> with the result.

Atan2Pi<T>(ReadOnlyTensorSpan<T>, T)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new TensorSpan<T> with the result.

Atan2Pi<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new TensorSpan<T> with the result.

Atan2Pi<T>(T, ReadOnlyTensorSpan<T>)

Takes the arc tangent of the two input ReadOnlyTensorSpan<T>, divides each element by pi, and returns a new TensorSpan<T> with the result.

Atanh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic tangent of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Atanh<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic tangent of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

AtanPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the inverse hyperbolic tangent divided by pi of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

AtanPi<T>(ReadOnlyTensorSpan<T>)

Takes the inverse hyperbolic tangent divided by pi of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Average<T>(ReadOnlyTensorSpan<T>)

Returns the average of the elements in the x tensor.

BitwiseAnd<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise bitwise and of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseAnd<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise bitwise and of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

BitwiseAnd<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Computes the element-wise bitwise and of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseAnd<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise bitwise and of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Broadcast<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Broadcast the data from source to the new shape lengths. Creates a new Tensor<T> and allocates new memory. If the shape of the source is not compatible with the new shape, an exception is thrown.

Broadcast<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Broadcast the data from source to the smallest broadcastable shape compatible with lengthsSource. Creates a new Tensor<T> and allocates new memory.

BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Broadcast the data from source to destination.

BroadcastTo<T>(Tensor<T>, TensorSpan<T>)

Broadcast the data from source to destination.

BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)

Broadcast the data from source to destination.

Cbrt<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise cube root of the input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Cbrt<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise cube root of the input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Ceiling<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise ceiling of the input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Ceiling<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise ceiling of the input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Concatenate<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>)

Join a sequence of tensors along an existing axis.

Concatenate<T>(ReadOnlySpan<Tensor<T>>)

Join a sequence of tensors along an existing axis.

ConcatenateOnDimension<T>(Int32, ReadOnlySpan<Tensor<T>>, TensorSpan<T>)

Join a sequence of tensors along an existing axis.

ConcatenateOnDimension<T>(Int32, ReadOnlySpan<Tensor<T>>)

Join a sequence of tensors along an existing axis.

ConvertChecked<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>, TensorSpan<TTo>)

Copies source to a new TensorSpan<T> converting each TFrom value to a TTo value.

ConvertChecked<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>)

Copies source to a new ReadOnlyTensorSpan<T> converting each TFrom value to a TTo value.

ConvertSaturating<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>, TensorSpan<TTo>)

Copies source to a new TensorSpan<T> converting each TFrom value to a TTo value.

ConvertSaturating<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>)

Copies source to a new ReadOnlyTensorSpan<T> converting each TFrom value to a TTo value.

ConvertTruncating<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>, TensorSpan<TTo>)

Copies source to a new TensorSpan<T> converting each TFrom value to a TTo value.

ConvertTruncating<TFrom,TTo>(ReadOnlyTensorSpan<TFrom>)

Copies source to a new ReadOnlyTensorSpan<T> converting each TFrom value to a TTo value.

CopySign<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors and returns a new TensorSpan<T> with the result.

CopySign<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors and returns a new Tensor<T> with the result.

CopySign<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors and returns a new tensor with the result.

CopySign<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors and returns a new tensor with the result.

Cos<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the cosine of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Cos<T>(ReadOnlyTensorSpan<T>)

Takes the cosine of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Cosh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the hyperbolic cosine of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Cosh<T>(ReadOnlyTensorSpan<T>)

Takes the hyperbolic cosine of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

CosineSimilarity<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Compute cosine similarity between x and y.

CosineSimilarity<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compute cosine similarity between x and y.

CosPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise cosine of the value in the specified tensor that has been multiplied by Pi and returns a new TensorSpan<T> with the results.

CosPi<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise cosine of the value in the specified tensor that has been multiplied by Pi and returns a new Tensor<T> with the results.

Create<T>(IEnumerable<T>, ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and initializes it with the data from values.

Create<T>(IEnumerable<T>, ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and initializes it with the data from values.

Create<T>(ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and initializes it with the default value of T. If pinned is true, the memory will be pinned.

Create<T>(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and initializes it with the default value of T. If pinned is true, the memory will be pinned.

Create<T>(T[], ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> from the provided values. If the product of the lengths does not equal the length of the values array, an exception will be thrown.

Create<T>(T[], ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> from the provided values. If the product of the lengths does not equal the length of the values array, an exception will be thrown.

CreateAndFillGaussianNormalDistribution<T>(Random, ReadOnlySpan<IntPtr>)

Creates a Tensor<T> and initializes it with random data in a gaussian normal distribution.

CreateAndFillGaussianNormalDistribution<T>(ReadOnlySpan<IntPtr>)

Creates a Tensor<T> and initializes it with random data in a gaussian normal distribution.

CreateAndFillUniformDistribution<T>(Random, ReadOnlySpan<IntPtr>)

Creates a Tensor<T> and initializes it with random data uniformly distributed.

CreateAndFillUniformDistribution<T>(ReadOnlySpan<IntPtr>)

Creates a Tensor<T> and initializes it with random data uniformly distributed.

CreateUninitialized<T>(ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and does not initialize it. If pinned is true, the memory will be pinned.

CreateUninitialized<T>(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Creates a Tensor<T> and does not initialize it. If pinned is true, the memory will be pinned.

DegreesToRadians<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise conversion of each number of degrees in the specified tensor to radians and returns a new tensor with the results.

DegreesToRadians<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise conversion of each number of degrees in the specified tensor to radians and returns a new tensor with the results.

Distance<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Divide<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Divides each element of x by its corresponding element in y and returns a new TensorSpan<T> with the result.

Divide<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Divides each element of x by its corresponding element in y and returns a new ReadOnlyTensorSpan<T> with the result.

Divide<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Divides each element of x by y and returns a new TensorSpan<T> with the result.

Divide<T>(ReadOnlyTensorSpan<T>, T)

Divides each element of x by y and returns a new Tensor<T> with the result.

Divide<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Divides x by each element of y and returns a new TensorSpan<T> with the result."/>

Divide<T>(T, ReadOnlyTensorSpan<T>)

Divides x by each element of y and returns a new Tensor<T> with the result."/>

Dot<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the dot product of two tensors containing numbers.

Equals<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> for equality. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a TensorSpan<T> where the value is true if the elements are equal and false if they are not."/>

Equals<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> for equality. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a TensorSpan<T> where the value is true if the elements are equal and false if they are not."/>

Equals<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> for equality. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a TensorSpan<T> where the value is true if the elements are equal and false if they are not."/>

Equals<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> for equality. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a TensorSpan<T> where the value is true if the elements are equal and false if they are not."/>

EqualsAll<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are eqaul to y.

EqualsAll<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are eqaul to y.

EqualsAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are equal to y.

EqualsAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are equal to y.

Exp<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Exp<T>(ReadOnlyTensorSpan<T>)

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

Exp10<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Exp10<T>(ReadOnlyTensorSpan<T>)

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

Exp10M1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Exp10M1<T>(ReadOnlyTensorSpan<T>)

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

Exp2<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Exp2<T>(ReadOnlyTensorSpan<T>)

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

Exp2M1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Exp2M1<T>(ReadOnlyTensorSpan<T>)

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

ExpM1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

ExpM1<T>(ReadOnlyTensorSpan<T>)

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

FillGaussianNormalDistribution<T>(TensorSpan<T>, Random)

Fills the given TensorSpan<T> with random data in a Gaussian normal distribution. Random can optionally be provided for seeding.

FillUniformDistribution<T>(TensorSpan<T>, Random)

Fills the given TensorSpan<T> with random data in a uniform distribution. Random can optionally be provided for seeding.

FilteredUpdate<T>(TensorSpan<T>, ReadOnlyTensorSpan<Boolean>, ReadOnlyTensorSpan<T>)

Updates the tensor tensor with the values where the filter is true. If dimensions are not the same an exception is thrown.

FilteredUpdate<T>(TensorSpan<T>, ReadOnlyTensorSpan<Boolean>, T)

Updates the tensor tensor with the value where the filter is true.

Floor<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Floor<T>(ReadOnlyTensorSpan<T>)

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

GetSmallestBroadcastableLengths(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>)

Gets the smallest broadcastable lengths for two shapes.

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(T, ReadOnlyTensorSpan<T>)

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanAll<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are greater than y.

GreaterThanAll<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are greater than y.

GreaterThanAll<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of y are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in y are greater than y.

GreaterThanAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanAny<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are greater than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are greater than x.

GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are greater than or equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are greater than or equal to y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than or equal to y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than or equal to y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares x to see which elements are greater than or equal to y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>)

Compares x to see which elements are greater than or equal to y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThanOrEqualAll<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are greater than y.

GreaterThanOrEqualAll<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are greater than y.

GreaterThanOrEqualAll<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of y are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in y are greater than y.

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanOrEqualAny<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are greater than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are greater than x.

Hypot<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise hypotenuse given values from two tensors representing the lengths of the shorter sides in a right-angled triangle. If the shapes are not the same they are broadcast to the smallest compatible shape.

Hypot<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise hypotenuse given values from two tensors representing the lengths of the shorter sides in a right-angled triangle. If the shapes are not the same they are broadcast to the smallest compatible shape.

Ieee754Remainder<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Ieee754Remainder<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Ieee754Remainder<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

Ieee754Remainder<T>(ReadOnlyTensorSpan<T>, T)

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

Ieee754Remainder<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Ieee754Remainder<T>(T, ReadOnlyTensorSpan<T>)

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

ILogB<T>(ReadOnlyTensorSpan<T>, TensorSpan<Int32>)

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

ILogB<T>(ReadOnlyTensorSpan<T>)

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

IndexOfMax<T>(ReadOnlyTensorSpan<T>)

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

IndexOfMaxMagnitude<T>(ReadOnlyTensorSpan<T>)

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

IndexOfMin<T>(ReadOnlyTensorSpan<T>)

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

IndexOfMinMagnitude<T>(ReadOnlyTensorSpan<T>)

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

LeadingZeroCount<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

LeadingZeroCount<T>(ReadOnlyTensorSpan<T>)

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

LessThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThan<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThan<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThan<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThan<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanAll<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are less than y.

LessThanAll<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are less than y.

LessThanAll<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of y are less than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in y are less than x.

LessThanAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are less than y.

LessThanAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are less than y.

LessThanAny<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are less than y.

LessThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqual<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqual<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqual<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqual<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of a Tensor<T> to see which elements are less than y. It returns a Tensor<T> where the value is true if the elements in x are less than y and false if they are not."/>

LessThanOrEqualAll<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are less than y.

LessThanOrEqualAll<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in x are less than y.

LessThanOrEqualAll<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if all elements of y are less than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if all elements in y are less than x.

LessThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are less than y.

LessThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are less than y.

LessThanOrEqualAny<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are less than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are less than y.

Log<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Log<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Log<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

Log<T>(ReadOnlyTensorSpan<T>, T)

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

Log<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the natural logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Log<T>(ReadOnlyTensorSpan<T>)

Takes the natural logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Log10<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the base 10 logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Log10<T>(ReadOnlyTensorSpan<T>)

Takes the base 10 logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Log10P1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the base 10 logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Log10P1<T>(ReadOnlyTensorSpan<T>)

Takes the base 10 logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Log2<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the base 2 logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Log2<T>(ReadOnlyTensorSpan<T>)

Takes the base 2 logarithm of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Log2P1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the base 2 logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Log2P1<T>(ReadOnlyTensorSpan<T>)

Takes the base 2 logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

LogP1<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the natural logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

LogP1<T>(ReadOnlyTensorSpan<T>)

Takes the natural logarithm plus 1 of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Max<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Max<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Max<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

Max<T>(ReadOnlyTensorSpan<T>, T)

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

Max<T>(ReadOnlyTensorSpan<T>)

Searches for the largest number in the specified tensor.

MaxMagnitude<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MaxMagnitude<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MaxMagnitude<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MaxMagnitude<T>(ReadOnlyTensorSpan<T>, T)

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

MaxMagnitude<T>(ReadOnlyTensorSpan<T>)

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

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T)

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

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>)

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

MaxNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MaxNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MaxNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MaxNumber<T>(ReadOnlyTensorSpan<T>, T)

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

MaxNumber<T>(ReadOnlyTensorSpan<T>)

Searches for the largest number in the specified tensor.

Min<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Min<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Min<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

Min<T>(ReadOnlyTensorSpan<T>, T)

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

Min<T>(ReadOnlyTensorSpan<T>)

Searches for the smallest number in the specified tensor.

MinMagnitude<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MinMagnitude<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MinMagnitude<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MinMagnitude<T>(ReadOnlyTensorSpan<T>, T)

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

MinMagnitude<T>(ReadOnlyTensorSpan<T>)

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

MinMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MinMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MinMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MinMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T)

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

MinMagnitudeNumber<T>(ReadOnlyTensorSpan<T>)

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

MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

MinNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

MinNumber<T>(ReadOnlyTensorSpan<T>, T)

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

MinNumber<T>(ReadOnlyTensorSpan<T>)

Searches for the smallest number in the specified tensor.

Multiply<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Multiplies each element of x with y and returns a new TensorSpan<T> with the result. If the shapes are not the same they are broadcast to the smallest compatible shape.

Multiply<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Multiplies each element of x with y and returns a new Tensor<T> with the result. If the shapes are not the same they are broadcast to the smallest compatible shape.

Multiply<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Multiplies each element of x with y and returns a new TensorSpan<T> with the result.

Multiply<T>(ReadOnlyTensorSpan<T>, T)

Multiplies each element of x with y and returns a new Tensor<T> with the result.

Negate<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Negate<T>(ReadOnlyTensorSpan<T>)

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

Norm<T>(ReadOnlyTensorSpan<T>)

Takes the norm of the ReadOnlyTensorSpan<T> and returns the result.

OnesComplement<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

OnesComplement<T>(ReadOnlyTensorSpan<T>)

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

PermuteDimensions<T>(Tensor<T>, ReadOnlySpan<Int32>)

Swaps the dimensions of the tensor tensor according to the dimensions parameter. If tensor is a 1D tensor, it will return tensor. Otherwise it creates a new Tensor<T> with the new axis ordering by allocating new memory.

PopCount<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

PopCount<T>(ReadOnlyTensorSpan<T>)

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

Pow<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Pow<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Pow<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

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

Pow<T>(ReadOnlyTensorSpan<T>, T)

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

Pow<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Pow<T>(T, ReadOnlyTensorSpan<T>)

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

Product<T>(ReadOnlyTensorSpan<T>)

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

RadiansToDegrees<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

RadiansToDegrees<T>(ReadOnlyTensorSpan<T>)

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

Reciprocal<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Reciprocal<T>(ReadOnlyTensorSpan<T>)

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

Reshape<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Reshapes the tensor tensor to the specified lengths. If one of the lengths is -1, it will be calculated automatically. Does not change the length of the underlying memory nor does it allocate new memory. If the new shape is not compatible with the old shape, an exception is thrown.

Reshape<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Reshapes the tensor tensor to the specified lengths. If one of the lengths is -1, it will be calculated automatically. Does not change the length of the underlying memory nor does it allocate new memory. If the new shape is not compatible with the old shape, an exception is thrown.

Reshape<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

Reshapes the tensor tensor to the specified lengths. If one of the lengths is -1, it will be calculated automatically. Does not change the length of the underlying memory nor does it allocate new memory. If the new shape is not compatible with the old shape, an exception is thrown.

Resize<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Creates a new Tensor<T>, allocates new memory, and copies the data from tensor. If the final shape is smaller all data after that point is ignored.

ResizeTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Copies the data from tensor. If the final shape is smaller all data after that point is ignored. If the final shape is bigger it is filled with 0s.

ResizeTo<T>(Tensor<T>, TensorSpan<T>)

Copies the data from tensor. If the final shape is smaller all data after that point is ignored. If the final shape is bigger it is filled with 0s.

ResizeTo<T>(TensorSpan<T>, TensorSpan<T>)

Copies the data from tensor. If the final shape is smaller all data after that point is ignored. If the final shape is bigger it is filled with 0s.

Reverse<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Reverse the order of elements in the tensor. The shape of the tensor is preserved, but the elements are reordered.

Reverse<T>(ReadOnlyTensorSpan<T>)

Reverse the order of elements in the tensor. The shape of the tensor is preserved, but the elements are reordered.

ReverseDimension<T>(ReadOnlyTensorSpan<T>, Int32)

Reverse the order of elements in the tensor along the given dimension. The shape of the tensor is preserved, but the elements are reordered. dimension defaults to -1 when not provided, which reverses the entire tensor.

ReverseDimension<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>, Int32)

Reverse the order of elements in the tensor along the given axis. The shape of the tensor is preserved, but the elements are reordered. dimension defaults to -1 when not provided, which reverses the entire span.

RootN<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

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

RootN<T>(ReadOnlyTensorSpan<T>, Int32)

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

RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

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

RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32)

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

RotateRight<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

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

RotateRight<T>(ReadOnlyTensorSpan<T>, Int32)

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

Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>)

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

Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding)

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

Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

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

Round<T>(ReadOnlyTensorSpan<T>, Int32)

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

Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>)

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

Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding)

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

Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Round<T>(ReadOnlyTensorSpan<T>)

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

SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(T).

SequenceEqual<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>)

Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(T).

SetSlice<T>(Tensor<T>, ReadOnlyTensorSpan<T>, ReadOnlySpan<NRange>)

Sets a slice of the given tensor with the provided values for the given ranges

SetSlice<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>, ReadOnlySpan<NRange>)

Sets a slice of the given tensor with the provided values for the given ranges

Sigmoid<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Sigmoid<T>(ReadOnlyTensorSpan<T>)

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

Sin<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the sin of each element of the ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Sin<T>(ReadOnlyTensorSpan<T>)

Takes the sin of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Sinh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Sinh<T>(ReadOnlyTensorSpan<T>)

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

SinPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

SinPi<T>(ReadOnlyTensorSpan<T>)

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

SoftMax<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

SoftMax<T>(ReadOnlyTensorSpan<T>)

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

Split<T>(ReadOnlyTensorSpan<T>, Int32, IntPtr)

Split a Tensor<T> into splitCount along the given dimension. If the tensor cannot be split evenly on the given dimension an exception is thrown.

Sqrt<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Takes the square root of each element of the x and returns a new TensorSpan<T> with the result.

Sqrt<T>(ReadOnlyTensorSpan<T>)

Takes the square root of each element of the ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Squeeze<T>(ReadOnlyTensorSpan<T>)

Removes all dimensions of length one from the tensor.

Squeeze<T>(Tensor<T>)

Removes all dimensions of length one from the tensor.

Squeeze<T>(TensorSpan<T>)

Removes all dimensions of length one from the tensor.

SqueezeDimension<T>(ReadOnlyTensorSpan<T>, Int32)

Removes axis of length one from the tensor for the given dimension. If the dimension is not of length one it will throw an exception.

SqueezeDimension<T>(Tensor<T>, Int32)

Removes axis of length one from the tensor for the given dimension. If the dimension is not of length one it will throw an exception.

SqueezeDimension<T>(TensorSpan<T>, Int32)

Removes axis of length one from the tensor for the given dimension. If the dimension is not of length one it will throw an exception.

Stack<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>)

Join multiple Tensor<T> along a new dimension that is added at position 0. All tensors must have the same shape.

Stack<T>(ReadOnlySpan<Tensor<T>>)

Join multiple Tensor<T> along a new dimension that is added at position 0. All tensors must have the same shape.

StackAlongDimension<T>(Int32, ReadOnlySpan<Tensor<T>>)

Join multiple Tensor<T> along a new dimension. The axis parameter specifies the index of the new dimension. All tensors must have the same shape.

StackAlongDimension<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>, Int32)

Join multiple Tensor<T> along a new dimension. The axis parameter specifies the index of the new dimension. All tensors must have the same shape.

StdDev<T>(ReadOnlyTensorSpan<T>)

Returns the standard deviation of the elements in the x tensor.

Subtract<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Subtracts each element of x from y and returns a new TensorSpan<T> with the result.

Subtract<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Subtracts each element of x from y and returns a new Tensor<T> with the result.

Subtract<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Subtracts y from each element of x and returns a new TensorSpan<T> with the result.

Subtract<T>(ReadOnlyTensorSpan<T>, T)

Subtracts y from each element of x and returns a new Tensor<T> with the result.

Subtract<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Subtracts each element of y from x and returns a new TensorSpan<T> with the result.

Subtract<T>(T, ReadOnlyTensorSpan<T>)

Subtracts each element of y from x and returns a new Tensor<T> with the result.

Sum<T>(ReadOnlyTensorSpan<T>)

Sums the elements of the specified tensor.

Tan<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Tan<T>(ReadOnlyTensorSpan<T>)

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

Tanh<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Tanh<T>(ReadOnlyTensorSpan<T>)

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

TanPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

TanPi<T>(ReadOnlyTensorSpan<T>)

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

ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Creates a String representation of the ReadOnlyTensorSpan<T>."/>

ToString<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Creates a String representation of the Tensor<T>."/>

ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

Creates a String representation of the TensorSpan<T>."/>

TrailingZeroCount<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

TrailingZeroCount<T>(ReadOnlyTensorSpan<T>)

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

Transpose<T>(Tensor<T>)

Swaps the last two dimensions of the tensor tensor.

Truncate<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Truncate<T>(ReadOnlyTensorSpan<T>)

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

TryBroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Broadcast the data from tensor to the smallest broadcastable shape compatible with destination and stores it in destination If the shapes are not compatible, false is returned.

TryBroadcastTo<T>(Tensor<T>, TensorSpan<T>)

Broadcast the data from tensor to the smallest broadcastable shape compatible with destination and stores it in destination If the shapes are not compatible, false is returned.

TryBroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)

Broadcast the data from tensor to the smallest broadcastable shape compatible with destination and stores it in destination If the shapes are not compatible, false is returned.

Unsqueeze<T>(ReadOnlyTensorSpan<T>, Int32)

Insert a new dimension of length 1 that will appear at the dimension position.

Unsqueeze<T>(Tensor<T>, Int32)

Insert a new dimension of length 1 that will appear at the dimension position.

Unsqueeze<T>(TensorSpan<T>, Int32)

Insert a new dimension of length 1 that will appear at the dimension position.

Xor<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

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

Xor<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

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

Xor<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Computes the element-wise Xor of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

Xor<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise Xor of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

Applies to