Method minAxis
static member minAxis: int -> Tensor<'T> -> Tensor<'T>
Calculates the minimum value of the elements along the specified axis.
Declaration
static member minAxis: ax:int -> src:Tensor<'T> -> Tensor<'T>Parameters
| Type | Name | Description | 
|---|---|---|
| int | ax | The axis to calculate the minimum along. | 
| Tensor<'T> | src | The tensor containing the source values. | 
Returns
| Type | Description | 
|---|---|
| Tensor<'T> | A new tensor containing the result of this operation. | 
Remarks
The minimum is calculated along the specified axis. An empty minimum gives the largest possible value of the used data type.
Examples
 let a = HostTensor.ofList2D [[1.0; 2.0; 3.0; 4.0]
                              [5.0; 6.0; 7.0; 8.0]]
 let b = Tensor.minAxis 1 a // b = [1.0; 5.0]