Method set
static member set: Tensor<'T> -> int64 list -> 'T -> unit
Sets the value of a single element of the tensor.
Declaration
static member set: a:Tensor<'T> -> pos:int64 list -> value:'T -> unit
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to write to. |
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. |
'T | value | The new value of the element. |