Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DictionaryMeta ¶ added in v0.2.0
DictionaryMeta is used to confirm proper reloading of model components
type Model ¶
type Model struct { ID string Debug bool Location string `json:",omitempty" yaml:",omitempty"` Dir string URL string Tags []string // IO and caching UseDict *bool `json:",omitempty" yaml:",omitempty"` DictURL string // Deprecated: we usually extract the dictionary/vocabulary from TF graph shared.MetaInput `json:",omitempty" yaml:",inline"` OutputType string `json:",omitempty" yaml:",omitempty"` // Deprecated: we can infer output types from TF graph Transformer string `json:",omitempty" yaml:",omitempty"` // caching DataStore string `json:",omitempty" yaml:",omitempty"` // logging Stream *config.Stream `json:",omitempty" yaml:",omitempty"` // for health and monitoring Modified *Modified `json:",omitempty" yaml:",omitempty"` DictMeta DictionaryMeta Test TestPayload `json:",omitempty" yaml:",omitempty"` }
Model represents model config
func (Model) UseDictionary ¶
UseDictionary returns true if dictionary can be used
Click to show internal directories.
Click to hide internal directories.