Managed reference to ConstraintContextObj. Copies share the same context.
More...
#include <constraint.h>
Managed reference to ConstraintContextObj. Copies share the same context.
◆ ConstraintContext() [1/3]
| tvm::sym::ConstraintContext::ConstraintContext |
( |
| ) |
|
|
inline |
◆ ConstraintContext() [2/3]
| tvm::sym::ConstraintContext::ConstraintContext |
( |
ConstraintContext |
parent, |
|
|
int64_t |
parent_prefix_size |
|
) |
| |
|
inline |
Construct a child capturing [0, parent_prefix_size) of its parent's local entries. Later parent appends do not enter this child's effective constraints.
- Parameters
-
| parent | Context supplying inherited constraints. |
| parent_prefix_size | Number of parent-local entries to capture, between zero and parent->LocalSize(), inclusive. |
- Exceptions
-
| ffi::Error | If the prefix is outside that range. |
◆ ConstraintContext() [3/3]
Adopt a reference to a non-null context object.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: