tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::script::ir_builder::tirx::ComposeOpFrameNode Class Reference

#include <frame.h>

Inheritance diagram for tvm::script::ir_builder::tirx::ComposeOpFrameNode:
Collaboration diagram for tvm::script::ir_builder::tirx::ComposeOpFrameNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.ir_builder.tirx.ComposeOpFrame", ComposeOpFrameNode, TIRFrameNode)
 
void ExitWithScope () final
 The method called when exiting RAII scope. More...
 
- Public Member Functions inherited from tvm::script::ir_builder::tirx::TIRFrameNode
 TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.tirx.TIRFrame", TIRFrameNode, IRBuilderFrameNode)
 
- Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
 TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.IRBuilderFrame", IRBuilderFrameNode, ffi::Object)
 
virtual ~IRBuilderFrameNode ()=default
 Default destructor. More...
 
virtual void EnterWithScope ()
 The method called when entering RAII scope. More...
 
void AddCallback (ffi::TypedFunction< void()> callback)
 Add a callback method invoked when exiting the RAII scope. More...
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::ir_builder::tirx::TIRFrameNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
static void RegisterReflection ()
 

Public Attributes

ffi::Map< ffi::String, tvm::tirx::Bufferworkspace
 The workspace of the compose op. More...
 
ffi::Map< ffi::String, ffi::Any > config
 The config of the compose op. More...
 
ffi::Optional< ffi::String > dispatch {std::nullopt}
 The optional dispatch variant name of the compose op. More...
 
- Public Attributes inherited from tvm::script::ir_builder::tirx::TIRFrameNode
ffi::Array< tvm::tirx::Stmtstmts
 The Stmt within in this frame. More...
 
- Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
std::vector< ffi::TypedFunction< void()> > callbacks
 A list of callbacks used when exiting the frame. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
static constexpr const bool _type_mutable = true
 

Member Function Documentation

◆ ExitWithScope()

void tvm::script::ir_builder::tirx::ComposeOpFrameNode::ExitWithScope ( )
finalvirtual

The method called when exiting RAII scope.

See also
tvm::support::With

Reimplemented from tvm::script::ir_builder::IRBuilderFrameNode.

◆ RegisterReflection()

static void tvm::script::ir_builder::tirx::ComposeOpFrameNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::script::ir_builder::tirx::ComposeOpFrameNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "script.ir_builder.tirx.ComposeOpFrame"  ,
ComposeOpFrameNode  ,
TIRFrameNode   
)

Member Data Documentation

◆ config

ffi::Map<ffi::String, ffi::Any> tvm::script::ir_builder::tirx::ComposeOpFrameNode::config

The config of the compose op.

◆ dispatch

ffi::Optional<ffi::String> tvm::script::ir_builder::tirx::ComposeOpFrameNode::dispatch {std::nullopt}

The optional dispatch variant name of the compose op.

◆ workspace

ffi::Map<ffi::String, tvm::tirx::Buffer> tvm::script::ir_builder::tirx::ComposeOpFrameNode::workspace

The workspace of the compose op.


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