MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
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.

Member Function Documentation

◆ operator()()

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

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 mlir::sparse_tensor::ElementLT< V >::operator()().


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