tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::tirx::BijectiveLayoutNode Class Reference

#include <data_layout.h>

Inheritance diagram for tvm::tirx::BijectiveLayoutNode:
Collaboration diagram for tvm::tirx::BijectiveLayoutNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("s_tir.BijectiveLayout", BijectiveLayoutNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::Array< PrimExprindex_forward_rule
 Describes how source axes can be mapped to the destination axes, e.g., [i0 / 16, i1, i0 % 16] can describe NC -> NC16n. More...
 
ffi::Array< PrimExprindex_backward_rule
 Describes how destination axes can be mapped to the source axes. More...
 
ffi::Array< PrimExprshape_forward_rule
 Describes how source shapes can be mapped to the destination shapes. More...
 
ffi::Array< PrimExprshape_backward_rule
 Describes how destination shapes can be mapped to the source shapes. More...
 
Layout src_layout
 The source layout. More...
 
Layout dst_layout
 The destination layout. More...
 

Member Function Documentation

◆ RegisterReflection()

static void tvm::tirx::BijectiveLayoutNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tirx::BijectiveLayoutNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "s_tir.BijectiveLayout"  ,
BijectiveLayoutNode  ,
Object   
)

Member Data Documentation

◆ dst_layout

Layout tvm::tirx::BijectiveLayoutNode::dst_layout

The destination layout.

◆ index_backward_rule

ffi::Array<PrimExpr> tvm::tirx::BijectiveLayoutNode::index_backward_rule

Describes how destination axes can be mapped to the source axes.

◆ index_forward_rule

ffi::Array<PrimExpr> tvm::tirx::BijectiveLayoutNode::index_forward_rule

Describes how source axes can be mapped to the destination axes, e.g., [i0 / 16, i1, i0 % 16] can describe NC -> NC16n.

◆ shape_backward_rule

ffi::Array<PrimExpr> tvm::tirx::BijectiveLayoutNode::shape_backward_rule

Describes how destination shapes can be mapped to the source shapes.

◆ shape_forward_rule

ffi::Array<PrimExpr> tvm::tirx::BijectiveLayoutNode::shape_forward_rule

Describes how source shapes can be mapped to the destination shapes.

◆ src_layout

Layout tvm::tirx::BijectiveLayoutNode::src_layout

The source layout.


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