Method trues
val trues: int64 list -> Tensor<bool>
Creates a new boolean tensor filled with trues.
Declaration
val trues: shape:int64 list -> Tensor<bool>
Parameters
Type | Name | Description |
---|---|---|
int64 list | shape | The shape of the new tensor. |
Returns
Type | Description |
---|---|
Tensor<bool> | The new tensor. |