ToTensorIterableExtension<T> extension

on

Methods

toTensor({List<int>? shape, List<int>? strides, DataType<T>? type}) Tensor<T>
Returns a Tensor from the given iterable.