Template Class StructuralMutateEngine#
Defined in File structural_mutate.h
Inheritance Relationships#
Base Type#
public Parent
Class Documentation#
-
template<typename Parent, typename ...Callbacks>
class StructuralMutateEngine : public Parent# Engine of the callback-dispatched tvm::ffi::StructuralMutate.
A matched callback owns mutation of its value, so the engine returns the callback result without descending into it. An unmatched value keeps the Parent’s default mutation.
Parent::MutatorObjTypepins the exact callback-facing mutator view across layer composition.- Template Parameters:
Parent – Mutator layer extended by the engine.
Callbacks – Callable types whose first parameter selects the value type.