Class Hardmax
Represents a Hardmax activation layer along an axis: f(x, axis) = 1 if x is the first maximum value along the specified axis, otherwise f(x) = 0.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Hardmax : ActivationConstructors
| Name | Description | 
|---|---|
| Hardmax(string, string, int) | Initializes and returns an instance of  | 
Fields
| Name | Description | 
|---|---|
| axis | The axis along which to apply the  | 
Methods
| Name | Description | 
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the  If the layer has more than one output, output tensors are saved to variables. | 
| ToString() | Returns a string that represents the  |