Preparing search index...
The search index is not available
Chalkboard - v2.4.0
Chalkboard
Chalkboard
stat
toTensor
Function toTensor
Converts an array to a tensor.
toTensor
(
arr
:
number
[]
,
...
size
:
number
[]
)
:
ChalkboardTensor
Parameters
arr
:
number
[]
The array
...
size
:
number
[]
The size of the tensor
Returns
ChalkboardTensor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Source code
Examples
Chalkboard - v2.4.0
Loading...
Converts an array to a tensor.