Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v0.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2017 License: NCSA Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DlframeworkAgent

type DlframeworkAgent struct {

	// host
	Host string `json:"host,omitempty"`

	// port
	Port string `json:"port,omitempty"`
}

DlframeworkAgent dlframework agent swagger:model dlframeworkAgent

func (*DlframeworkAgent) MarshalBinary

func (m *DlframeworkAgent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkAgent) UnmarshalBinary

func (m *DlframeworkAgent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkAgent) Validate

func (m *DlframeworkAgent) Validate(formats strfmt.Registry) error

Validate validates this dlframework agent

type DlframeworkAgents

type DlframeworkAgents struct {

	// agents
	Agents []*DlframeworkAgent `json:"agents"`
}

DlframeworkAgents dlframework agents swagger:model dlframeworkAgents

func (*DlframeworkAgents) MarshalBinary

func (m *DlframeworkAgents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkAgents) UnmarshalBinary

func (m *DlframeworkAgents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkAgents) Validate

func (m *DlframeworkAgents) Validate(formats strfmt.Registry) error

Validate validates this dlframework agents

type DlframeworkContainerHardware

type DlframeworkContainerHardware struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// gpu
	Gpu string `json:"gpu,omitempty"`
}

DlframeworkContainerHardware dlframework container hardware swagger:model dlframeworkContainerHardware

func (*DlframeworkContainerHardware) MarshalBinary

func (m *DlframeworkContainerHardware) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkContainerHardware) UnmarshalBinary

func (m *DlframeworkContainerHardware) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkContainerHardware) Validate

func (m *DlframeworkContainerHardware) Validate(formats strfmt.Registry) error

Validate validates this dlframework container hardware

type DlframeworkErrorStatus

type DlframeworkErrorStatus struct {

	// message
	Message string `json:"message,omitempty"`

	// ok
	Ok bool `json:"ok,omitempty"`
}

DlframeworkErrorStatus dlframework error status swagger:model dlframeworkErrorStatus

func (*DlframeworkErrorStatus) MarshalBinary

func (m *DlframeworkErrorStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkErrorStatus) UnmarshalBinary

func (m *DlframeworkErrorStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkErrorStatus) Validate

func (m *DlframeworkErrorStatus) Validate(formats strfmt.Registry) error

Validate validates this dlframework error status

type DlframeworkFrameworkManifest

