Documentation
¶
Index ¶
- type DatasetRequestDataset
- type DlframeworkAgent
- type DlframeworkAgents
- type DlframeworkCPUOptions
- type DlframeworkContainerHardware
- type DlframeworkDatasetRequest
- type DlframeworkExecutionOptions
- type DlframeworkFeature
- type DlframeworkFeatureResponse
- type DlframeworkFeaturesResponse
- type DlframeworkFrameworkManifest
- type DlframeworkFrameworkManifestContainer
- type DlframeworkFrameworkManifestsResponse
- type DlframeworkGPUOptions
- type DlframeworkImagesRequest
- type DlframeworkModelManifest
- type DlframeworkModelManifestContainer
- type DlframeworkModelManifestType
- type DlframeworkModelManifestTypeParameters
- type DlframeworkModelManifestsResponse
- type DlframeworkPredictionOptions
- type DlframeworkPredictor
- type DlframeworkPredictorCloseResponse
- type DlframeworkPredictorOpenRequest
- type DlframeworkResetRequest
- type DlframeworkResetResponse
- type DlframeworkUrlsRequest
- type ExecutionOptionsTraceLevel
- 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"` }
DatasetRequestDataset dataset request dataset swagger:model DatasetRequestDataset
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 { // architecture Architecture string `json:"architecture,omitempty"` // cpuinfo Cpuinfo string `json:"cpuinfo,omitempty"` // frameworks Frameworks []*DlframeworkFrameworkManifest `json:"frameworks"` // gpuinfo Gpuinfo string `json:"gpuinfo,omitempty"` // hasgpu Hasgpu bool `json:"hasgpu,omitempty"` // host Host string `json:"host,omitempty"` // hostname Hostname string `json:"hostname,omitempty"` // metadata Metadata map[string]string `json:"metadata,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 DlframeworkCPUOptions ¶ added in v0.2.19
type DlframeworkCPUOptions interface{}
DlframeworkCPUOptions dlframework CPU options swagger:model dlframeworkCPUOptions
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 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"` }
DlframeworkDatasetRequest dlframework dataset request swagger:model dlframeworkDatasetRequest
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 DlframeworkExecutionOptions ¶ added in v0.2.19
type DlframeworkExecutionOptions struct { // Options that apply to all CPUs. CPUOptions DlframeworkCPUOptions `json:"cpu_options,omitempty"` // Map from device type name (e.g., "CPU" or "GPU" ) to maximum // number of devices of that type to use. If a particular device // type is not found in the map, the system picks an appropriate // number. DeviceCount map[string]int32 `json:"device_count,omitempty"` // Options that apply to all GPUs. GpuOptions *DlframeworkGPUOptions `json:"gpu_options,omitempty"` // Time to wait for operation to complete in milliseconds. TimeoutInMs int64 `json:"timeout_in_ms,omitempty"` // trace level TraceLevel ExecutionOptionsTraceLevel `json:"trace_level,omitempty"` }
DlframeworkExecutionOptions dlframework execution options swagger:model dlframeworkExecutionOptions
func (*DlframeworkExecutionOptions) MarshalBinary ¶ added in v0.2.19
func (m *DlframeworkExecutionOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkExecutionOptions) UnmarshalBinary ¶ added in v0.2.19
func (m *DlframeworkExecutionOptions) 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"` }
DlframeworkFeature dlframework feature swagger:model dlframeworkFeature
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"` }
DlframeworkFeatureResponse dlframework feature response swagger:model dlframeworkFeatureResponse
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"` }
DlframeworkFeaturesResponse dlframework features response swagger:model dlframeworkFeaturesResponse
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 DlframeworkFrameworkManifestContainer `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 DlframeworkFrameworkManifestContainer ¶ added in v0.2.20
type DlframeworkFrameworkManifestContainer map[string]DlframeworkContainerHardware
DlframeworkFrameworkManifestContainer dlframework framework manifest container swagger:model dlframeworkFrameworkManifestContainer
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 DlframeworkGPUOptions ¶ added in v0.2.19
type DlframeworkGPUOptions struct { // The type of GPU allocation strategy to use. // // Allowed values: // "": The empty string (default) uses a system-chosen default // which may change over time. // // "BFC": A "Best-fit with coalescing" algorithm, simplified from a // version of dlmalloc. AllocatorType string `json:"allocator_type,omitempty"` // Force all tensors to be gpu_compatible. On a GPU-enabled TensorFlow, // enabling this option forces all CPU tensors to be allocated with Cuda // pinned memory. Normally, TensorFlow will infer which tensors should be // allocated as the pinned memory. But in case where the inference is // incomplete, this option can significantly speed up the cross-device memory // copy performance as long as it fits the memory. // Note that this option is not something that should be // enabled by default for unknown or very large models, since all Cuda pinned // memory is unpageable, having too much pinned memory might negatively impact // the overall host system performance. ForceGpuCompatible bool `json:"force_gpu_compatible,omitempty"` // A value between 0 and 1 that indicates what fraction of the // available GPU memory to pre-allocate for each process. 1 means // to pre-allocate all of the GPU memory, 0.5 means the process // allocates ~50% of the available GPU memory. PerProcessGpuMemoryFraction float64 `json:"per_process_gpu_memory_fraction,omitempty"` // A comma-separated list of GPU ids that determines the 'visible' // to 'virtual' mapping of GPU devices. For example, if TensorFlow // can see 8 GPU devices in the process, and one wanted to map // visible GPU devices 5 and 3 as "/device:GPU:0", and "/device:GPU:1", then // one would specify this field as "5,3". This field is similar in spirit to // the CUDA_VISIBLE_DEVICES environment variable, except it applies to the // visible GPU devices in the process. // // NOTE: The GPU driver provides the process with the visible GPUs // in an order which is not guaranteed to have any correlation to // the *physical* GPU id in the machine. This field is used for // remapping "visible" to "virtual", which means this operates only // after the process starts. Users are required to use vendor // specific mechanisms (e.g., CUDA_VISIBLE_DEVICES) to control the // physical to visible device mapping prior to invoking TensorFlow. VisibleDeviceList string `json:"visible_device_list,omitempty"` }
DlframeworkGPUOptions dlframework g p u options swagger:model dlframeworkGPUOptions
func (*DlframeworkGPUOptions) MarshalBinary ¶ added in v0.2.19
func (m *DlframeworkGPUOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkGPUOptions) UnmarshalBinary ¶ added in v0.2.19
func (m *DlframeworkGPUOptions) 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"` }
DlframeworkImagesRequest dlframework images request swagger:model dlframeworkImagesRequest
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 DlframeworkModelManifestContainer `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 DlframeworkModelManifestContainer ¶ added in v0.2.20
type DlframeworkModelManifestContainer map[string]DlframeworkContainerHardware
DlframeworkModelManifestContainer dlframework model manifest container swagger:model dlframeworkModelManifestContainer
type DlframeworkModelManifestType ¶
type DlframeworkModelManifestType struct { // description Description string `json:"description,omitempty"` // parameters Parameters DlframeworkModelManifestTypeParameters `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 DlframeworkModelManifestTypeParameters ¶ added in v0.2.20
type DlframeworkModelManifestTypeParameters map[string]TypeParameter
DlframeworkModelManifestTypeParameters dlframework model manifest type parameters swagger:model dlframeworkModelManifestTypeParameters
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 DlframeworkPredictionOptions ¶ added in v0.2.16
type DlframeworkPredictionOptions struct { // agent Agent string `json:"agent,omitempty"` // batch size BatchSize int64 `json:"batch_size,omitempty"` // execution options ExecutionOptions *DlframeworkExecutionOptions `json:"execution_options,omitempty"` // feature limit FeatureLimit int32 `json:"feature_limit,omitempty"` // request id RequestID string `json:"request_id,omitempty"` }
DlframeworkPredictionOptions dlframework prediction options swagger:model dlframeworkPredictionOptions
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"` }
DlframeworkPredictor dlframework predictor swagger:model dlframeworkPredictor
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{}
DlframeworkPredictorCloseResponse dlframework predictor close response swagger:model dlframeworkPredictorCloseResponse
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"` // options Options *DlframeworkPredictionOptions `json:"options,omitempty"` }
DlframeworkPredictorOpenRequest dlframework predictor open request swagger:model dlframeworkPredictorOpenRequest
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"` }
DlframeworkResetRequest dlframework reset request swagger:model dlframeworkResetRequest
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"` }
DlframeworkResetResponse dlframework reset response swagger:model dlframeworkResetResponse
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"` }
DlframeworkUrlsRequest dlframework urls request swagger:model dlframeworkURLsRequest
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 ExecutionOptionsTraceLevel ¶ added in v0.2.19
type ExecutionOptionsTraceLevel string
ExecutionOptionsTraceLevel execution options trace level swagger:model ExecutionOptionsTraceLevel
const ( // ExecutionOptionsTraceLevelNOTRACE captures enum value "NO_TRACE" ExecutionOptionsTraceLevelNOTRACE ExecutionOptionsTraceLevel = "NO_TRACE" // ExecutionOptionsTraceLevelSTEPTRACE captures enum value "STEP_TRACE" ExecutionOptionsTraceLevelSTEPTRACE ExecutionOptionsTraceLevel = "STEP_TRACE" // ExecutionOptionsTraceLevelFRAMEWORKTRACE captures enum value "FRAMEWORK_TRACE" ExecutionOptionsTraceLevelFRAMEWORKTRACE ExecutionOptionsTraceLevel = "FRAMEWORK_TRACE" // ExecutionOptionsTraceLevelCPUONLYTRACE captures enum value "CPU_ONLY_TRACE" ExecutionOptionsTraceLevelCPUONLYTRACE ExecutionOptionsTraceLevel = "CPU_ONLY_TRACE" // ExecutionOptionsTraceLevelHARDWARETRACE captures enum value "HARDWARE_TRACE" ExecutionOptionsTraceLevelHARDWARETRACE ExecutionOptionsTraceLevel = "HARDWARE_TRACE" // ExecutionOptionsTraceLevelFULLTRACE captures enum value "FULL_TRACE" ExecutionOptionsTraceLevelFULLTRACE ExecutionOptionsTraceLevel = "FULL_TRACE" )
type ImagesRequestImage ¶ added in v0.2.16
type ImagesRequestImage struct { // The image is base64 encoded // Format: byte 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"` }
ImagesRequestImage images request image swagger:model ImagesRequestImage
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 checksum GraphChecksum string `json:"graph_checksum,omitempty"` // graph path GraphPath string `json:"graph_path,omitempty"` // is archive IsArchive bool `json:"is_archive,omitempty"` // weights checksum WeightsChecksum string `json:"weights_checksum,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
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"` }
UrlsRequestURL urls request URL swagger:model URLsRequestURL
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_cpu_options.go
- dlframework_dataset_request.go
- dlframework_execution_options.go
- dlframework_feature.go
- dlframework_feature_response.go
- dlframework_features_response.go
- dlframework_framework_manifest.go
- dlframework_framework_manifest_container.go
- dlframework_framework_manifests_response.go
- dlframework_g_p_u_options.go
- dlframework_images_request.go
- dlframework_model_manifest.go
- dlframework_model_manifest_container.go
- dlframework_model_manifest_type.go
- dlframework_model_manifest_type_parameters.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
- execution_options_trace_level.go
- images_request_image.go
- model_manifest_model.go
- type_parameter.go
- urls_request_url.go