Create a Tensor filled with a single value.
// 128x8 tensor of all 1s const t = sm.full([128, 8], 1)
A new Tensor of a single user specified value.
The shape of the output Tensor
The value used to fill the output
Generated using TypeDoc
Create a Tensor filled with a single value.
Example
Returns
A new Tensor of a single user specified value.