Tensor.SoftMax Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| SoftMax<T>(ReadOnlyTensorSpan<T>) |
Berekent de softmax-functie voor de opgegeven niet-lege tensor getallen. |
| SoftMax<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Berekent de softmax-functie voor de opgegeven niet-lege tensor getallen. |
SoftMax<T>(ReadOnlyTensorSpan<T>)
- Bron:
- Tensor.cs
- Bron:
- TensorExtensions.cs
- Bron:
- Tensor.cs
Berekent de softmax-functie voor de opgegeven niet-lege tensor getallen.
public:
generic <typename T>
where T : System::Numerics::IExponentialFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ SoftMax(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static System.Numerics.Tensors.Tensor<T> SoftMax<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.IExponentialFunctions<T>;
static member SoftMax : ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IExponentialFunctions<'T>)> (requires 'T :> System.Numerics.IExponentialFunctions<'T>)
Public Function SoftMax(Of T As IExponentialFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)
Type parameters
- T
Parameters
De ReadOnlyTensorSpan<T> om de zonde van te nemen.
Retouren
Van toepassing op
SoftMax<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Bron:
- Tensor.cs
- Bron:
- TensorExtensions.cs
- Bron:
- Tensor.cs
Berekent de softmax-functie voor de opgegeven niet-lege tensor getallen.
public:
generic <typename T>
where T : System::Numerics::IExponentialFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ SoftMax(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> SoftMax<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IExponentialFunctions<T>;
static member SoftMax : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IExponentialFunctions<'T>)
Public Function SoftMax(Of T As IExponentialFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type parameters
- T
Parameters
De ReadOnlyTensorSpan<T> om de zonde van te nemen.
- destination
- TensorSpan<T>