Method get
static member get: Tensor<'T> -> int64 list -> 'T
Gets the value of a single element of the tensor.
Declaration
static member get: a:Tensor<'T> -> pos:int64 list -> 'T
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor<'T> | a | The tensor to read from. |
| int64 list | pos | A list consisting of the indicies of the element to access. The list must have one entry per dimension of this tensor. |
Returns
| Type | Description |
|---|---|
| 'T | The value of the selected element. |