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