Enum InplaceMode#
Defined in File structural_mutate.h
Enum Documentation#
-
enum class tvm::ffi::InplaceMode : int32_t#
Permission to mutate a value in place along its ownership path.
Note
The numeric values 0 and 1 are part of the Python integer binding contract, matching
InplaceMode.DISALLOWandInplaceMode.ALLOWrespectively.Values:
-
enumerator kDisallow#
Preserve the source through copy-on-write mutation.
-
enumerator kAllow#
Permit in-place mutation when the current value is uniquely owned.
-
enumerator kDisallow#