Documentation
¶
Index ¶
- type DlframeworkAgent
- type DlframeworkAgents
- type DlframeworkContainerHardware
- type DlframeworkErrorStatus
- type DlframeworkFrameworkManifest
- type DlframeworkFrameworkManifestsResponse
- type DlframeworkFrameworkRequest
- type DlframeworkModelManifest
- type DlframeworkModelManifestType
- type DlframeworkModelManifestsResponse
- type DlframeworkModelRequest
- type DlframeworkPredictRequest
- type DlframeworkPredictResponse
- type DlframeworkPredictionFeature
- type ModelManifestModel
- type TypeParameter
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files
¶
- dlframework_agent.go
- dlframework_agents.go
- dlframework_container_hardware.go
- dlframework_error_status.go
- dlframework_framework_manifest.go
- dlframework_framework_manifests_response.go
- dlframework_framework_request.go
- dlframework_model_manifest.go
- dlframework_model_manifest_type.go
- dlframework_model_manifests_response.go
- dlframework_model_request.go
- dlframework_predict_request.go
- dlframework_predict_response.go
- dlframework_prediction_feature.go
- model_manifest_model.go
- type_parameter.go