pub fn empty(
shape: &[i64],
dtype: DLDataType,
device: DLDevice,
mem_scope: Option<&MemoryScope>,
) -> Result<Tensor>Expand description
An uninitialized tensor on device, in the memory scope mem_scope or the global one
(runtime.TensorAllocWithScope).