MLIR 22.0.0git
mlir::sparse_tensor::ElementLT< V > Struct Template Referencefinal

Closure object for operator< on Element with a given rank. More...

#include "mlir/ExecutionEngine/SparseTensor/COO.h"

Public Member Functions

 ElementLT (uint64_t rank)
bool operator() (const Element< V > &e1, const Element< V > &e2) const

Public Attributes

const uint64_t rank

Detailed Description

template<typename V>
struct mlir::sparse_tensor::ElementLT< V >

Closure object for operator< on Element with a given rank.

Definition at line 48 of file COO.h.

Constructor & Destructor Documentation

◆ ElementLT()

template<typename V>
mlir::sparse_tensor::ElementLT< V >::ElementLT ( uint64_t rank)
inline

Definition at line 49 of file COO.h.

References rank.

Member Function Documentation

◆ operator()()

template<typename V>
bool mlir::sparse_tensor::ElementLT< V >::operator() ( const Element< V > & e1,
const Element< V > & e2 ) const
inline

Definition at line 50 of file COO.h.

References mlir::sparse_tensor::Element< V >::coords, and rank.

Member Data Documentation

◆ rank

template<typename V>
const uint64_t mlir::sparse_tensor::ElementLT< V >::rank

Definition at line 58 of file COO.h.

Referenced by ElementLT(), and operator()().


The documentation for this struct was generated from the following file: