TVM  0.9.4
tvm::hint::internal::AutoCalculator Class Reference

#include <tvm/hint/internal/AutoCalculator.h>

Inheritance diagram for tvm::hint::internal::AutoCalculator:
Collaboration diagram for tvm::hint::internal::AutoCalculator:

Protected Member Functions

std::unique_ptr< abstract::SubstitutionCalculatorImplimpl_ (const std::vector< LinearConstraintPtr > &cstr, const std::vector< VariablePtr > &x, int rank) const override
 

Additional Inherited Members

- Public Member Functions inherited from tvm::hint::abstract::SubstitutionCalculator
virtual ~SubstitutionCalculator ()=default
 
std::unique_ptr< SubstitutionCalculatorImplimpl (const std::vector< LinearConstraintPtr > &cstr, const std::vector< VariablePtr > &x, int rank) const
 

Detailed Description

Automatically generates the most appropriate calculator for the given constraints and variables.

Current rules:

Note
You need to ensure that the matrix properties used when applying the rules have been correctly set. If this is not the case, this should be corrected at the function level. In particular it is improper to rely on a run of the update pipeline to have all the properties correctly set.

Member Function Documentation

◆ impl_()

std::unique_ptr<abstract::SubstitutionCalculatorImpl> tvm::hint::internal::AutoCalculator::impl_ ( const std::vector< LinearConstraintPtr > &  cstr,
const std::vector< VariablePtr > &  x,
int  rank 
) const
overrideprotectedvirtual

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