tvm
Variables
tvm::relay::attr Namespace Reference

namespace of the attributes that can be attached to a relay::Function. More...

Variables

constexpr const char * kPrimitive = "Primitive"
 Mark the function as a primitive function. More...
 
constexpr const char * kCompiler = "Compiler"
 Indicate the compiler that should be used for building this function. When this is unset or set to "default", the default compilation pipeline will be used. More...
 
constexpr const char * kClosure = "Closure"
 Indicate if the function is a closure. More...
 
constexpr const char * kParams = "__params__"
 Store a Var to parameter/Constant mapping on a Function. More...
 
constexpr const char * kExternalSymbol = "ExternalSymbol"
 Store the unique external symbol for external compilers. More...
 
constexpr const char * kSkipOptimization = "SkipOptimization"
 Mark if the function should be avoided being optimized. More...
 
constexpr const char * kComposite = "Composite"
 Treat the function as a composite operator. More...
 
constexpr const char * kInline = "Inline"
 Mark the function to be inlined. More...
 
constexpr const char * kPartitionedFromPattern = "PartitionedFromPattern"
 Indicate the function was created by the Pattern Partitioning Pass. More...
 
constexpr const char * kReshapeOnly = "relay.reshape_only"
 Mark the function as only composed of reshape operations. More...
 

Detailed Description

namespace of the attributes that can be attached to a relay::Function.

Variable Documentation

◆ kClosure

constexpr const char* tvm::relay::attr::kClosure = "Closure"

Indicate if the function is a closure.

◆ kCompiler

constexpr const char* tvm::relay::attr::kCompiler = "Compiler"

Indicate the compiler that should be used for building this function. When this is unset or set to "default", the default compilation pipeline will be used.

◆ kComposite

constexpr const char* tvm::relay::attr::kComposite = "Composite"

Treat the function as a composite operator.

◆ kExternalSymbol

constexpr const char* tvm::relay::attr::kExternalSymbol = "ExternalSymbol"

Store the unique external symbol for external compilers.

◆ kInline

constexpr const char* tvm::relay::attr::kInline = "Inline"

Mark the function to be inlined.

◆ kParams

constexpr const char* tvm::relay::attr::kParams = "__params__"

Store a Var to parameter/Constant mapping on a Function.

◆ kPartitionedFromPattern

constexpr const char* tvm::relay::attr::kPartitionedFromPattern = "PartitionedFromPattern"

Indicate the function was created by the Pattern Partitioning Pass.

◆ kPrimitive

constexpr const char* tvm::relay::attr::kPrimitive = "Primitive"

Mark the function as a primitive function.

◆ kReshapeOnly

constexpr const char* tvm::relay::attr::kReshapeOnly = "relay.reshape_only"

Mark the function as only composed of reshape operations.

◆ kSkipOptimization

constexpr const char* tvm::relay::attr::kSkipOptimization = "SkipOptimization"

Mark if the function should be avoided being optimized.