|
tvm
|
Schema entry for one declared option. More...
#include <config_schema.h>
Public Attributes | |
| ffi::String | key |
| Option key. | |
| ffi::String | type_str |
| Type string for this option. | |
| ffi::TypedFunction< ffi::Any(ffi::Any)> | validator |
| Per-option validator/coercer (Any -> Any). | |
| bool | has_default = false |
| Whether this option has a default value or factory. | |
| bool | default_from_factory = false |
| Whether the default is produced by a factory function. | |
| ffi::Any | default_value |
| Default value, or factory function () -> Any when default_from_factory is true. | |
Schema entry for one declared option.
Whether the default is produced by a factory function.
| ffi::Any tvm::ir::ConfigSchema::OptionEntry::default_value |
Default value, or factory function () -> Any when default_from_factory is true.
Whether this option has a default value or factory.
| ffi::String tvm::ir::ConfigSchema::OptionEntry::key |
Option key.
| ffi::String tvm::ir::ConfigSchema::OptionEntry::type_str |
Type string for this option.
| ffi::TypedFunction<ffi::Any(ffi::Any)> tvm::ir::ConfigSchema::OptionEntry::validator |
Per-option validator/coercer (Any -> Any).