type DlframeworkFrameworkManifest struct {

	// container
	Container map[string]DlframeworkContainerHardware `json:"container,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

DlframeworkFrameworkManifest dlframework framework manifest swagger:model dlframeworkFrameworkManifest

func (*DlframeworkFrameworkManifest) MarshalBinary

func (m *DlframeworkFrameworkManifest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkFrameworkManifest) UnmarshalBinary

func (m *DlframeworkFrameworkManifest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkFrameworkManifest) Validate

func (m *DlframeworkFrameworkManifest) Validate(formats strfmt.Registry) error

Validate validates this dlframework framework manifest

type DlframeworkFrameworkManifestsResponse

type DlframeworkFrameworkManifestsResponse struct {

	// manifests
	Manifests []*DlframeworkFrameworkManifest `json:"manifests"`
}

DlframeworkFrameworkManifestsResponse dlframework framework manifests response swagger:model dlframeworkFrameworkManifestsResponse

func (*DlframeworkFrameworkManifestsResponse) MarshalBinary

func (m *DlframeworkFrameworkManifestsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkFrameworkManifestsResponse) UnmarshalBinary

func (m *DlframeworkFrameworkManifestsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkFrameworkManifestsResponse) Validate

Validate validates this dlframework framework manifests response

type DlframeworkFrameworkRequest

type DlframeworkFrameworkRequest struct {

	// framework name
	FrameworkName string `json:"framework_name,omitempty"`

	// framework version
	FrameworkVersion string `json:"framework_version,omitempty"`
}

DlframeworkFrameworkRequest dlframework framework request swagger:model dlframeworkFrameworkRequest

func (*DlframeworkFrameworkRequest) MarshalBinary

func (m *DlframeworkFrameworkRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkFrameworkRequest) UnmarshalBinary

func (m *DlframeworkFrameworkRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkFrameworkRequest) Validate

func (m *DlframeworkFrameworkRequest) Validate(formats strfmt.Registry) error

Validate validates this dlframework framework request

type DlframeworkModelManifest

type DlframeworkModelManifest struct {

	// after postprocess
	AfterPostprocess string `json:"after_postprocess,omitempty"`

	// after preprocess
	AfterPreprocess string `json:"after_preprocess,omitempty"`

	// attributes
	Attributes map[string]string `json:"attributes,omitempty"`

	// before postprocess
	BeforePostprocess string `json:"before_postprocess,omitempty"`

	// before preprocess
	BeforePreprocess string `json:"before_preprocess,omitempty"`

	// container
	Container map[string]DlframeworkContainerHardware `json:"container,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// framework
	Framework *DlframeworkFrameworkManifest `json:"framework,omitempty"`

	// hidden
	Hidden bool `json:"hidden,omitempty"`

	// inputs
	Inputs []*DlframeworkModelManifestType `json:"inputs"`

	// license
	License string `json:"license,omitempty"`

	// model
	Model *ModelManifestModel `json:"model,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// output
	Output *DlframeworkModelManifestType `json:"output,omitempty"`

	// postprocess
	Postprocess string `json:"postprocess,omitempty"`

	// preprocess
	Preprocess string `json:"preprocess,omitempty"`

	// reference
	Reference []string `json:"reference"`

	// version
	Version string `json:"version,omitempty"`
}

DlframeworkModelManifest dlframework model manifest swagger:model dlframeworkModelManifest

func (*DlframeworkModelManifest) MarshalBinary

func (m *DlframeworkModelManifest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkModelManifest) UnmarshalBinary

func (m *DlframeworkModelManifest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkModelManifest) Validate

func (m *DlframeworkModelManifest) Validate(formats strfmt.Registry) error

Validate validates this dlframework model manifest

type DlframeworkModelManifestType

type DlframeworkModelManifestType struct {

	// description
	Description string `json:"description,omitempty"`

	// parameters
	Parameters map[string]TypeParameter `json:"parameters,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

DlframeworkModelManifestType dlframework model manifest type swagger:model dlframeworkModelManifestType

func (*DlframeworkModelManifestType) MarshalBinary

func (m *DlframeworkModelManifestType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkModelManifestType) UnmarshalBinary

func (m *DlframeworkModelManifestType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkModelManifestType) Validate

func (m *DlframeworkModelManifestType) Validate(formats strfmt.Registry) error

Validate validates this dlframework model manifest type

type DlframeworkModelManifestsResponse

type DlframeworkModelManifestsResponse struct {

	// manifests
	Manifests []*DlframeworkModelManifest `json:"manifests"`
}

DlframeworkModelManifestsResponse dlframework model manifests response swagger:model dlframeworkModelManifestsResponse

func (*DlframeworkModelManifestsResponse) MarshalBinary

func (m *DlframeworkModelManifestsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkModelManifestsResponse) UnmarshalBinary

func (m *DlframeworkModelManifestsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkModelManifestsResponse) Validate

Validate validates this dlframework model manifests response

type DlframeworkModelRequest

type DlframeworkModelRequest struct {

	// framework name
	FrameworkName string `json:"framework_name,omitempty"`

	// framework version
	FrameworkVersion string `json:"framework_version,omitempty"`

	// model name
	ModelName string `json:"model_name,omitempty"`

	// model version
	ModelVersion string `json:"model_version,omitempty"`
}

DlframeworkModelRequest dlframework model request swagger:model dlframeworkModelRequest

func (*DlframeworkModelRequest) MarshalBinary

func (m *DlframeworkModelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkModelRequest) UnmarshalBinary

func (m *DlframeworkModelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkModelRequest) Validate

func (m *DlframeworkModelRequest) Validate(formats strfmt.Registry) error

Validate validates this dlframework model request

type DlframeworkPredictRequest

type DlframeworkPredictRequest struct {

	// data
	Data strfmt.Base64 `json:"data,omitempty"`

	// framework name
	FrameworkName string `json:"framework_name,omitempty"`

	// framework version
	FrameworkVersion string `json:"framework_version,omitempty"`

	// limit
	Limit int32 `json:"limit,omitempty"`

	// model name
	ModelName string `json:"model_name,omitempty"`

	// model version
	ModelVersion string `json:"model_version,omitempty"`
}

DlframeworkPredictRequest dlframework predict request swagger:model dlframeworkPredictRequest

func (*DlframeworkPredictRequest) MarshalBinary

func (m *DlframeworkPredictRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkPredictRequest) UnmarshalBinary

func (m *DlframeworkPredictRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkPredictRequest) Validate

func (m *DlframeworkPredictRequest) Validate(formats strfmt.Registry) error

Validate validates this dlframework predict request

type DlframeworkPredictResponse

type DlframeworkPredictResponse struct {

	// error
	Error *DlframeworkErrorStatus `json:"error,omitempty"`

	// features
	Features []*DlframeworkPredictionFeature `json:"features"`

	// id
	ID string `json:"id,omitempty"`
}

DlframeworkPredictResponse dlframework predict response swagger:model dlframeworkPredictResponse

func (*DlframeworkPredictResponse) MarshalBinary

func (m *DlframeworkPredictResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkPredictResponse) UnmarshalBinary

func (m *DlframeworkPredictResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkPredictResponse) Validate

func (m *DlframeworkPredictResponse) Validate(formats strfmt.Registry) error

Validate validates this dlframework predict response

type DlframeworkPredictionFeature

type DlframeworkPredictionFeature struct {

	// index
	Index int64 `json:"index,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// probability
	Probability float32 `json:"probability,omitempty"`
}

DlframeworkPredictionFeature dlframework prediction feature swagger:model dlframeworkPredictionFeature

func (*DlframeworkPredictionFeature) MarshalBinary

func (m *DlframeworkPredictionFeature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DlframeworkPredictionFeature) UnmarshalBinary

func (m *DlframeworkPredictionFeature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DlframeworkPredictionFeature) Validate

func (m *DlframeworkPredictionFeature) Validate(formats strfmt.Registry) error

Validate validates this dlframework prediction feature

type ModelManifestModel

type ModelManifestModel struct {

	// base url
	BaseURL string `json:"base_url,omitempty"`

	// graph path
	GraphPath string `json:"graph_path,omitempty"`

	// is archive
	IsArchive bool `json:"is_archive,omitempty"`

	// weights path
	WeightsPath string `json:"weights_path,omitempty"`
}

ModelManifestModel model manifest model swagger:model ModelManifestModel

func (*ModelManifestModel) MarshalBinary

func (m *ModelManifestModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelManifestModel) UnmarshalBinary

func (m *ModelManifestModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelManifestModel) Validate

func (m *ModelManifestModel) Validate(formats strfmt.Registry) error

Validate validates this model manifest model

type TypeParameter

type TypeParameter struct {

	// value
	Value string `json:"value,omitempty"`
}

TypeParameter type parameter swagger:model TypeParameter

func (*TypeParameter) MarshalBinary

func (m *TypeParameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypeParameter) UnmarshalBinary

func (m *TypeParameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypeParameter) Validate

func (m *TypeParameter) Validate(formats strfmt.Registry) error

Validate validates this type parameter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL