tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
op.h File Reference

Canonical primitive operators and their registration. More...

#include <tvm/ffi/container/list.h>
#include <tvm/ffi/expected.h>
#include <tvm/ffi/optional.h>
#include <tvm/ffi/reflection/native_function.h>
#include <tvm/ffi/reflection/registry.h>
#include <tvm/ir/attrs.h>
#include <tvm/ir/env_func.h>
#include <tvm/ir/expr.h>
#include <tvm/ir/type.h>
#include <string>
#include <type_traits>
#include <utility>
Include dependency graph for op.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::ArgumentInfoObj
 An operator argument's name and documentation. More...
 
class  tvm::ArgumentInfo
 Managed reference to an argument descriptor. More...
 
class  tvm::OpNode
 Metadata for a canonical primitive operator invoked through Call. More...
 
class  tvm::Op
 Reference-counted handle to a canonical named operator. More...
 
class  tvm::OpDef
 Noncopyable temporary builder for a canonical Op; see Op for the example. More...
 
class  tvm::OpAttrMap< ValueType >
 Typed live view of an Op attribute column. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::sig
 
namespace  tvm::sig::details
 
namespace  tvm::op_attr
 

Typedefs

using tvm::TFixedReturnType = Type
 An operator's result type independent of operands, attributes, and type arguments. When present, this concrete type takes precedence over FInferType.
 
using tvm::FInferType = ffi::reflection::NativeFunctionView< Type(const CallNode *call)>
 Infer a Call's result type from its explicit inputs without builder state.
 

Functions

template<typename T >
bool tvm::sig::details::ReportTypeMismatch (ffi::Expected< void > *out, const ValidateState *state, bool type_arg, size_t index, ffi::AnyView actual)
 

Detailed Description

Canonical primitive operators and their registration.