TVM  0.9.4
tvm::scheme::internal::CachedResult< MatrixType, Cache > Class Template Reference

#include <tvm/scheme/internal/CompiledAssignment.h>

Public Member Functions

 CachedResult (const Eigen::Ref< MatrixType > &)
 
template<typename T >
const T & cache (const T &M)
 

Detailed Description

template<typename MatrixType, bool Cache>
class tvm::scheme::internal::CachedResult< MatrixType, Cache >

A cache for holding temporary value in the evaluation of an assignment. By default, it does not do anything but forward an expression.

Constructor & Destructor Documentation

◆ CachedResult()

template<typename MatrixType , bool Cache>
tvm::scheme::internal::CachedResult< MatrixType, Cache >::CachedResult ( const Eigen::Ref< MatrixType > &  )
inline

Member Function Documentation

◆ cache()

template<typename MatrixType , bool Cache>
template<typename T >
const T& tvm::scheme::internal::CachedResult< MatrixType, Cache >::cache ( const T &  M)
inline

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