Documentation ¶
Index ¶
- type DatasetRequestDataset
- type DlframeworkAgent
- type DlframeworkAgents
- type DlframeworkAudio
- type DlframeworkBoundingBox
- type DlframeworkCPUOptions
- type DlframeworkClassification
- type DlframeworkContainerHardware
- type DlframeworkDatasetRequest
- type DlframeworkExecutionOptions
- type DlframeworkFeature
- type DlframeworkFeatureResponse
- type DlframeworkFeatureType
- type DlframeworkFeaturesResponse
- type DlframeworkFrameworkManifest
- type DlframeworkFrameworkManifestsResponse
- type DlframeworkGPUOptions
- type DlframeworkGeoLocation
- type DlframeworkImage
- type DlframeworkImagesRequest
- type DlframeworkInstanceSegment
- type DlframeworkLoginResponse
- type DlframeworkLogoutResponse
- type DlframeworkModelManifest
- type DlframeworkModelManifestType
- type DlframeworkModelManifestsResponse
- type DlframeworkPredictionOptions
- type DlframeworkPredictor
- type DlframeworkPredictorCloseRequest
- type DlframeworkPredictorCloseResponse
- type DlframeworkPredictorOpenRequest
- type DlframeworkRaw
- type DlframeworkRawImage
- type DlframeworkRegion
- type DlframeworkResetRequest
- type DlframeworkResetResponse
- type DlframeworkSemanticSegment
- type DlframeworkSignup
- type DlframeworkSignupResponse
- type DlframeworkText
- type DlframeworkTraceID
- type DlframeworkURLsRequest
- type DlframeworkUpdateResponse
- type DlframeworkUserInfoResponse
- type ExecutionOptionsTraceLevel
- type ModelManifestModel
- type TypeParameter
- type URLsRequestURL
- type User
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 DlframeworkAudio ¶ added in v0.3.0
type DlframeworkAudio struct { // data // Format: byte Data strfmt.Base64 `json:"data,omitempty"` // format Format string `json:"format,omitempty"` }
DlframeworkAudio dlframework audio swagger:model dlframeworkAudio
func (*DlframeworkAudio) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkAudio) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkAudio) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkAudio) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkBoundingBox ¶ added in v0.3.0
type DlframeworkBoundingBox struct { // index Index int32 `json:"index,omitempty"` // label Label string `json:"label,omitempty"` // xmax Xmax float32 `json:"xmax,omitempty"` // xmin Xmin float32 `json:"xmin,omitempty"` // ymax Ymax float32 `json:"ymax,omitempty"` // ymin Ymin float32 `json:"ymin,omitempty"` }
DlframeworkBoundingBox dlframework bounding box swagger:model dlframeworkBoundingBox
func (*DlframeworkBoundingBox) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkBoundingBox) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkBoundingBox) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkBoundingBox) 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 DlframeworkClassification ¶ added in v0.3.0
type DlframeworkClassification struct { // index Index int32 `json:"index,omitempty"` // label Label string `json:"label,omitempty"` }
DlframeworkClassification dlframework classification swagger:model dlframeworkClassification
func (*DlframeworkClassification) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkClassification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkClassification) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkClassification) 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 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 string `json:"timeout_in_ms,omitempty"` // trace id TraceID *DlframeworkTraceID `json:"trace_id,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 { // audio Audio *DlframeworkAudio `json:"audio,omitempty"` // bounding box BoundingBox *DlframeworkBoundingBox `json:"bounding_box,omitempty"` // classification Classification *DlframeworkClassification `json:"classification,omitempty"` // geolocation Geolocation *DlframeworkGeoLocation `json:"geolocation,omitempty"` // id ID string `json:"id,omitempty"` // image Image *DlframeworkImage `json:"image,omitempty"` // instance segment InstanceSegment *DlframeworkInstanceSegment `json:"instance_segment,omitempty"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // probability Probability float32 `json:"probability,omitempty"` // raw Raw *DlframeworkRaw `json:"raw,omitempty"` // raw image RawImage *DlframeworkRawImage `json:"raw_image,omitempty"` // region Region *DlframeworkRegion `json:"region,omitempty"` // semantic segment SemanticSegment *DlframeworkSemanticSegment `json:"semantic_segment,omitempty"` // text Text *DlframeworkText `json:"text,omitempty"` // type Type DlframeworkFeatureType `json:"type,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 DlframeworkFeatureType ¶ added in v0.3.0
type DlframeworkFeatureType string
DlframeworkFeatureType dlframework feature type swagger:model dlframeworkFeatureType
const ( // DlframeworkFeatureTypeUNKNOWN captures enum value "UNKNOWN" DlframeworkFeatureTypeUNKNOWN DlframeworkFeatureType = "UNKNOWN" // DlframeworkFeatureTypeIMAGE captures enum value "IMAGE" DlframeworkFeatureTypeIMAGE DlframeworkFeatureType = "IMAGE" // DlframeworkFeatureTypeRAWIMAGE captures enum value "RAW_IMAGE" DlframeworkFeatureTypeRAWIMAGE DlframeworkFeatureType = "RAW_IMAGE" // DlframeworkFeatureTypeCLASSIFICATION captures enum value "CLASSIFICATION" DlframeworkFeatureTypeCLASSIFICATION DlframeworkFeatureType = "CLASSIFICATION" // DlframeworkFeatureTypeBOUNDINGBOX captures enum value "BOUNDINGBOX" DlframeworkFeatureTypeBOUNDINGBOX DlframeworkFeatureType = "BOUNDINGBOX" // DlframeworkFeatureTypeSEMANTICSEGMENT captures enum value "SEMANTICSEGMENT" DlframeworkFeatureTypeSEMANTICSEGMENT DlframeworkFeatureType = "SEMANTICSEGMENT" // DlframeworkFeatureTypeINSTANCESEGMENT captures enum value "INSTANCESEGMENT" DlframeworkFeatureTypeINSTANCESEGMENT DlframeworkFeatureType = "INSTANCESEGMENT" // DlframeworkFeatureTypeGEOLOCATION captures enum value "GEOLOCATION" DlframeworkFeatureTypeGEOLOCATION DlframeworkFeatureType = "GEOLOCATION" // DlframeworkFeatureTypeREGION captures enum value "REGION" DlframeworkFeatureTypeREGION DlframeworkFeatureType = "REGION" // DlframeworkFeatureTypeTEXT captures enum value "TEXT" DlframeworkFeatureTypeTEXT DlframeworkFeatureType = "TEXT" // DlframeworkFeatureTypeAUDIO captures enum value "AUDIO" DlframeworkFeatureTypeAUDIO DlframeworkFeatureType = "AUDIO" // DlframeworkFeatureTypeRAW captures enum value "RAW" DlframeworkFeatureTypeRAW DlframeworkFeatureType = "RAW" )
type DlframeworkFeaturesResponse ¶ added in v0.2.16
type DlframeworkFeaturesResponse struct { // duration Duration string `json:"duration,omitempty"` // duration for inference DurationForInference string `json:"duration_for_inference,omitempty"` // id ID string `json:"id,omitempty"` // responses Responses []*DlframeworkFeatureResponse `json:"responses"` // trace id TraceID *DlframeworkTraceID `json:"trace_id,omitempty"` }
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 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 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 DlframeworkGeoLocation ¶ added in v0.3.0
type DlframeworkGeoLocation struct { // index Index int32 `json:"index,omitempty"` // latitude Latitude float32 `json:"latitude,omitempty"` // longitude Longitude float32 `json:"longitude,omitempty"` }
DlframeworkGeoLocation dlframework geo location swagger:model dlframeworkGeoLocation
func (*DlframeworkGeoLocation) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkGeoLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkGeoLocation) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkGeoLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkImage ¶ added in v0.3.0
type DlframeworkImage 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"` }
DlframeworkImage dlframework image swagger:model dlframeworkImage
func (*DlframeworkImage) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkImage) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkImagesRequest ¶ added in v0.2.16
type DlframeworkImagesRequest struct { // A list of Base64 encoded images Images []*DlframeworkImage `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 DlframeworkInstanceSegment ¶ added in v0.3.0
type DlframeworkInstanceSegment struct { // float mask FloatMask []float32 `json:"float_mask"` // height Height int32 `json:"height,omitempty"` // index Index int32 `json:"index,omitempty"` // int mask IntMask []int32 `json:"int_mask"` // label Label string `json:"label,omitempty"` // mask type MaskType string `json:"mask_type,omitempty"` // width Width int32 `json:"width,omitempty"` // xmax Xmax float32 `json:"xmax,omitempty"` // xmin Xmin float32 `json:"xmin,omitempty"` // ymax Ymax float32 `json:"ymax,omitempty"` // ymin Ymin float32 `json:"ymin,omitempty"` }
DlframeworkInstanceSegment dlframework instance segment swagger:model dlframeworkInstanceSegment
func (*DlframeworkInstanceSegment) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkInstanceSegment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkInstanceSegment) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkInstanceSegment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkLoginResponse ¶ added in v0.3.0
type DlframeworkLoginResponse struct { // outcome Outcome string `json:"outcome,omitempty"` }
DlframeworkLoginResponse dlframework login response swagger:model dlframeworkLoginResponse
func (*DlframeworkLoginResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkLoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkLoginResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkLoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkLogoutResponse ¶ added in v0.3.0
type DlframeworkLogoutResponse struct { // outcome Outcome string `json:"outcome,omitempty"` // username Username string `json:"username,omitempty"` }
DlframeworkLogoutResponse dlframework logout response swagger:model dlframeworkLogoutResponse
func (*DlframeworkLogoutResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkLogoutResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkLogoutResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkLogoutResponse) 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 DlframeworkPredictionOptions ¶ added in v0.2.16
type DlframeworkPredictionOptions struct { // agent Agent string `json:"agent,omitempty"` // batch size BatchSize int32 `json:"batch_size,omitempty"` // execution options ExecutionOptions *DlframeworkExecutionOptions `json:"execution_options,omitempty"` // feature limit FeatureLimit int32 `json:"feature_limit,omitempty"` // gpu metrics GpuMetrics string `json:"gpu_metrics,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 { // duration Duration string `json:"duration,omitempty"` // 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 DlframeworkPredictorCloseRequest ¶ added in v0.3.0
type DlframeworkPredictorCloseRequest struct { // force Force bool `json:"force,omitempty"` // predictor Predictor *DlframeworkPredictor `json:"predictor,omitempty"` }
DlframeworkPredictorCloseRequest dlframework predictor close request swagger:model dlframeworkPredictorCloseRequest
func (*DlframeworkPredictorCloseRequest) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkPredictorCloseRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkPredictorCloseRequest) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkPredictorCloseRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkPredictorCloseResponse ¶ added in v0.2.16
type DlframeworkPredictorCloseResponse struct { // duration Duration string `json:"duration,omitempty"` }
DlframeworkPredictorCloseResponse dlframework predictor close response swagger:model dlframeworkPredictorCloseResponse
func (*DlframeworkPredictorCloseResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkPredictorCloseResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkPredictorCloseResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkPredictorCloseResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // persist Persist bool `json:"persist,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 DlframeworkRaw ¶ added in v0.3.0
type DlframeworkRaw struct { // data // Format: byte Data strfmt.Base64 `json:"data,omitempty"` // format Format string `json:"format,omitempty"` }
DlframeworkRaw dlframework raw swagger:model dlframeworkRaw
func (*DlframeworkRaw) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRaw) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkRaw) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRaw) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkRawImage ¶ added in v0.3.0
type DlframeworkRawImage struct { // channels Channels int32 `json:"channels,omitempty"` // char list CharList []int32 `json:"char_list"` // compressed data is only used by the webserver and javascript codes // Format: byte CompressedData strfmt.Base64 `json:"compressed_data,omitempty"` // data type DataType string `json:"data_type,omitempty"` // float list FloatList []float32 `json:"float_list"` // height Height int32 `json:"height,omitempty"` // An id used to identify the output feature: maps to input_id for output ID string `json:"id,omitempty"` // jpeg data is only used by the webserver and javascript codes // Format: byte JpegData strfmt.Base64 `json:"jpeg_data,omitempty"` // width Width int32 `json:"width,omitempty"` }
DlframeworkRawImage dlframework raw image swagger:model dlframeworkRawImage
func (*DlframeworkRawImage) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRawImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkRawImage) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRawImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkRegion ¶ added in v0.3.0
type DlframeworkRegion struct { // data // Format: byte Data strfmt.Base64 `json:"data,omitempty"` // format Format string `json:"format,omitempty"` }
DlframeworkRegion dlframework region swagger:model dlframeworkRegion
func (*DlframeworkRegion) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkRegion) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkRegion) 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 DlframeworkSemanticSegment ¶ added in v0.3.0
type DlframeworkSemanticSegment struct { // height Height int32 `json:"height,omitempty"` // int mask IntMask []int32 `json:"int_mask"` // width Width int32 `json:"width,omitempty"` }
DlframeworkSemanticSegment dlframework semantic segment swagger:model dlframeworkSemanticSegment
func (*DlframeworkSemanticSegment) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSemanticSegment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkSemanticSegment) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSemanticSegment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkSignup ¶ added in v0.3.0
type DlframeworkSignup struct { // affiliation Affiliation string `json:"affiliation,omitempty"` // email Email string `json:"email,omitempty"` // first name FirstName string `json:"first_name,omitempty"` // last name LastName string `json:"last_name,omitempty"` // password Password string `json:"password,omitempty"` // username Username string `json:"username,omitempty"` }
DlframeworkSignup dlframework signup swagger:model dlframeworkSignup
func (*DlframeworkSignup) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSignup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkSignup) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSignup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkSignupResponse ¶ added in v0.3.0
type DlframeworkSignupResponse struct { // outcome Outcome string `json:"outcome,omitempty"` // username Username string `json:"username,omitempty"` }
DlframeworkSignupResponse dlframework signup response swagger:model dlframeworkSignupResponse
func (*DlframeworkSignupResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSignupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkSignupResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkSignupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkText ¶ added in v0.3.0
DlframeworkText dlframework text swagger:model dlframeworkText
func (*DlframeworkText) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkText) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkText) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkText) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkTraceID ¶ added in v0.3.0
type DlframeworkTraceID struct { // id ID string `json:"id,omitempty"` }
DlframeworkTraceID dlframework trace ID swagger:model dlframeworkTraceID
func (*DlframeworkTraceID) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkTraceID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkTraceID) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkTraceID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkURLsRequest ¶ added in v0.3.0
type DlframeworkURLsRequest struct { // options Options *DlframeworkPredictionOptions `json:"options,omitempty"` // predictor Predictor *DlframeworkPredictor `json:"predictor,omitempty"` // urls Urls []*URLsRequestURL `json:"urls"` }
DlframeworkURLsRequest dlframework u r ls request swagger:model dlframeworkURLsRequest
func (*DlframeworkURLsRequest) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkURLsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkURLsRequest) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkURLsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkUpdateResponse ¶ added in v0.3.0
type DlframeworkUpdateResponse struct { // outcome Outcome string `json:"outcome,omitempty"` }
DlframeworkUpdateResponse dlframework update response swagger:model dlframeworkUpdateResponse
func (*DlframeworkUpdateResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkUpdateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkUpdateResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkUpdateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DlframeworkUserInfoResponse ¶ added in v0.3.0
type DlframeworkUserInfoResponse struct { // affiliation Affiliation string `json:"affiliation,omitempty"` // email Email string `json:"email,omitempty"` // first name FirstName string `json:"first_name,omitempty"` // last name LastName string `json:"last_name,omitempty"` // outcome Outcome string `json:"outcome,omitempty"` // username Username string `json:"username,omitempty"` }
DlframeworkUserInfoResponse dlframework user info response swagger:model dlframeworkUserInfoResponse
func (*DlframeworkUserInfoResponse) MarshalBinary ¶ added in v0.3.0
func (m *DlframeworkUserInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DlframeworkUserInfoResponse) UnmarshalBinary ¶ added in v0.3.0
func (m *DlframeworkUserInfoResponse) 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" // ExecutionOptionsTraceLevelAPPLICATIONTRACE captures enum value "APPLICATION_TRACE" ExecutionOptionsTraceLevelAPPLICATIONTRACE ExecutionOptionsTraceLevel = "APPLICATION_TRACE" // ExecutionOptionsTraceLevelMODELTRACE captures enum value "MODEL_TRACE" ExecutionOptionsTraceLevelMODELTRACE ExecutionOptionsTraceLevel = "MODEL_TRACE" // ExecutionOptionsTraceLevelFRAMEWORKTRACE captures enum value "FRAMEWORK_TRACE" ExecutionOptionsTraceLevelFRAMEWORKTRACE ExecutionOptionsTraceLevel = "FRAMEWORK_TRACE" // ExecutionOptionsTraceLevelMLLIBRARYTRACE captures enum value "ML_LIBRARY_TRACE" ExecutionOptionsTraceLevelMLLIBRARYTRACE ExecutionOptionsTraceLevel = "ML_LIBRARY_TRACE" // ExecutionOptionsTraceLevelSYSTEMLIBRARYTRACE captures enum value "SYSTEM_LIBRARY_TRACE" ExecutionOptionsTraceLevelSYSTEMLIBRARYTRACE ExecutionOptionsTraceLevel = "SYSTEM_LIBRARY_TRACE" // ExecutionOptionsTraceLevelHARDWARETRACE captures enum value "HARDWARE_TRACE" ExecutionOptionsTraceLevelHARDWARETRACE ExecutionOptionsTraceLevel = "HARDWARE_TRACE" // ExecutionOptionsTraceLevelFULLTRACE captures enum value "FULL_TRACE" ExecutionOptionsTraceLevelFULLTRACE ExecutionOptionsTraceLevel = "FULL_TRACE" )
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.3.0
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 u r ls request URL swagger:model URLsRequestURL
func (*URLsRequestURL) MarshalBinary ¶ added in v0.3.0
func (m *URLsRequestURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*URLsRequestURL) UnmarshalBinary ¶ added in v0.3.0
func (m *URLsRequestURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶ added in v0.3.0
type User struct { // affiliation Affiliation string `json:"affiliation,omitempty"` // email Email string `json:"email,omitempty"` // first name FirstName string `json:"first_name,omitempty"` // last name LastName string `json:"last_name,omitempty"` // password Password string `json:"password,omitempty"` // username Username string `json:"username,omitempty"` }
User user swagger:model user
func (*User) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
Source Files ¶
- dataset_request_dataset.go
- dlframework_agent.go
- dlframework_agents.go
- dlframework_audio.go
- dlframework_bounding_box.go
- dlframework_classification.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_feature_type.go
- dlframework_features_response.go
- dlframework_framework_manifest.go
- dlframework_framework_manifests_response.go
- dlframework_g_p_u_options.go
- dlframework_geo_location.go
- dlframework_image.go
- dlframework_images_request.go
- dlframework_instance_segment.go
- dlframework_login_response.go
- dlframework_logout_response.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_request.go
- dlframework_predictor_close_response.go
- dlframework_predictor_open_request.go
- dlframework_raw.go
- dlframework_raw_image.go
- dlframework_region.go
- dlframework_reset_request.go
- dlframework_reset_response.go
- dlframework_semantic_segment.go
- dlframework_signup.go
- dlframework_signup_response.go
- dlframework_text.go
- dlframework_trace_id.go
- dlframework_u_r_ls_request.go
- dlframework_update_response.go
- dlframework_user_info_response.go
- execution_options_trace_level.go
- model_manifest_model.go
- type_parameter.go
- u_r_ls_request_url.go
- user.go