Tensor.IndexOfMax<T>(ReadOnlyTensorSpan<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Recherche l’index du plus grand nombre dans le tensoriel spécifié.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static IntPtr IndexOfMax(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static IntPtr IndexOfMax<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumber<T>;
static member IndexOfMax : ReadOnlyTensorSpan -> nativeint (requires 'T :> System.Numerics.INumber<'T>)
Public Function IndexOfMax(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As IntPtr
Paramètres de type
- T
Paramètres
ReadOnlyTensorSpan<T>Entrée .
Retours
nativeint