Versions in this module Expand all Collapse all v0 v0.5.1 Feb 1, 2018 Changes in this version + type Feature struct + Shape []int64 + Type string + type Framework interface + FrameworkTyp func() string + Load func(modelPath string, modelFile string, model *Model) (err error) + Run func(model *Model) (out map[string]interface{}, err error) + type Metadata struct + Inputs struct{ ... } + Method string + Name string + Outputs map[string]OperationParam + type Model struct + Inputs map[string]map[string]interface{} + Instance interface{} + Metadata *Metadata + func Load(modelArchive string, framework Framework) (*Model, error) + func (m *Model) AppendInput(inputName string, feature string, in interface{}) + func (m *Model) RemoveInput(featureName string) + func (m *Model) Run(framework Framework) (map[string]interface{}, error) + func (m *Model) SetInputs(in map[string]map[string]interface{}) + type OperationParam struct + Name string + Shape []int64 + Type string