英語で読む

次の方法で共有


Tensor.MaxMagnitude Method

Definition

Overloads

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>)

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

MaxMagnitude<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<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>, T, TensorSpan<T>)

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

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

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

public static ref readonly System.Numerics.Tensors.TensorSpan<T> MaxMagnitude<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.INumber<T>;

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The first tensor, represented as a span.

y
ReadOnlyTensorSpan<T>

The second tensor, represented as a span.

destination
TensorSpan<T>

The destination tensor, represented as a span.

Returns

Applies to

.NET 9 (package-provided) および .NET 8 (package-provided)
製品 バージョン
.NET 8 (package-provided), 9 (package-provided)

MaxMagnitude<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

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

public static T MaxMagnitude<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumber<T>;

Type Parameters

T

Parameters

Returns

T

Applies to

.NET 9 (package-provided) および .NET 8 (package-provided)
製品 バージョン
.NET 8 (package-provided), 9 (package-provided)

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

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

public static System.Numerics.Tensors.Tensor<T> MaxMagnitude<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.INumber<T>;

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The first tensor, represented as a span.

y
ReadOnlyTensorSpan<T>

The second tensor, represented as a span.

Returns

Applies to

.NET 9 (package-provided) および .NET 8 (package-provided)
製品 バージョン
.NET 8 (package-provided), 9 (package-provided)

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

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

public static System.Numerics.Tensors.Tensor<T> MaxMagnitude<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.INumber<T>;

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The first tensor, represented as a span.

y
T

The second tensor, represented as a span.

Returns

Applies to

.NET 9 (package-provided) および .NET 8 (package-provided)
製品 バージョン
.NET 8 (package-provided), 9 (package-provided)

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

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

public static ref readonly System.Numerics.Tensors.TensorSpan<T> MaxMagnitude<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.INumber<T>;

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The first tensor, represented as a span.

y
T

The second tensor, represented as a span.

destination
TensorSpan<T>

The destination tensor, represented as a span.

Returns

Applies to

.NET 9 (package-provided) および .NET 8 (package-provided)
製品 バージョン
.NET 8 (package-provided), 9 (package-provided)