Прочетете на английски

Споделяне чрез


Tensor.Dot<T> Method

Definition

Computes the dot product of two tensors containing numbers.

C#
public static T Dot<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IAdditionOperators<T,T,T>, System.Numerics.IAdditiveIdentity<T,T>, System.Numerics.IMultiplicativeIdentity<T,T>, System.Numerics.IMultiplyOperators<T,T,T>;

Type Parameters

T

Parameters

Returns

T

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)