SoftmaxVector class
Applies the softmax function over a given input of type Tensor<Vector>.
Creates a probability distribution over all values summing up to 1.
The calculation is handled via the softmaxVector math operation.
Example:
Tensor<Vector> v = Tensor<Vector>([1.0, 2.0, 3.0]);
SoftmaxVector softmax = SoftmaxVector();
Tensor<Vector> out = softmax(v);
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Tensor< Vector> input) → Tensor<Vector> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited