|
NEML2 2.1.0
|
Alias for a list of Tensors. More...
Alias for a list of Tensors.
Undefined entries represent zeros in a sparse representation
#include <SparseTensorList.h>

Public Member Functions | |
| SparseTensorList (const std::vector< Tensor > &) | |
| Construct from a vector of Tensors. | |
| TensorOptions | options () const |
| Tensor options. | |
| SparseTensorList | data () const |
| Start a SparseTensorList with fresh function graph. | |
|
explicit |
Construct from a vector of Tensors.
| SparseTensorList data | ( | ) | const |
Start a SparseTensorList with fresh function graph.
| TensorOptions options | ( | ) | const |
Tensor options.