FreeTensor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
freetensor::LinearExpr< T > Struct Template Reference

#include <linear.h>

Collaboration diagram for freetensor::LinearExpr< T >:
Collaboration graph
[legend]

Public Member Functions

bool isConst () const
 
std::unordered_set< std::string > allNames () const
 

Public Attributes

std::vector< Scale< T > > coeff_
 
bias_ = 0
 

Detailed Description

template<class T>
struct freetensor::LinearExpr< T >

(sum_i k_i * a_i) + b

Member Function Documentation

◆ allNames()

template<class T >
std::unordered_set< std::string > freetensor::LinearExpr< T >::allNames ( ) const
inline

◆ isConst()

template<class T >
bool freetensor::LinearExpr< T >::isConst ( ) const
inline

Member Data Documentation

◆ bias_

template<class T >
T freetensor::LinearExpr< T >::bias_ = 0

◆ coeff_

template<class T >
std::vector<Scale<T> > freetensor::LinearExpr< T >::coeff_

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