Tensor.SoftMax Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SoftMax<T>(Tensor<T>) | |
SoftMax<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
SoftMax<T>(Tensor<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IExponentialFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ SoftMax(System::Numerics::Tensors::Tensor<T> ^ input);
public static System.Numerics.Tensors.Tensor<T> SoftMax<T> (System.Numerics.Tensors.Tensor<T> input) where T : System.Numerics.IExponentialFunctions<T>;
static member SoftMax : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IExponentialFunctions<'T>)> -> 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)) (input As Tensor(Of T)) As Tensor(Of T)
Type Parameters
- T
Parameters
- input
- Tensor<T>
Returns
Applies to
SoftMax<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IExponentialFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ SoftMax(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> SoftMax<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, 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 input As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
- input
- ReadOnlyTensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