Documentation ¶
Index ¶
- type DatasetRequestDataset
- type DlframeworkAgent
- type DlframeworkAgents
- type DlframeworkContainerHardware
- type DlframeworkDatasetRequest
- type DlframeworkFeature
- type DlframeworkFeatureResponse
- type DlframeworkFeaturesResponse
- type DlframeworkFrameworkManifest
- type DlframeworkFrameworkManifestsResponse
- type DlframeworkImagesRequest
- type DlframeworkModelManifest
- type DlframeworkModelManifestType
- type DlframeworkModelManifestsResponse
- type DlframeworkPredictionOptions
- type DlframeworkPredictor
- type DlframeworkPredictorCloseResponse
- type DlframeworkPredictorOpenRequest
- type DlframeworkResetRequest
- type DlframeworkResetResponse
- type DlframeworkUrlsRequest
- type ImagesRequestImage
- type ModelManifestModel
- type TypeParameter
- type UrlsRequestURL
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files ¶
- dataset_request_dataset.go
- dlframework_agent.go
- dlframework_agents.go
- dlframework_container_hardware.go
- dlframework_dataset_request.go
- dlframework_feature.go
- dlframework_feature_response.go
- dlframework_features_response.go
- dlframework_framework_manifest.go
- dlframework_framework_manifests_response.go
- dlframework_images_request.go
- dlframework_model_manifest.go
- dlframework_model_manifest_type.go
- dlframework_model_manifests_response.go
- dlframework_prediction_options.go
- dlframework_predictor.go
- dlframework_predictor_close_response.go
- dlframework_predictor_open_request.go
- dlframework_reset_request.go
- dlframework_reset_response.go
- dlframework_urls_request.go
- images_request_image.go
- model_manifest_model.go
- type_parameter.go
- urls_request_url.go