TensorPrimitives.IsCanonicalAny<T>(ReadOnlySpan<T>) Método

Definición

Calcula si alguno de los valores del tensor especificado está en su representación canónica.

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static bool IsCanonicalAny(ReadOnlySpan<T> x);
public static bool IsCanonicalAny<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsCanonicalAny : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsCanonicalAny(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T)) As Boolean

Parámetros de tipo

T

Parámetros

x
ReadOnlySpan<T>

Tensor, representado como un intervalo.

Devoluciones

true es si alguno de los valores de x está en su representación canónica; de lo contrario, falsees . Si x está vacío, false se devuelve.

Se aplica a