Class Axis#

Inheritance Relationships#

Base Type#

  • public ffi::Enum

Class Documentation#

class Axis : public ffi::Enum#

Public Types

using ContainerType = AxisObj#

Public Functions

inline const ffi::String &name() const#

Return the canonical axis name.

inline explicit Axis(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#

Public Static Functions

static Axis Get(const ffi::String &name)#

Get or create the axis with the given name.

Parameters:

name – Name of the axis to look up or register.

Returns:

The registered axis singleton.