models

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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 DatasetRequestDataset added in v0.2.16

type DatasetRequestDataset struct {

	// category
	Category string `json:"category,omitempty"`

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

func (*DatasetRequestDataset) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DatasetRequestDataset) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DatasetRequestDataset) Validate added in v0.2.16

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

Validate validates this dataset request dataset

type DlframeworkAgent

type DlframeworkAgent struct {

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

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

	// specification
	Specification string `json:"specification,omitempty"`
}

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"`
}

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"`
}

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 DlframeworkDatasetRequest added in v0.2.16

type DlframeworkDatasetRequest struct {

	// dataset
	Dataset *DatasetRequestDataset `json:"dataset,omitempty"`

	// options
	Options *DlframeworkPredictionOptions `json:"options,omitempty"`

	// predictor
	Predictor *DlframeworkPredictor `json:"predictor,omitempty"`
}

func (*DlframeworkDatasetRequest) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkDatasetRequest) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkDatasetRequest) Validate added in v0.2.16

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

Validate validates this dlframework dataset request

type DlframeworkFeature added in v0.2.16

type DlframeworkFeature struct {

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

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

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

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

func (*DlframeworkFeature) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkFeature) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkFeature) Validate added in v0.2.16

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

Validate validates this dlframework feature

type DlframeworkFeatureResponse added in v0.2.16

type DlframeworkFeatureResponse struct {

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

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

	// input id
	InputID string `json:"input_id,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// request id
	RequestID string `json:"request_id,omitempty"`
}

func (*DlframeworkFeatureResponse) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkFeatureResponse) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkFeatureResponse) Validate added in v0.2.16

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

Validate validates this dlframework feature response

type DlframeworkFeaturesResponse added in v0.2.16

type DlframeworkFeaturesResponse struct {

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

	// responses
	Responses []*DlframeworkFeatureResponse `json:"responses"`
}

func (*DlframeworkFeaturesResponse) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkFeaturesResponse) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkFeaturesResponse) Validate added in v0.2.16

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

Validate validates this dlframework features response

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"`
}

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"`
}

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 DlframeworkImagesRequest added in v0.2.16

type DlframeworkImagesRequest struct {

	// A list of Base64 encoded images
	Images []*ImagesRequestImage `json:"images"`

	// options
	Options *DlframeworkPredictionOptions `json:"options,omitempty"`

	// predictor
	Predictor *DlframeworkPredictor `json:"predictor,omitempty"`
}

func (*DlframeworkImagesRequest) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkImagesRequest) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkImagesRequest) Validate added in v0.2.16

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

Validate validates this dlframework images 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"`
}

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"`
}

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"`
}

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 DlframeworkPredictionOptions added in v0.2.16

type DlframeworkPredictionOptions struct {

	// feature limit
	FeatureLimit int32 `json:"feature_limit,omitempty"`

	// request id
	RequestID string `json:"request_id,omitempty"`
}

func (*DlframeworkPredictionOptions) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkPredictionOptions) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkPredictionOptions) Validate added in v0.2.16

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

Validate validates this dlframework prediction options

type DlframeworkPredictor added in v0.2.16

type DlframeworkPredictor struct {

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

func (*DlframeworkPredictor) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkPredictor) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkPredictor) Validate added in v0.2.16

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

Validate validates this dlframework predictor

type DlframeworkPredictorCloseResponse added in v0.2.16

type DlframeworkPredictorCloseResponse interface{}

type DlframeworkPredictorOpenRequest added in v0.2.16

type DlframeworkPredictorOpenRequest 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"`
}

func (*DlframeworkPredictorOpenRequest) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkPredictorOpenRequest) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkPredictorOpenRequest) Validate added in v0.2.16

Validate validates this dlframework predictor open request

type DlframeworkResetRequest added in v0.2.16

type DlframeworkResetRequest struct {

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

	// predictor
	Predictor *DlframeworkPredictor `json:"predictor,omitempty"`
}

func (*DlframeworkResetRequest) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkResetRequest) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkResetRequest) Validate added in v0.2.16

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

Validate validates this dlframework reset request

type DlframeworkResetResponse added in v0.2.16

type DlframeworkResetResponse struct {

	// predictor
	Predictor *DlframeworkPredictor `json:"predictor,omitempty"`
}

func (*DlframeworkResetResponse) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkResetResponse) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkResetResponse) Validate added in v0.2.16

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

Validate validates this dlframework reset response

type DlframeworkUrlsRequest added in v0.2.16

type DlframeworkUrlsRequest struct {

	// options
	Options *DlframeworkPredictionOptions `json:"options,omitempty"`

	// predictor
	Predictor *DlframeworkPredictor `json:"predictor,omitempty"`

	// urls
	Urls []*UrlsRequestURL `json:"urls"`
}

func (*DlframeworkUrlsRequest) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*DlframeworkUrlsRequest) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*DlframeworkUrlsRequest) Validate added in v0.2.16

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

Validate validates this dlframework urls request

type ImagesRequestImage added in v0.2.16

type ImagesRequestImage struct {

	// The image is base64 encoded
	Data strfmt.Base64 `json:"data,omitempty"`

	// An id used to identify the output feature: maps to input_id for output
	ID string `json:"id,omitempty"`

	// Preprocessed is set to true to disable preprocessing.
	// If enabled then the image is assumed to be rescaled and
	// encoded as an array of float32 values
	Preprocessed bool `json:"preprocessed,omitempty"`
}

func (*ImagesRequestImage) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*ImagesRequestImage) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*ImagesRequestImage) Validate added in v0.2.16

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

Validate validates this images request image

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"`
}

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"`
}

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

type UrlsRequestURL added in v0.2.16

type UrlsRequestURL struct {

	// data
	Data string `json:"data,omitempty"`

	// An id used to identify the output feature: maps to input_id for output
	ID string `json:"id,omitempty"`
}

func (*UrlsRequestURL) MarshalBinary added in v0.2.16

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

MarshalBinary interface implementation

func (*UrlsRequestURL) UnmarshalBinary added in v0.2.16

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

UnmarshalBinary interface implementation

func (*UrlsRequestURL) Validate added in v0.2.16

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

Validate validates this urls request URL

Jump to

Keyboard shortcuts

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