TVM  0.9.4
tvm::scheme::internal::SourceBase< MatrixType, F > Class Template Reference

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

Public Types

using SourceType = typename std::conditional< F==CONSTANT, double, Eigen::Ref< const MatrixType > >::type
 

Public Member Functions

 SourceBase (const SourceType &from)
 
const SourceTypefrom () const
 
void from (const SourceType &from)
 

Detailed Description

template<typename MatrixType, Source F>
class tvm::scheme::internal::SourceBase< MatrixType, F >

Base class for managing the source

Member Typedef Documentation

◆ SourceType

template<typename MatrixType , Source F>
using tvm::scheme::internal::SourceBase< MatrixType, F >::SourceType = typename std::conditional<F == CONSTANT, double, Eigen::Ref<const MatrixType> >::type

Constructor & Destructor Documentation

◆ SourceBase()

template<typename MatrixType , Source F>
tvm::scheme::internal::SourceBase< MatrixType, F >::SourceBase ( const SourceType from)
inline

Member Function Documentation

◆ from() [1/2]

template<typename MatrixType , Source F>
const SourceType& tvm::scheme::internal::SourceBase< MatrixType, F >::from ( ) const
inline

◆ from() [2/2]

template<typename MatrixType , Source F>
void tvm::scheme::internal::SourceBase< MatrixType, F >::from ( const SourceType from)
inline

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