NEML2 2.1.0
Loading...
Searching...
No Matches
SparseTensorList Struct Reference

Alias for a list of Tensors. More...

Detailed Description

Alias for a list of Tensors.

Undefined entries represent zeros in a sparse representation

#include <SparseTensorList.h>

Inheritance diagram for SparseTensorList:

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.

Constructor & Destructor Documentation

◆ SparseTensorList()

SparseTensorList ( const std::vector< Tensor > & )
explicit

Construct from a vector of Tensors.

Member Function Documentation

◆ data()

SparseTensorList data ( ) const

Start a SparseTensorList with fresh function graph.

◆ options()

TensorOptions options ( ) const

Tensor options.