to_tensor_2d
rlox_
candle
0.1.0
In rlox_
candle::
convert
rlox_candle
::
convert
Function
to_
tensor_
2d
Copy item path
Source
pub fn to_tensor_2d(data: &
TensorData
, device: &Device) -> Result<Tensor>