Method value
static member value: Tensor<'T> -> 'T
Gets the value of a zero-dimensional (scalar) tensor.
Declaration
static member value: a:Tensor<'T> -> 'T
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The zero-dimensional tensor to read from. |
Returns
Type | Description |
---|---|
'T | The scalar value of the tensor. |