Nir.GentensorSourcetype t = | Float of (float, Bigarray.float64_elt) Tensor.t| Int64 of (int64, Bigarray.int64_elt) Tensor.tof_float_array a shape returns a Tensor with data contained in l and shape shape. If no shape is given, the resulting tensor shape is 1-dimensional, equals to the length of l.
of_int64_array a shape returns a Tensor with data contained in l and shape shape. If no shape is given, the resulting tensor shape is 1-dimensional, equals to the length of l.