Creates a tensor from a given mir.ndslice.Slice
import mir.ndslice : iota, universal; const slice = iota(2, 3); auto tensor = slice.makeTF_Tensor; scope (exit) TF_DeleteTensor(tensor);
See Implementation
Creates a tensor from a given mir.ndslice.Slice