Documentation ¶
Overview ¶
Package dlframework is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package dlframework is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func Bhattacharyya(p, q []float64) float64
- func CleanString(str string) string
- func Correlation(x, y, weights []float64) float64
- func Covariance(x, y, weights []float64) float64
- func FeaturesDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func Hellinger(p, q []float64) float64
- func JensenShannon(p, q []float64) float64
- func KullbackLeibler(p, q []float64) float64
- func Mean(x, weights []float64) float64
- func Partition(in []interface{}, partitionSize int) (out [][]interface{})
- func PartitionStringList(in []string, partitionSize int) (out [][]string)
- func PredictorDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func RegisterPredictHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPredictHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PredictClient) error
- func RegisterPredictHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPredictServer(s *grpc.Server, srv PredictServer)
- func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
- func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
- func RegisteredFrameworkNames() []string
- func RegisteredModelNames() []string
- func RegistryDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func Sum(s []float64) float64
- type Agent
- func (this *Agent) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Agent) Descriptor() ([]byte, []int)
- func (this *Agent) Equal(that interface{}) bool
- func (m *Agent) GetArchitecture() string
- func (m *Agent) GetCpuinfo() string
- func (m *Agent) GetFrameworks() []*FrameworkManifest
- func (m *Agent) GetGpuinfo() string
- func (m *Agent) GetHasgpu() bool
- func (m *Agent) GetHost() string
- func (m *Agent) GetHostname() string
- func (m *Agent) GetMetadata() map[string]string
- func (m *Agent) GetPort() string
- func (this *Agent) GoString() string
- func (m *Agent) Marshal() (dAtA []byte, err error)
- func (m *Agent) MarshalTo(dAtA []byte) (int, error)
- func (*Agent) ProtoMessage()
- func (m *Agent) Reset()
- func (m *Agent) Size() (n int)
- func (this *Agent) String() string
- func (m *Agent) Unmarshal(dAtA []byte) error
- func (this *Agent) VerboseEqual(that interface{}) error
- func (m *Agent) XXX_DiscardUnknown()
- func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Agent) XXX_Merge(src proto.Message)
- func (m *Agent) XXX_Size() int
- func (m *Agent) XXX_Unmarshal(b []byte) error
- type Agents
- func (this *Agents) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Agents) Descriptor() ([]byte, []int)
- func (this *Agents) Equal(that interface{}) bool
- func (m *Agents) GetAgents() []*Agent
- func (this *Agents) GoString() string
- func (m *Agents) Marshal() (dAtA []byte, err error)
- func (m *Agents) MarshalTo(dAtA []byte) (int, error)
- func (*Agents) ProtoMessage()
- func (m *Agents) Reset()
- func (m *Agents) Size() (n int)
- func (this *Agents) String() string
- func (m *Agents) Unmarshal(dAtA []byte) error
- func (this *Agents) VerboseEqual(that interface{}) error
- func (m *Agents) XXX_DiscardUnknown()
- func (m *Agents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Agents) XXX_Merge(src proto.Message)
- func (m *Agents) XXX_Size() int
- func (m *Agents) XXX_Unmarshal(b []byte) error
- type Audio
- func (this *Audio) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Audio) Descriptor() ([]byte, []int)
- func (this *Audio) Equal(that interface{}) bool
- func (m *Audio) GetData() []byte
- func (m *Audio) GetFormat() string
- func (this *Audio) GoString() string
- func (m *Audio) Marshal() (dAtA []byte, err error)
- func (m *Audio) MarshalTo(dAtA []byte) (int, error)
- func (*Audio) ProtoMessage()
- func (m *Audio) Reset()
- func (m *Audio) Size() (n int)
- func (this *Audio) String() string
- func (m *Audio) Unmarshal(dAtA []byte) error
- func (this *Audio) VerboseEqual(that interface{}) error
- func (m *Audio) XXX_DiscardUnknown()
- func (m *Audio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Audio) XXX_Merge(src proto.Message)
- func (m *Audio) XXX_Size() int
- func (m *Audio) XXX_Unmarshal(b []byte) error
- type BoundingBox
- func (b *BoundingBox) Area() float32
- func (this *BoundingBox) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*BoundingBox) Descriptor() ([]byte, []int)
- func (this *BoundingBox) Equal(that interface{}) bool
- func (m *BoundingBox) GetIndex() int32
- func (m *BoundingBox) GetLabel() string
- func (m *BoundingBox) GetXmax() float32
- func (m *BoundingBox) GetXmin() float32
- func (m *BoundingBox) GetYmax() float32
- func (m *BoundingBox) GetYmin() float32
- func (this *BoundingBox) GoString() string
- func (b *BoundingBox) Height() float32
- func (m *BoundingBox) Marshal() (dAtA []byte, err error)
- func (m *BoundingBox) MarshalTo(dAtA []byte) (int, error)
- func (*BoundingBox) ProtoMessage()
- func (m *BoundingBox) Reset()
- func (m *BoundingBox) Size() (n int)
- func (this *BoundingBox) String() string
- func (b *BoundingBox) ToXYWH() []float32
- func (b *BoundingBox) ToxyXY() []float32
- func (m *BoundingBox) Unmarshal(dAtA []byte) error
- func (this *BoundingBox) VerboseEqual(that interface{}) error
- func (b *BoundingBox) Width() float32
- func (m *BoundingBox) XXX_DiscardUnknown()
- func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoundingBox) XXX_Merge(src proto.Message)
- func (m *BoundingBox) XXX_Size() int
- func (m *BoundingBox) XXX_Unmarshal(b []byte) error
- type CPUOptions
- func (*CPUOptions) Descriptor() ([]byte, []int)
- func (this *CPUOptions) Equal(that interface{}) bool
- func (this *CPUOptions) GoString() string
- func (m *CPUOptions) Marshal() (dAtA []byte, err error)
- func (m *CPUOptions) MarshalTo(dAtA []byte) (int, error)
- func (*CPUOptions) ProtoMessage()
- func (m *CPUOptions) Reset()
- func (m *CPUOptions) Size() (n int)
- func (this *CPUOptions) String() string
- func (m *CPUOptions) Unmarshal(dAtA []byte) error
- func (this *CPUOptions) VerboseEqual(that interface{}) error
- func (m *CPUOptions) XXX_DiscardUnknown()
- func (m *CPUOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CPUOptions) XXX_Merge(src proto.Message)
- func (m *CPUOptions) XXX_Size() int
- func (m *CPUOptions) XXX_Unmarshal(b []byte) error
- type Classification
- func (this *Classification) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Classification) Descriptor() ([]byte, []int)
- func (this *Classification) Equal(that interface{}) bool
- func (m *Classification) GetIndex() int32
- func (m *Classification) GetLabel() string
- func (this *Classification) GoString() string
- func (m *Classification) Marshal() (dAtA []byte, err error)
- func (m *Classification) MarshalTo(dAtA []byte) (int, error)
- func (*Classification) ProtoMessage()
- func (m *Classification) Reset()
- func (m *Classification) Size() (n int)
- func (this *Classification) String() string
- func (m *Classification) Unmarshal(dAtA []byte) error
- func (this *Classification) VerboseEqual(that interface{}) error
- func (m *Classification) XXX_DiscardUnknown()
- func (m *Classification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Classification) XXX_Merge(src proto.Message)
- func (m *Classification) XXX_Size() int
- func (m *Classification) XXX_Unmarshal(b []byte) error
- type ContainerHardware
- func (this *ContainerHardware) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ContainerHardware) Descriptor() ([]byte, []int)
- func (this *ContainerHardware) Equal(that interface{}) bool
- func (m *ContainerHardware) GetCpu() string
- func (m *ContainerHardware) GetGpu() string
- func (this *ContainerHardware) GoString() string
- func (m *ContainerHardware) Marshal() (dAtA []byte, err error)
- func (m *ContainerHardware) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerHardware) ProtoMessage()
- func (m *ContainerHardware) Reset()
- func (m *ContainerHardware) Size() (n int)
- func (this *ContainerHardware) String() string
- func (m *ContainerHardware) Unmarshal(dAtA []byte) error
- func (this *ContainerHardware) VerboseEqual(that interface{}) error
- func (m *ContainerHardware) XXX_DiscardUnknown()
- func (m *ContainerHardware) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerHardware) XXX_Merge(src proto.Message)
- func (m *ContainerHardware) XXX_Size() int
- func (m *ContainerHardware) XXX_Unmarshal(b []byte) error
- type DatasetRequest
- func (this *DatasetRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*DatasetRequest) Descriptor() ([]byte, []int)
- func (this *DatasetRequest) Equal(that interface{}) bool
- func (m *DatasetRequest) GetDataset() *DatasetRequest_Dataset
- func (m *DatasetRequest) GetOptions() *PredictionOptions
- func (m *DatasetRequest) GetPredictor() *Predictor
- func (this *DatasetRequest) GoString() string
- func (m *DatasetRequest) Marshal() (dAtA []byte, err error)
- func (m *DatasetRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DatasetRequest) ProtoMessage()
- func (m *DatasetRequest) Reset()
- func (m *DatasetRequest) Size() (n int)
- func (this *DatasetRequest) String() string
- func (m *DatasetRequest) Unmarshal(dAtA []byte) error
- func (this *DatasetRequest) VerboseEqual(that interface{}) error
- func (m *DatasetRequest) XXX_DiscardUnknown()
- func (m *DatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatasetRequest) XXX_Merge(src proto.Message)
- func (m *DatasetRequest) XXX_Size() int
- func (m *DatasetRequest) XXX_Unmarshal(b []byte) error
- type DatasetRequest_Dataset
- func (*DatasetRequest_Dataset) Descriptor() ([]byte, []int)
- func (this *DatasetRequest_Dataset) Equal(that interface{}) bool
- func (m *DatasetRequest_Dataset) GetCategory() string
- func (m *DatasetRequest_Dataset) GetName() string
- func (this *DatasetRequest_Dataset) GoString() string
- func (m *DatasetRequest_Dataset) Marshal() (dAtA []byte, err error)
- func (m *DatasetRequest_Dataset) MarshalTo(dAtA []byte) (int, error)
- func (*DatasetRequest_Dataset) ProtoMessage()
- func (m *DatasetRequest_Dataset) Reset()
- func (m *DatasetRequest_Dataset) Size() (n int)
- func (this *DatasetRequest_Dataset) String() string
- func (m *DatasetRequest_Dataset) Unmarshal(dAtA []byte) error
- func (this *DatasetRequest_Dataset) VerboseEqual(that interface{}) error
- func (m *DatasetRequest_Dataset) XXX_DiscardUnknown()
- func (m *DatasetRequest_Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatasetRequest_Dataset) XXX_Merge(src proto.Message)
- func (m *DatasetRequest_Dataset) XXX_Size() int
- func (m *DatasetRequest_Dataset) XXX_Unmarshal(b []byte) error
- type ErrorStatus
- func (this *ErrorStatus) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ErrorStatus) Descriptor() ([]byte, []int)
- func (this *ErrorStatus) Equal(that interface{}) bool
- func (m *ErrorStatus) GetMessage() string
- func (m *ErrorStatus) GetOk() bool
- func (this *ErrorStatus) GoString() string
- func (m *ErrorStatus) Marshal() (dAtA []byte, err error)
- func (m *ErrorStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ErrorStatus) ProtoMessage()
- func (m *ErrorStatus) Reset()
- func (m *ErrorStatus) Size() (n int)
- func (this *ErrorStatus) String() string
- func (m *ErrorStatus) Unmarshal(dAtA []byte) error
- func (this *ErrorStatus) VerboseEqual(that interface{}) error
- func (m *ErrorStatus) XXX_DiscardUnknown()
- func (m *ErrorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorStatus) XXX_Merge(src proto.Message)
- func (m *ErrorStatus) XXX_Size() int
- func (m *ErrorStatus) XXX_Unmarshal(b []byte) error
- type ExecutionOptions
- func (*ExecutionOptions) Descriptor() ([]byte, []int)
- func (this *ExecutionOptions) Equal(that interface{}) bool
- func (m *ExecutionOptions) GetCpuOptions() *CPUOptions
- func (m *ExecutionOptions) GetDeviceCount() map[string]int32
- func (m *ExecutionOptions) GetGpuOptions() *GPUOptions
- func (m *ExecutionOptions) GetTimeoutInMs() uint64
- func (m *ExecutionOptions) GetTraceId() *TraceID
- func (m *ExecutionOptions) GetTraceLevel() ExecutionOptions_TraceLevel
- func (this *ExecutionOptions) GoString() string
- func (m *ExecutionOptions) Marshal() (dAtA []byte, err error)
- func (m *ExecutionOptions) MarshalTo(dAtA []byte) (int, error)
- func (*ExecutionOptions) ProtoMessage()
- func (m *ExecutionOptions) Reset()
- func (m *ExecutionOptions) Size() (n int)
- func (this *ExecutionOptions) String() string
- func (m *ExecutionOptions) Unmarshal(dAtA []byte) error
- func (this *ExecutionOptions) VerboseEqual(that interface{}) error
- func (m *ExecutionOptions) XXX_DiscardUnknown()
- func (m *ExecutionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionOptions) XXX_Merge(src proto.Message)
- func (m *ExecutionOptions) XXX_Size() int
- func (m *ExecutionOptions) XXX_Unmarshal(b []byte) error
- type ExecutionOptions_TraceLevel
- type Feature
- func (this *Feature) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Feature) Descriptor() ([]byte, []int)
- func (this *Feature) Equal(that interface{}) bool
- func (m *Feature) GetAudio() *Audio
- func (m *Feature) GetBoundingBox() *BoundingBox
- func (m *Feature) GetClassification() *Classification
- func (m *Feature) GetFeature() isFeature_Feature
- func (m *Feature) GetGeolocation() *GeoLocation
- func (m *Feature) GetID() string
- func (m *Feature) GetImage() *Image
- func (m *Feature) GetInstanceSegment() *InstanceSegment
- func (m *Feature) GetMetadata() map[string]string
- func (m *Feature) GetProbability() float32
- func (m *Feature) GetRaw() *Raw
- func (m *Feature) GetRawImage() *RawImage
- func (m *Feature) GetRegion() *Region
- func (m *Feature) GetSemanticSegment() *SemanticSegment
- func (m *Feature) GetText() *Text
- func (m *Feature) GetType() FeatureType
- func (this *Feature) GoString() string
- func (m *Feature) Marshal() (dAtA []byte, err error)
- func (m *Feature) MarshalTo(dAtA []byte) (int, error)
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) Size() (n int)
- func (this *Feature) String() string
- func (m *Feature) Unmarshal(dAtA []byte) error
- func (this *Feature) VerboseEqual(that interface{}) error
- func (m *Feature) XXX_DiscardUnknown()
- func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Feature) XXX_Merge(src proto.Message)
- func (*Feature) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Feature) XXX_Size() int
- func (m *Feature) XXX_Unmarshal(b []byte) error
- type FeatureCompareMethod
- type FeatureResponse
- func (this *FeatureResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FeatureResponse) Descriptor() ([]byte, []int)
- func (this *FeatureResponse) Equal(that interface{}) bool
- func (m *FeatureResponse) GetFeatures() []*Feature
- func (m *FeatureResponse) GetID() string
- func (m *FeatureResponse) GetInputID() string
- func (m *FeatureResponse) GetMetadata() map[string]string
- func (m *FeatureResponse) GetRequestID() string
- func (this *FeatureResponse) GoString() string
- func (m *FeatureResponse) Marshal() (dAtA []byte, err error)
- func (m *FeatureResponse) MarshalTo(dAtA []byte) (int, error)
- func (*FeatureResponse) ProtoMessage()
- func (m *FeatureResponse) Reset()
- func (m *FeatureResponse) Size() (n int)
- func (this *FeatureResponse) String() string
- func (m *FeatureResponse) Unmarshal(dAtA []byte) error
- func (this *FeatureResponse) VerboseEqual(that interface{}) error
- func (m *FeatureResponse) XXX_DiscardUnknown()
- func (m *FeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureResponse) XXX_Merge(src proto.Message)
- func (m *FeatureResponse) XXX_Size() int
- func (m *FeatureResponse) XXX_Unmarshal(b []byte) error
- type FeatureType
- type Feature_Audio
- func (this *Feature_Audio) Equal(that interface{}) bool
- func (this *Feature_Audio) GoString() string
- func (m *Feature_Audio) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Audio) Size() (n int)
- func (this *Feature_Audio) String() string
- func (this *Feature_Audio) VerboseEqual(that interface{}) error
- type Feature_BoundingBox
- func (this *Feature_BoundingBox) Equal(that interface{}) bool
- func (this *Feature_BoundingBox) GoString() string
- func (m *Feature_BoundingBox) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_BoundingBox) Size() (n int)
- func (this *Feature_BoundingBox) String() string
- func (this *Feature_BoundingBox) VerboseEqual(that interface{}) error
- type Feature_Classification
- func (this *Feature_Classification) Equal(that interface{}) bool
- func (this *Feature_Classification) GoString() string
- func (m *Feature_Classification) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Classification) Size() (n int)
- func (this *Feature_Classification) String() string
- func (this *Feature_Classification) VerboseEqual(that interface{}) error
- type Feature_Geolocation
- func (this *Feature_Geolocation) Equal(that interface{}) bool
- func (this *Feature_Geolocation) GoString() string
- func (m *Feature_Geolocation) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Geolocation) Size() (n int)
- func (this *Feature_Geolocation) String() string
- func (this *Feature_Geolocation) VerboseEqual(that interface{}) error
- type Feature_Image
- func (this *Feature_Image) Equal(that interface{}) bool
- func (this *Feature_Image) GoString() string
- func (m *Feature_Image) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Image) Size() (n int)
- func (this *Feature_Image) String() string
- func (this *Feature_Image) VerboseEqual(that interface{}) error
- type Feature_InstanceSegment
- func (this *Feature_InstanceSegment) Equal(that interface{}) bool
- func (this *Feature_InstanceSegment) GoString() string
- func (m *Feature_InstanceSegment) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_InstanceSegment) Size() (n int)
- func (this *Feature_InstanceSegment) String() string
- func (this *Feature_InstanceSegment) VerboseEqual(that interface{}) error
- type Feature_Raw
- type Feature_RawImage
- func (this *Feature_RawImage) Equal(that interface{}) bool
- func (this *Feature_RawImage) GoString() string
- func (m *Feature_RawImage) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_RawImage) Size() (n int)
- func (this *Feature_RawImage) String() string
- func (this *Feature_RawImage) VerboseEqual(that interface{}) error
- type Feature_Region
- func (this *Feature_Region) Equal(that interface{}) bool
- func (this *Feature_Region) GoString() string
- func (m *Feature_Region) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Region) Size() (n int)
- func (this *Feature_Region) String() string
- func (this *Feature_Region) VerboseEqual(that interface{}) error
- type Feature_SemanticSegment
- func (this *Feature_SemanticSegment) Equal(that interface{}) bool
- func (this *Feature_SemanticSegment) GoString() string
- func (m *Feature_SemanticSegment) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_SemanticSegment) Size() (n int)
- func (this *Feature_SemanticSegment) String() string
- func (this *Feature_SemanticSegment) VerboseEqual(that interface{}) error
- type Feature_Text
- func (this *Feature_Text) Equal(that interface{}) bool
- func (this *Feature_Text) GoString() string
- func (m *Feature_Text) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature_Text) Size() (n int)
- func (this *Feature_Text) String() string
- func (this *Feature_Text) VerboseEqual(that interface{}) error
- type Features
- func (p Features) Bhattacharyya(q Features) (float64, error)
- func (p Features) Correlation(q Features) (float64, error)
- func (p Features) Covariance(q Features) (float64, error)
- func (p Features) Hellinger(q Features) (float64, error)
- func (p Features) JensenShannon(q Features) (float64, error)
- func (p Features) KullbackLeiblerDivergence(q Features) (float64, error)
- func (p Features) Len() int
- func (p Features) Less(i, j int) bool
- func (p Features) ProbabilitiesApplySoftmaxFloat32() Features
- func (p Features) ProbabilitiesApplySoftmaxFloat64() Features
- func (p Features) ProbabilitiesFloat32() []float32
- func (p Features) ProbabilitiesFloat64() []float64
- func (p Features) ProbabilitiesSoftmaxFloat32() []float32
- func (p Features) ProbabilitiesSoftmaxFloat64() []float64
- func (p Features) Sort()
- func (p Features) Swap(i, j int)
- func (p Features) Take(n int) Features
- type FeaturesResponse
- func (this *FeaturesResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FeaturesResponse) Descriptor() ([]byte, []int)
- func (this *FeaturesResponse) Equal(that interface{}) bool
- func (m *FeaturesResponse) GetDuration() *time.Duration
- func (m *FeaturesResponse) GetDurationForInference() *time.Duration
- func (m *FeaturesResponse) GetID() string
- func (m *FeaturesResponse) GetResponses() []*FeatureResponse
- func (m *FeaturesResponse) GetTraceId() *TraceID
- func (this *FeaturesResponse) GoString() string
- func (m *FeaturesResponse) Marshal() (dAtA []byte, err error)
- func (m *FeaturesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*FeaturesResponse) ProtoMessage()
- func (m *FeaturesResponse) Reset()
- func (m *FeaturesResponse) Size() (n int)
- func (this *FeaturesResponse) String() string
- func (m *FeaturesResponse) Unmarshal(dAtA []byte) error
- func (this *FeaturesResponse) VerboseEqual(that interface{}) error
- func (m *FeaturesResponse) XXX_DiscardUnknown()
- func (m *FeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeaturesResponse) XXX_Merge(src proto.Message)
- func (m *FeaturesResponse) XXX_Size() int
- func (m *FeaturesResponse) XXX_Unmarshal(b []byte) error
- type FrameworkManifest
- func (f FrameworkManifest) CanonicalName() (string, error)
- func (this *FrameworkManifest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FrameworkManifest) Descriptor() ([]byte, []int)
- func (this *FrameworkManifest) Equal(that interface{}) bool
- func (f FrameworkManifest) FindModel(name string) (*ModelManifest, error)
- func (m *FrameworkManifest) GetContainer() map[string]*ContainerHardware
- func (m *FrameworkManifest) GetName() string
- func (m *FrameworkManifest) GetVersion() string
- func (this *FrameworkManifest) GoString() string
- func (m *FrameworkManifest) Marshal() (dAtA []byte, err error)
- func (m *FrameworkManifest) MarshalTo(dAtA []byte) (int, error)
- func (f FrameworkManifest) Models() []ModelManifest
- func (f FrameworkManifest) MustCanonicalName() string
- func (*FrameworkManifest) ProtoMessage()
- func (f FrameworkManifest) Register() error
- func (f FrameworkManifest) RegisterNamed(s string) error
- func (m *FrameworkManifest) Reset()
- func (m *FrameworkManifest) Size() (n int)
- func (this *FrameworkManifest) String() string
- func (m *FrameworkManifest) Unmarshal(dAtA []byte) error
- func (this *FrameworkManifest) VerboseEqual(that interface{}) error
- func (f *FrameworkManifest) WorkDir() (string, error)
- func (m *FrameworkManifest) XXX_DiscardUnknown()
- func (m *FrameworkManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrameworkManifest) XXX_Merge(src proto.Message)
- func (m *FrameworkManifest) XXX_Size() int
- func (m *FrameworkManifest) XXX_Unmarshal(b []byte) error
- type FrameworkManifestsResponse
- func (this *FrameworkManifestsResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FrameworkManifestsResponse) Descriptor() ([]byte, []int)
- func (this *FrameworkManifestsResponse) Equal(that interface{}) bool
- func (m *FrameworkManifestsResponse) GetManifests() []*FrameworkManifest
- func (this *FrameworkManifestsResponse) GoString() string
- func (m *FrameworkManifestsResponse) Marshal() (dAtA []byte, err error)
- func (m *FrameworkManifestsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*FrameworkManifestsResponse) ProtoMessage()
- func (m *FrameworkManifestsResponse) Reset()
- func (m *FrameworkManifestsResponse) Size() (n int)
- func (this *FrameworkManifestsResponse) String() string
- func (m *FrameworkManifestsResponse) Unmarshal(dAtA []byte) error
- func (this *FrameworkManifestsResponse) VerboseEqual(that interface{}) error
- func (m *FrameworkManifestsResponse) XXX_DiscardUnknown()
- func (m *FrameworkManifestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrameworkManifestsResponse) XXX_Merge(src proto.Message)
- func (m *FrameworkManifestsResponse) XXX_Size() int
- func (m *FrameworkManifestsResponse) XXX_Unmarshal(b []byte) error
- type FrameworkRequest
- func (this *FrameworkRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FrameworkRequest) Descriptor() ([]byte, []int)
- func (this *FrameworkRequest) Equal(that interface{}) bool
- func (m *FrameworkRequest) GetFrameworkName() string
- func (m *FrameworkRequest) GetFrameworkVersion() string
- func (this *FrameworkRequest) GoString() string
- func (m *FrameworkRequest) Marshal() (dAtA []byte, err error)
- func (m *FrameworkRequest) MarshalTo(dAtA []byte) (int, error)
- func (*FrameworkRequest) ProtoMessage()
- func (m *FrameworkRequest) Reset()
- func (m *FrameworkRequest) Size() (n int)
- func (this *FrameworkRequest) String() string
- func (m *FrameworkRequest) Unmarshal(dAtA []byte) error
- func (this *FrameworkRequest) VerboseEqual(that interface{}) error
- func (m *FrameworkRequest) XXX_DiscardUnknown()
- func (m *FrameworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrameworkRequest) XXX_Merge(src proto.Message)
- func (m *FrameworkRequest) XXX_Size() int
- func (m *FrameworkRequest) XXX_Unmarshal(b []byte) error
- type GPUOptions
- func (*GPUOptions) Descriptor() ([]byte, []int)
- func (this *GPUOptions) Equal(that interface{}) bool
- func (m *GPUOptions) GetAllocatorType() string
- func (m *GPUOptions) GetForceGpuCompatible() bool
- func (m *GPUOptions) GetPerProcessGpuMemoryFraction() float64
- func (m *GPUOptions) GetVisibleDeviceList() string
- func (this *GPUOptions) GoString() string
- func (m *GPUOptions) Marshal() (dAtA []byte, err error)
- func (m *GPUOptions) MarshalTo(dAtA []byte) (int, error)
- func (*GPUOptions) ProtoMessage()
- func (m *GPUOptions) Reset()
- func (m *GPUOptions) Size() (n int)
- func (this *GPUOptions) String() string
- func (m *GPUOptions) Unmarshal(dAtA []byte) error
- func (this *GPUOptions) VerboseEqual(that interface{}) error
- func (m *GPUOptions) XXX_DiscardUnknown()
- func (m *GPUOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GPUOptions) XXX_Merge(src proto.Message)
- func (m *GPUOptions) XXX_Size() int
- func (m *GPUOptions) XXX_Unmarshal(b []byte) error
- type GeoLocation
- func (this *GeoLocation) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*GeoLocation) Descriptor() ([]byte, []int)
- func (this *GeoLocation) Equal(that interface{}) bool
- func (m *GeoLocation) GetIndex() int32
- func (m *GeoLocation) GetLatitude() float32
- func (m *GeoLocation) GetLongitude() float32
- func (this *GeoLocation) GoString() string
- func (m *GeoLocation) Marshal() (dAtA []byte, err error)
- func (m *GeoLocation) MarshalTo(dAtA []byte) (int, error)
- func (*GeoLocation) ProtoMessage()
- func (m *GeoLocation) Reset()
- func (m *GeoLocation) Size() (n int)
- func (this *GeoLocation) String() string
- func (m *GeoLocation) Unmarshal(dAtA []byte) error
- func (this *GeoLocation) VerboseEqual(that interface{}) error
- func (m *GeoLocation) XXX_DiscardUnknown()
- func (m *GeoLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GeoLocation) XXX_Merge(src proto.Message)
- func (m *GeoLocation) XXX_Size() int
- func (m *GeoLocation) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (this *Image) Equal(that interface{}) bool
- func (m *Image) GetData() []byte
- func (m *Image) GetID() string
- func (this *Image) GoString() string
- func (m *Image) Marshal() (dAtA []byte, err error)
- func (m *Image) MarshalTo(dAtA []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (this *Image) String() string
- func (m *Image) Unmarshal(dAtA []byte) error
- func (this *Image) VerboseEqual(that interface{}) error
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type ImagesRequest
- func (this *ImagesRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ImagesRequest) Descriptor() ([]byte, []int)
- func (this *ImagesRequest) Equal(that interface{}) bool
- func (m *ImagesRequest) GetImages() []*Image
- func (m *ImagesRequest) GetOptions() *PredictionOptions
- func (m *ImagesRequest) GetPredictor() *Predictor
- func (this *ImagesRequest) GoString() string
- func (m *ImagesRequest) Marshal() (dAtA []byte, err error)
- func (m *ImagesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ImagesRequest) ProtoMessage()
- func (m *ImagesRequest) Reset()
- func (m *ImagesRequest) Size() (n int)
- func (this *ImagesRequest) String() string
- func (m *ImagesRequest) Unmarshal(dAtA []byte) error
- func (this *ImagesRequest) VerboseEqual(that interface{}) error
- func (m *ImagesRequest) XXX_DiscardUnknown()
- func (m *ImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImagesRequest) XXX_Merge(src proto.Message)
- func (m *ImagesRequest) XXX_Size() int
- func (m *ImagesRequest) XXX_Unmarshal(b []byte) error
- type InstanceSegment
- func (this *InstanceSegment) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*InstanceSegment) Descriptor() ([]byte, []int)
- func (this *InstanceSegment) Equal(that interface{}) bool
- func (m *InstanceSegment) GetFloatMask() []float32
- func (m *InstanceSegment) GetHeight() int32
- func (m *InstanceSegment) GetIndex() int32
- func (m *InstanceSegment) GetIntMask() []int32
- func (m *InstanceSegment) GetLabel() string
- func (m *InstanceSegment) GetMaskType() string
- func (m *InstanceSegment) GetWidth() int32
- func (m *InstanceSegment) GetXmax() float32
- func (m *InstanceSegment) GetXmin() float32
- func (m *InstanceSegment) GetYmax() float32
- func (m *InstanceSegment) GetYmin() float32
- func (this *InstanceSegment) GoString() string
- func (m *InstanceSegment) Marshal() (dAtA []byte, err error)
- func (m *InstanceSegment) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceSegment) ProtoMessage()
- func (m *InstanceSegment) Reset()
- func (m *InstanceSegment) Size() (n int)
- func (this *InstanceSegment) String() string
- func (m *InstanceSegment) Unmarshal(dAtA []byte) error
- func (this *InstanceSegment) VerboseEqual(that interface{}) error
- func (m *InstanceSegment) XXX_DiscardUnknown()
- func (m *InstanceSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceSegment) XXX_Merge(src proto.Message)
- func (m *InstanceSegment) XXX_Size() int
- func (m *InstanceSegment) XXX_Unmarshal(b []byte) error
- type Modality
- type ModelManifest
- func (m ModelManifest) CanonicalName() (string, error)
- func (*ModelManifest) Descriptor() ([]byte, []int)
- func (this *ModelManifest) Equal(that interface{}) bool
- func (m ModelManifest) FrameworkConstraint() (*semver.Constraints, error)
- func (m *ModelManifest) GetAfterPostprocess() string
- func (m *ModelManifest) GetAfterPreprocess() string
- func (m *ModelManifest) GetAttributes() map[string]string
- func (m *ModelManifest) GetBeforePostprocess() string
- func (m *ModelManifest) GetBeforePreprocess() string
- func (m *ModelManifest) GetContainer() map[string]*ContainerHardware
- func (m *ModelManifest) GetDescription() string
- func (model ModelManifest) GetElementType() string
- func (m *ModelManifest) GetFramework() *FrameworkManifest
- func (m *ModelManifest) GetHidden() bool
- func (model ModelManifest) GetInputDimensions() ([]int, error)
- func (m *ModelManifest) GetInputs() []*ModelManifest_Type
- func (m *ModelManifest) GetLicense() string
- func (m *ModelManifest) GetModel() *ModelManifest_Model
- func (m *ModelManifest) GetName() string
- func (m *ModelManifest) GetOutput() *ModelManifest_Type
- func (m *ModelManifest) GetPostprocess() string
- func (m *ModelManifest) GetPreprocess() string
- func (m *ModelManifest) GetReference() []string
- func (m *ModelManifest) GetVersion() string
- func (this *ModelManifest) GoString() string
- func (m *ModelManifest) Marshal() (dAtA []byte, err error)
- func (m *ModelManifest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModelManifest) Modality() (Modality, error)
- func (m ModelManifest) MustCanonicalName() string
- func (m ModelManifest) MustResolveFramework() FrameworkManifest
- func (*ModelManifest) ProtoMessage()
- func (m ModelManifest) Register() error
- func (m ModelManifest) RegisterNamed(s string) error
- func (m *ModelManifest) Reset()
- func (m ModelManifest) ResolveFramework() (FrameworkManifest, error)
- func (m *ModelManifest) Size() (n int)
- func (this *ModelManifest) String() string
- func (m *ModelManifest) Unmarshal(dAtA []byte) error
- func (m *ModelManifest) Validate() error
- func (this *ModelManifest) VerboseEqual(that interface{}) error
- func (m *ModelManifest) WorkDir() (string, error)
- func (m *ModelManifest) XXX_DiscardUnknown()
- func (m *ModelManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelManifest) XXX_Merge(src proto.Message)
- func (m *ModelManifest) XXX_Size() int
- func (m *ModelManifest) XXX_Unmarshal(b []byte) error
- type ModelManifest_Model
- func (*ModelManifest_Model) Descriptor() ([]byte, []int)
- func (this *ModelManifest_Model) Equal(that interface{}) bool
- func (m *ModelManifest_Model) GetBaseUrl() string
- func (m *ModelManifest_Model) GetGraphChecksum() string
- func (m *ModelManifest_Model) GetGraphPath() string
- func (m *ModelManifest_Model) GetIsArchive() bool
- func (m *ModelManifest_Model) GetWeightsChecksum() string
- func (m *ModelManifest_Model) GetWeightsPath() string
- func (this *ModelManifest_Model) GoString() string
- func (m *ModelManifest_Model) Marshal() (dAtA []byte, err error)
- func (m *ModelManifest_Model) MarshalTo(dAtA []byte) (int, error)
- func (*ModelManifest_Model) ProtoMessage()
- func (m *ModelManifest_Model) Reset()
- func (m *ModelManifest_Model) Size() (n int)
- func (this *ModelManifest_Model) String() string
- func (m *ModelManifest_Model) Unmarshal(dAtA []byte) error
- func (this *ModelManifest_Model) VerboseEqual(that interface{}) error
- func (m *ModelManifest_Model) XXX_DiscardUnknown()
- func (m *ModelManifest_Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelManifest_Model) XXX_Merge(src proto.Message)
- func (m *ModelManifest_Model) XXX_Size() int
- func (m *ModelManifest_Model) XXX_Unmarshal(b []byte) error
- type ModelManifest_Type
- func (*ModelManifest_Type) Descriptor() ([]byte, []int)
- func (this *ModelManifest_Type) Equal(that interface{}) bool
- func (m *ModelManifest_Type) GetDescription() string
- func (m *ModelManifest_Type) GetParameters() map[string]*ModelManifest_Type_Parameter
- func (m *ModelManifest_Type) GetType() string
- func (this *ModelManifest_Type) GoString() string
- func (m *ModelManifest_Type) Marshal() (dAtA []byte, err error)
- func (m *ModelManifest_Type) MarshalTo(dAtA []byte) (int, error)
- func (*ModelManifest_Type) ProtoMessage()
- func (m *ModelManifest_Type) Reset()
- func (m *ModelManifest_Type) Size() (n int)
- func (this *ModelManifest_Type) String() string
- func (m *ModelManifest_Type) Unmarshal(dAtA []byte) error
- func (this *ModelManifest_Type) VerboseEqual(that interface{}) error
- func (m *ModelManifest_Type) XXX_DiscardUnknown()
- func (m *ModelManifest_Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelManifest_Type) XXX_Merge(src proto.Message)
- func (m *ModelManifest_Type) XXX_Size() int
- func (m *ModelManifest_Type) XXX_Unmarshal(b []byte) error
- type ModelManifest_Type_Parameter
- func (*ModelManifest_Type_Parameter) Descriptor() ([]byte, []int)
- func (this *ModelManifest_Type_Parameter) Equal(that interface{}) bool
- func (m *ModelManifest_Type_Parameter) GetValue() string
- func (this *ModelManifest_Type_Parameter) GoString() string
- func (m *ModelManifest_Type_Parameter) Marshal() (dAtA []byte, err error)
- func (m *ModelManifest_Type_Parameter) MarshalTo(dAtA []byte) (int, error)
- func (param *ModelManifest_Type_Parameter) MarshalYAML() (interface{}, error)
- func (*ModelManifest_Type_Parameter) ProtoMessage()
- func (m *ModelManifest_Type_Parameter) Reset()
- func (m *ModelManifest_Type_Parameter) Size() (n int)
- func (this *ModelManifest_Type_Parameter) String() string
- func (m *ModelManifest_Type_Parameter) Unmarshal(dAtA []byte) error
- func (param *ModelManifest_Type_Parameter) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (this *ModelManifest_Type_Parameter) VerboseEqual(that interface{}) error
- func (m *ModelManifest_Type_Parameter) XXX_DiscardUnknown()
- func (m *ModelManifest_Type_Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelManifest_Type_Parameter) XXX_Merge(src proto.Message)
- func (m *ModelManifest_Type_Parameter) XXX_Size() int
- func (m *ModelManifest_Type_Parameter) XXX_Unmarshal(b []byte) error
- type ModelManifestsResponse
- func (this *ModelManifestsResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ModelManifestsResponse) Descriptor() ([]byte, []int)
- func (this *ModelManifestsResponse) Equal(that interface{}) bool
- func (m *ModelManifestsResponse) GetManifests() []*ModelManifest
- func (this *ModelManifestsResponse) GoString() string
- func (m *ModelManifestsResponse) Marshal() (dAtA []byte, err error)
- func (m *ModelManifestsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ModelManifestsResponse) ProtoMessage()
- func (m *ModelManifestsResponse) Reset()
- func (m *ModelManifestsResponse) Size() (n int)
- func (this *ModelManifestsResponse) String() string
- func (m *ModelManifestsResponse) Unmarshal(dAtA []byte) error
- func (this *ModelManifestsResponse) VerboseEqual(that interface{}) error
- func (m *ModelManifestsResponse) XXX_DiscardUnknown()
- func (m *ModelManifestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelManifestsResponse) XXX_Merge(src proto.Message)
- func (m *ModelManifestsResponse) XXX_Size() int
- func (m *ModelManifestsResponse) XXX_Unmarshal(b []byte) error
- type ModelRequest
- func (this *ModelRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ModelRequest) Descriptor() ([]byte, []int)
- func (this *ModelRequest) Equal(that interface{}) bool
- func (m *ModelRequest) GetFrameworkName() string
- func (m *ModelRequest) GetFrameworkVersion() string
- func (m *ModelRequest) GetModelName() string
- func (m *ModelRequest) GetModelVersion() string
- func (this *ModelRequest) GoString() string
- func (m *ModelRequest) Marshal() (dAtA []byte, err error)
- func (m *ModelRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ModelRequest) ProtoMessage()
- func (m *ModelRequest) Reset()
- func (m *ModelRequest) Size() (n int)
- func (this *ModelRequest) String() string
- func (m *ModelRequest) Unmarshal(dAtA []byte) error
- func (this *ModelRequest) VerboseEqual(that interface{}) error
- func (m *ModelRequest) XXX_DiscardUnknown()
- func (m *ModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelRequest) XXX_Merge(src proto.Message)
- func (m *ModelRequest) XXX_Size() int
- func (m *ModelRequest) XXX_Unmarshal(b []byte) error
- type PredictClient
- type PredictServer
- type PredictionHandle
- type PredictionOptions
- func (this *PredictionOptions) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*PredictionOptions) Descriptor() ([]byte, []int)
- func (this *PredictionOptions) Equal(that interface{}) bool
- func (m *PredictionOptions) GetAgent() string
- func (m *PredictionOptions) GetBatchSize() int32
- func (m *PredictionOptions) GetExecutionOptions() *ExecutionOptions
- func (m *PredictionOptions) GetFeatureLimit() int32
- func (m *PredictionOptions) GetGpuMetrics() string
- func (m *PredictionOptions) GetRequestID() string
- func (this *PredictionOptions) GoString() string
- func (m *PredictionOptions) Marshal() (dAtA []byte, err error)
- func (m *PredictionOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PredictionOptions) ProtoMessage()
- func (m *PredictionOptions) Reset()
- func (m *PredictionOptions) Size() (n int)
- func (this *PredictionOptions) String() string
- func (m *PredictionOptions) Unmarshal(dAtA []byte) error
- func (this *PredictionOptions) VerboseEqual(that interface{}) error
- func (m *PredictionOptions) XXX_DiscardUnknown()
- func (m *PredictionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredictionOptions) XXX_Merge(src proto.Message)
- func (m *PredictionOptions) XXX_Size() int
- func (m *PredictionOptions) XXX_Unmarshal(b []byte) error
- type Predictor
- func (this *Predictor) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Predictor) Descriptor() ([]byte, []int)
- func (this *Predictor) Equal(that interface{}) bool
- func (m *Predictor) GetDuration() *time.Duration
- func (m *Predictor) GetID() string
- func (this *Predictor) GoString() string
- func (m *Predictor) Marshal() (dAtA []byte, err error)
- func (m *Predictor) MarshalTo(dAtA []byte) (int, error)
- func (*Predictor) ProtoMessage()
- func (m *Predictor) Reset()
- func (m *Predictor) Size() (n int)
- func (this *Predictor) String() string
- func (m *Predictor) Unmarshal(dAtA []byte) error
- func (this *Predictor) VerboseEqual(that interface{}) error
- func (m *Predictor) XXX_DiscardUnknown()
- func (m *Predictor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Predictor) XXX_Merge(src proto.Message)
- func (m *Predictor) XXX_Size() int
- func (m *Predictor) XXX_Unmarshal(b []byte) error
- type PredictorCloseRequest
- func (this *PredictorCloseRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*PredictorCloseRequest) Descriptor() ([]byte, []int)
- func (this *PredictorCloseRequest) Equal(that interface{}) bool
- func (m *PredictorCloseRequest) GetForce() bool
- func (m *PredictorCloseRequest) GetPredictor() *Predictor
- func (this *PredictorCloseRequest) GoString() string
- func (m *PredictorCloseRequest) Marshal() (dAtA []byte, err error)
- func (m *PredictorCloseRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PredictorCloseRequest) ProtoMessage()
- func (m *PredictorCloseRequest) Reset()
- func (m *PredictorCloseRequest) Size() (n int)
- func (this *PredictorCloseRequest) String() string
- func (m *PredictorCloseRequest) Unmarshal(dAtA []byte) error
- func (this *PredictorCloseRequest) VerboseEqual(that interface{}) error
- func (m *PredictorCloseRequest) XXX_DiscardUnknown()
- func (m *PredictorCloseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredictorCloseRequest) XXX_Merge(src proto.Message)
- func (m *PredictorCloseRequest) XXX_Size() int
- func (m *PredictorCloseRequest) XXX_Unmarshal(b []byte) error
- type PredictorCloseResponse
- func (*PredictorCloseResponse) Descriptor() ([]byte, []int)
- func (this *PredictorCloseResponse) Equal(that interface{}) bool
- func (m *PredictorCloseResponse) GetDuration() *time.Duration
- func (this *PredictorCloseResponse) GoString() string
- func (m *PredictorCloseResponse) Marshal() (dAtA []byte, err error)
- func (m *PredictorCloseResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PredictorCloseResponse) ProtoMessage()
- func (m *PredictorCloseResponse) Reset()
- func (m *PredictorCloseResponse) Size() (n int)
- func (this *PredictorCloseResponse) String() string
- func (m *PredictorCloseResponse) Unmarshal(dAtA []byte) error
- func (this *PredictorCloseResponse) VerboseEqual(that interface{}) error
- func (m *PredictorCloseResponse) XXX_DiscardUnknown()
- func (m *PredictorCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredictorCloseResponse) XXX_Merge(src proto.Message)
- func (m *PredictorCloseResponse) XXX_Size() int
- func (m *PredictorCloseResponse) XXX_Unmarshal(b []byte) error
- type PredictorOpenRequest
- func (this *PredictorOpenRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*PredictorOpenRequest) Descriptor() ([]byte, []int)
- func (this *PredictorOpenRequest) Equal(that interface{}) bool
- func (m *PredictorOpenRequest) GetFrameworkName() string
- func (m *PredictorOpenRequest) GetFrameworkVersion() string
- func (m *PredictorOpenRequest) GetModelName() string
- func (m *PredictorOpenRequest) GetModelVersion() string
- func (m *PredictorOpenRequest) GetOptions() *PredictionOptions
- func (m *PredictorOpenRequest) GetPersist() bool
- func (this *PredictorOpenRequest) GoString() string
- func (m *PredictorOpenRequest) Marshal() (dAtA []byte, err error)
- func (m *PredictorOpenRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PredictorOpenRequest) ProtoMessage()
- func (m *PredictorOpenRequest) Reset()
- func (m *PredictorOpenRequest) Size() (n int)
- func (this *PredictorOpenRequest) String() string
- func (m *PredictorOpenRequest) Unmarshal(dAtA []byte) error
- func (this *PredictorOpenRequest) VerboseEqual(that interface{}) error
- func (m *PredictorOpenRequest) XXX_DiscardUnknown()
- func (m *PredictorOpenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredictorOpenRequest) XXX_Merge(src proto.Message)
- func (m *PredictorOpenRequest) XXX_Size() int
- func (m *PredictorOpenRequest) XXX_Unmarshal(b []byte) error
- type Raw
- func (this *Raw) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Raw) Descriptor() ([]byte, []int)
- func (this *Raw) Equal(that interface{}) bool
- func (m *Raw) GetData() []byte
- func (m *Raw) GetFormat() string
- func (this *Raw) GoString() string
- func (m *Raw) Marshal() (dAtA []byte, err error)
- func (m *Raw) MarshalTo(dAtA []byte) (int, error)
- func (*Raw) ProtoMessage()
- func (m *Raw) Reset()
- func (m *Raw) Size() (n int)
- func (this *Raw) String() string
- func (m *Raw) Unmarshal(dAtA []byte) error
- func (this *Raw) VerboseEqual(that interface{}) error
- func (m *Raw) XXX_DiscardUnknown()
- func (m *Raw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Raw) XXX_Merge(src proto.Message)
- func (m *Raw) XXX_Size() int
- func (m *Raw) XXX_Unmarshal(b []byte) error
- type RawImage
- func (*RawImage) Descriptor() ([]byte, []int)
- func (this *RawImage) Equal(that interface{}) bool
- func (m *RawImage) GetChannels() int32
- func (m *RawImage) GetCharList() []int32
- func (m *RawImage) GetCompressedData() []byte
- func (m *RawImage) GetDataType() string
- func (m *RawImage) GetFloatList() []float32
- func (m *RawImage) GetHeight() int32
- func (m *RawImage) GetID() string
- func (m *RawImage) GetJpegData() []byte
- func (m *RawImage) GetWidth() int32
- func (this *RawImage) GoString() string
- func (m *RawImage) Marshal() (dAtA []byte, err error)
- func (m *RawImage) MarshalTo(dAtA []byte) (int, error)
- func (*RawImage) ProtoMessage()
- func (m *RawImage) Reset()
- func (m *RawImage) Size() (n int)
- func (this *RawImage) String() string
- func (m *RawImage) Unmarshal(dAtA []byte) error
- func (this *RawImage) VerboseEqual(that interface{}) error
- func (m *RawImage) XXX_DiscardUnknown()
- func (m *RawImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawImage) XXX_Merge(src proto.Message)
- func (m *RawImage) XXX_Size() int
- func (m *RawImage) XXX_Unmarshal(b []byte) error
- type Region
- func (this *Region) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Region) Descriptor() ([]byte, []int)
- func (this *Region) Equal(that interface{}) bool
- func (m *Region) GetData() []byte
- func (m *Region) GetFormat() string
- func (this *Region) GoString() string
- func (m *Region) Marshal() (dAtA []byte, err error)
- func (m *Region) MarshalTo(dAtA []byte) (int, error)
- func (*Region) ProtoMessage()
- func (m *Region) Reset()
- func (m *Region) Size() (n int)
- func (this *Region) String() string
- func (m *Region) Unmarshal(dAtA []byte) error
- func (this *Region) VerboseEqual(that interface{}) error
- func (m *Region) XXX_DiscardUnknown()
- func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Region) XXX_Merge(src proto.Message)
- func (m *Region) XXX_Size() int
- func (m *Region) XXX_Unmarshal(b []byte) error
- type RegistryClient
- type RegistryServer
- type ResetRequest
- func (this *ResetRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ResetRequest) Descriptor() ([]byte, []int)
- func (this *ResetRequest) Equal(that interface{}) bool
- func (m *ResetRequest) GetID() string
- func (m *ResetRequest) GetPredictor() *Predictor
- func (this *ResetRequest) GoString() string
- func (m *ResetRequest) Marshal() (dAtA []byte, err error)
- func (m *ResetRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ResetRequest) ProtoMessage()
- func (m *ResetRequest) Reset()
- func (m *ResetRequest) Size() (n int)
- func (this *ResetRequest) String() string
- func (m *ResetRequest) Unmarshal(dAtA []byte) error
- func (this *ResetRequest) VerboseEqual(that interface{}) error
- func (m *ResetRequest) XXX_DiscardUnknown()
- func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetRequest) XXX_Merge(src proto.Message)
- func (m *ResetRequest) XXX_Size() int
- func (m *ResetRequest) XXX_Unmarshal(b []byte) error
- type ResetResponse
- func (this *ResetResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*ResetResponse) Descriptor() ([]byte, []int)
- func (this *ResetResponse) Equal(that interface{}) bool
- func (this *ResetResponse) GoString() string
- func (m *ResetResponse) Marshal() (dAtA []byte, err error)
- func (m *ResetResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ResetResponse) ProtoMessage()
- func (m *ResetResponse) Reset()
- func (m *ResetResponse) Size() (n int)
- func (this *ResetResponse) String() string
- func (m *ResetResponse) Unmarshal(dAtA []byte) error
- func (this *ResetResponse) VerboseEqual(that interface{}) error
- func (m *ResetResponse) XXX_DiscardUnknown()
- func (m *ResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetResponse) XXX_Merge(src proto.Message)
- func (m *ResetResponse) XXX_Size() int
- func (m *ResetResponse) XXX_Unmarshal(b []byte) error
- type SemanticSegment
- func (this *SemanticSegment) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*SemanticSegment) Descriptor() ([]byte, []int)
- func (this *SemanticSegment) Equal(that interface{}) bool
- func (m *SemanticSegment) GetHeight() int32
- func (m *SemanticSegment) GetIntMask() []int32
- func (m *SemanticSegment) GetWidth() int32
- func (this *SemanticSegment) GoString() string
- func (m *SemanticSegment) Marshal() (dAtA []byte, err error)
- func (m *SemanticSegment) MarshalTo(dAtA []byte) (int, error)
- func (*SemanticSegment) ProtoMessage()
- func (m *SemanticSegment) Reset()
- func (m *SemanticSegment) Size() (n int)
- func (this *SemanticSegment) String() string
- func (m *SemanticSegment) Unmarshal(dAtA []byte) error
- func (this *SemanticSegment) VerboseEqual(that interface{}) error
- func (m *SemanticSegment) XXX_DiscardUnknown()
- func (m *SemanticSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SemanticSegment) XXX_Merge(src proto.Message)
- func (m *SemanticSegment) XXX_Size() int
- func (m *SemanticSegment) XXX_Unmarshal(b []byte) error
- type Text
- func (this *Text) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Text) Descriptor() ([]byte, []int)
- func (this *Text) Equal(that interface{}) bool
- func (m *Text) GetData() []byte
- func (this *Text) GoString() string
- func (m *Text) Marshal() (dAtA []byte, err error)
- func (m *Text) MarshalTo(dAtA []byte) (int, error)
- func (*Text) ProtoMessage()
- func (m *Text) Reset()
- func (m *Text) Size() (n int)
- func (this *Text) String() string
- func (m *Text) Unmarshal(dAtA []byte) error
- func (this *Text) VerboseEqual(that interface{}) error
- func (m *Text) XXX_DiscardUnknown()
- func (m *Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Text) XXX_Merge(src proto.Message)
- func (m *Text) XXX_Size() int
- func (m *Text) XXX_Unmarshal(b []byte) error
- type TextRequest
- func (this *TextRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*TextRequest) Descriptor() ([]byte, []int)
- func (this *TextRequest) Equal(that interface{}) bool
- func (m *TextRequest) GetOptions() *PredictionOptions
- func (m *TextRequest) GetPredictor() *Predictor
- func (m *TextRequest) GetTexts() []*Text
- func (this *TextRequest) GoString() string
- func (m *TextRequest) Marshal() (dAtA []byte, err error)
- func (m *TextRequest) MarshalTo(dAtA []byte) (int, error)
- func (*TextRequest) ProtoMessage()
- func (m *TextRequest) Reset()
- func (m *TextRequest) Size() (n int)
- func (this *TextRequest) String() string
- func (m *TextRequest) Unmarshal(dAtA []byte) error
- func (this *TextRequest) VerboseEqual(that interface{}) error
- func (m *TextRequest) XXX_DiscardUnknown()
- func (m *TextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TextRequest) XXX_Merge(src proto.Message)
- func (m *TextRequest) XXX_Size() int
- func (m *TextRequest) XXX_Unmarshal(b []byte) error
- type TraceID
- func (*TraceID) Descriptor() ([]byte, []int)
- func (this *TraceID) Equal(that interface{}) bool
- func (m *TraceID) GetId() string
- func (this *TraceID) GoString() string
- func (m *TraceID) Marshal() (dAtA []byte, err error)
- func (m *TraceID) MarshalTo(dAtA []byte) (int, error)
- func (*TraceID) ProtoMessage()
- func (m *TraceID) Reset()
- func (m *TraceID) Size() (n int)
- func (this *TraceID) String() string
- func (m *TraceID) Unmarshal(dAtA []byte) error
- func (this *TraceID) VerboseEqual(that interface{}) error
- func (m *TraceID) XXX_DiscardUnknown()
- func (m *TraceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceID) XXX_Merge(src proto.Message)
- func (m *TraceID) XXX_Size() int
- func (m *TraceID) XXX_Unmarshal(b []byte) error
- type URLsRequest
- func (this *URLsRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*URLsRequest) Descriptor() ([]byte, []int)
- func (this *URLsRequest) Equal(that interface{}) bool
- func (m *URLsRequest) GetOptions() *PredictionOptions
- func (m *URLsRequest) GetPredictor() *Predictor
- func (m *URLsRequest) GetUrls() []*URLsRequest_URL
- func (this *URLsRequest) GoString() string
- func (m *URLsRequest) Marshal() (dAtA []byte, err error)
- func (m *URLsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*URLsRequest) ProtoMessage()
- func (m *URLsRequest) Reset()
- func (m *URLsRequest) Size() (n int)
- func (this *URLsRequest) String() string
- func (m *URLsRequest) Unmarshal(dAtA []byte) error
- func (this *URLsRequest) VerboseEqual(that interface{}) error
- func (m *URLsRequest) XXX_DiscardUnknown()
- func (m *URLsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *URLsRequest) XXX_Merge(src proto.Message)
- func (m *URLsRequest) XXX_Size() int
- func (m *URLsRequest) XXX_Unmarshal(b []byte) error
- type URLsRequest_URL
- func (*URLsRequest_URL) Descriptor() ([]byte, []int)
- func (this *URLsRequest_URL) Equal(that interface{}) bool
- func (m *URLsRequest_URL) GetData() string
- func (m *URLsRequest_URL) GetID() string
- func (this *URLsRequest_URL) GoString() string
- func (m *URLsRequest_URL) Marshal() (dAtA []byte, err error)
- func (m *URLsRequest_URL) MarshalTo(dAtA []byte) (int, error)
- func (*URLsRequest_URL) ProtoMessage()
- func (m *URLsRequest_URL) Reset()
- func (m *URLsRequest_URL) Size() (n int)
- func (this *URLsRequest_URL) String() string
- func (m *URLsRequest_URL) Unmarshal(dAtA []byte) error
- func (this *URLsRequest_URL) VerboseEqual(that interface{}) error
- func (m *URLsRequest_URL) XXX_DiscardUnknown()
- func (m *URLsRequest_URL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *URLsRequest_URL) XXX_Merge(src proto.Message)
- func (m *URLsRequest_URL) XXX_Size() int
- func (m *URLsRequest_URL) XXX_Unmarshal(b []byte) error
- type UnimplementedPredictServer
- func (*UnimplementedPredictServer) Close(ctx context.Context, req *PredictorCloseRequest) (*PredictorCloseResponse, error)
- func (*UnimplementedPredictServer) Dataset(ctx context.Context, req *DatasetRequest) (*FeaturesResponse, error)
- func (*UnimplementedPredictServer) Images(ctx context.Context, req *ImagesRequest) (*FeaturesResponse, error)
- func (*UnimplementedPredictServer) Open(ctx context.Context, req *PredictorOpenRequest) (*Predictor, error)
- func (*UnimplementedPredictServer) Reset(ctx context.Context, req *ResetRequest) (*ResetResponse, error)
- func (*UnimplementedPredictServer) URLs(ctx context.Context, req *URLsRequest) (*FeaturesResponse, error)
- type UnimplementedRegistryServer
- func (*UnimplementedRegistryServer) FrameworkAgents(ctx context.Context, req *FrameworkRequest) (*Agents, error)
- func (*UnimplementedRegistryServer) FrameworkManifests(ctx context.Context, req *FrameworkRequest) (*FrameworkManifestsResponse, error)
- func (*UnimplementedRegistryServer) ModelAgents(ctx context.Context, req *ModelRequest) (*Agents, error)
- func (*UnimplementedRegistryServer) ModelManifests(ctx context.Context, req *ModelRequest) (*ModelManifestsResponse, error)
Constants ¶
const (
Swagger = dlframework_swagger
)
Variables ¶
var ( ErrInvalidLengthFeatures = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFeatures = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthPredictor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPredictor = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthRegistry = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRegistry = fmt.Errorf("proto: integer overflow") )
var ( RegistryServiceDescription = _Registry_serviceDesc PredictServiceDescription = _Predict_serviceDesc )
var DefaultModelElementType string = "float32"
var ExecutionOptions_TraceLevel_name = map[int32]string{
0: "NO_TRACE",
1: "APPLICATION_TRACE",
2: "MODEL_TRACE",
3: "FRAMEWORK_TRACE",
4: "ML_LIBRARY_TRACE",
5: "SYSTEM_LIBRARY_TRACE",
6: "HARDWARE_TRACE",
7: "FULL_TRACE",
}
var ExecutionOptions_TraceLevel_value = map[string]int32{
"NO_TRACE": 0,
"APPLICATION_TRACE": 1,
"MODEL_TRACE": 2,
"FRAMEWORK_TRACE": 3,
"ML_LIBRARY_TRACE": 4,
"SYSTEM_LIBRARY_TRACE": 5,
"HARDWARE_TRACE": 6,
"FULL_TRACE": 7,
}
var FeatureType_name = map[int32]string{
0: "UNKNOWN",
1: "IMAGE",
2: "RAW_IMAGE",
3: "CLASSIFICATION",
4: "BOUNDINGBOX",
5: "SEMANTICSEGMENT",
6: "INSTANCESEGMENT",
7: "GEOLOCATION",
8: "REGION",
9: "TEXT",
10: "AUDIO",
100: "RAW",
}
var FeatureType_value = map[string]int32{
"UNKNOWN": 0,
"IMAGE": 1,
"RAW_IMAGE": 2,
"CLASSIFICATION": 3,
"BOUNDINGBOX": 4,
"SEMANTICSEGMENT": 5,
"INSTANCESEGMENT": 6,
"GEOLOCATION": 7,
"REGION": 8,
"TEXT": 9,
"AUDIO": 10,
"RAW": 100,
}
var Version = "0.2.22"
Functions ¶
func Bhattacharyya ¶
Bhattacharyya computes the distance between the probability distributions p and q given by:
-\ln ( \sum_i \sqrt{p_i q_i} )
The lengths of p and q must be equal. It is assumed that p and q sum to 1.
func CleanString ¶
func Correlation ¶
Correlation returns the weighted correlation between the samples of x and y with the given means.
sum_i {w_i (x_i - meanX) * (y_i - meanY)} / (stdX * stdY)
The lengths of x and y must be equal. If weights is nil then all of the weights are 1. If weights is not nil, then len(x) must equal len(weights).
func Covariance ¶
Covariance returns the weighted covariance between the samples of x and y.
sum_i {w_i (x_i - meanX) * (y_i - meanY)} / (sum_j {w_j} - 1)
The lengths of x and y must be equal. If weights is nil then all of the weights are 1. If weights is not nil, then len(x) must equal len(weights).
func FeaturesDescription ¶
func FeaturesDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func Hellinger ¶
Hellinger computes the distance between the probability distributions p and q given by:
\sqrt{ 1 - \sum_i \sqrt{p_i q_i} }
The lengths of p and q must be equal. It is assumed that p and q sum to 1.
func JensenShannon ¶
JensenShannon computes the JensenShannon divergence between the distributions p and q. The Jensen-Shannon divergence is defined as
m = 0.5 * (p + q) JS(p, q) = 0.5 ( KL(p, m) + KL(q, m) )
Unlike Kullback-Liebler, the Jensen-Shannon distance is symmetric. The value is between 0 and ln(2).
func KullbackLeibler ¶
KullbackLeibler computes the Kullback-Leibler distance between the distributions p and q. The natural logarithm is used.
sum_i(p_i * log(p_i / q_i))
Note that the Kullback-Leibler distance is not symmetric; KullbackLeibler(p,q) != KullbackLeibler(q,p)
func Mean ¶
Mean computes the weighted mean of the data set.
sum_i {w_i * x_i} / sum_i {w_i}
If weights is nil then all of the weights are 1. If weights is not nil, then len(x) must equal len(weights).
func PartitionStringList ¶
func PredictorDescription ¶
func PredictorDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func RegisterPredictHandler ¶
func RegisterPredictHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPredictHandler registers the http handlers for service Predict to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPredictHandlerClient ¶
func RegisterPredictHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PredictClient) error
RegisterPredictHandlerClient registers the http handlers for service Predict to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PredictClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PredictClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PredictClient" to call the correct interceptors.
func RegisterPredictHandlerFromEndpoint ¶
func RegisterPredictHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPredictHandlerFromEndpoint is same as RegisterPredictHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPredictServer ¶
func RegisterPredictServer(s *grpc.Server, srv PredictServer)
func RegisterRegistryHandler ¶
func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRegistryHandler registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRegistryHandlerClient ¶
func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
RegisterRegistryHandlerClient registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RegistryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RegistryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RegistryClient" to call the correct interceptors.
func RegisterRegistryHandlerFromEndpoint ¶
func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRegistryHandlerFromEndpoint is same as RegisterRegistryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRegistryServer ¶
func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
func RegisteredFrameworkNames ¶
func RegisteredFrameworkNames() []string
func RegisteredModelNames ¶
func RegisteredModelNames() []string
func RegistryDescription ¶
func RegistryDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
Types ¶
type Agent ¶
type Agent struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" yaml:"host,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty" yaml:"port,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty" yaml:"hostname,omitempty"` Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty" yaml:"architecture,omitempty"` Hasgpu bool `protobuf:"varint,5,opt,name=hasgpu,proto3" json:"hasgpu,omitempty" yaml:"hasgpu,omitempty"` Cpuinfo string `protobuf:"bytes,6,opt,name=cpuinfo,proto3" json:"cpuinfo,omitempty" yaml:"cpuinfo,omitempty"` Gpuinfo string `protobuf:"bytes,7,opt,name=gpuinfo,proto3" json:"gpuinfo,omitempty" yaml:"gpuinfo,omitempty"` Frameworks []*FrameworkManifest `protobuf:"bytes,8,rep,name=frameworks,proto3" json:"frameworks,omitempty" yaml:"frameworks,omitempty"` Metadata map[string]string `` /* 183-byte string literal not displayed */ }
func NewPopulatedAgent ¶
func (*Agent) Description ¶
func (this *Agent) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Agent) Descriptor ¶
func (*Agent) GetArchitecture ¶
func (*Agent) GetCpuinfo ¶
func (*Agent) GetFrameworks ¶
func (m *Agent) GetFrameworks() []*FrameworkManifest
func (*Agent) GetGpuinfo ¶
func (*Agent) GetHostname ¶
func (*Agent) GetMetadata ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) VerboseEqual ¶
func (*Agent) XXX_DiscardUnknown ¶
func (m *Agent) XXX_DiscardUnknown()
func (*Agent) XXX_Marshal ¶
func (*Agent) XXX_Unmarshal ¶
type Agents ¶
type Agents struct {
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty" yaml:"agents,omitempty"`
}
func NewPopulatedAgents ¶
func (*Agents) Description ¶
func (this *Agents) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Agents) Descriptor ¶
func (*Agents) ProtoMessage ¶
func (*Agents) ProtoMessage()
func (*Agents) VerboseEqual ¶
func (*Agents) XXX_DiscardUnknown ¶
func (m *Agents) XXX_DiscardUnknown()
func (*Agents) XXX_Marshal ¶
func (*Agents) XXX_Unmarshal ¶
type Audio ¶
type Audio struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" yaml:"data,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty" yaml:"format,omitempty"` }
func NewPopulatedAudio ¶
func (*Audio) Description ¶
func (this *Audio) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Audio) Descriptor ¶
func (*Audio) ProtoMessage ¶
func (*Audio) ProtoMessage()
func (*Audio) VerboseEqual ¶
func (*Audio) XXX_DiscardUnknown ¶
func (m *Audio) XXX_DiscardUnknown()
func (*Audio) XXX_Marshal ¶
func (*Audio) XXX_Unmarshal ¶
type BoundingBox ¶
type BoundingBox struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" yaml:"index,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" yaml:"label,omitempty"` Xmin float32 `protobuf:"fixed32,3,opt,name=xmin,proto3" json:"xmin,omitempty" yaml:"xmin,omitempty"` Xmax float32 `protobuf:"fixed32,4,opt,name=xmax,proto3" json:"xmax,omitempty" yaml:"xmax,omitempty"` Ymin float32 `protobuf:"fixed32,5,opt,name=ymin,proto3" json:"ymin,omitempty" yaml:"ymin,omitempty"` Ymax float32 `protobuf:"fixed32,6,opt,name=ymax,proto3" json:"ymax,omitempty" yaml:"ymax,omitempty"` }
func NewPopulatedBoundingBox ¶
func NewPopulatedBoundingBox(r randyFeatures, easy bool) *BoundingBox
func (*BoundingBox) Area ¶
func (b *BoundingBox) Area() float32
func (*BoundingBox) Description ¶
func (this *BoundingBox) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*BoundingBox) Descriptor ¶
func (*BoundingBox) Descriptor() ([]byte, []int)
func (*BoundingBox) Equal ¶
func (this *BoundingBox) Equal(that interface{}) bool
func (*BoundingBox) GetIndex ¶
func (m *BoundingBox) GetIndex() int32
func (*BoundingBox) GetLabel ¶
func (m *BoundingBox) GetLabel() string
func (*BoundingBox) GetXmax ¶
func (m *BoundingBox) GetXmax() float32
func (*BoundingBox) GetXmin ¶
func (m *BoundingBox) GetXmin() float32
func (*BoundingBox) GetYmax ¶
func (m *BoundingBox) GetYmax() float32
func (*BoundingBox) GetYmin ¶
func (m *BoundingBox) GetYmin() float32
func (*BoundingBox) GoString ¶
func (this *BoundingBox) GoString() string
func (*BoundingBox) Height ¶
func (b *BoundingBox) Height() float32
func (*BoundingBox) Marshal ¶
func (m *BoundingBox) Marshal() (dAtA []byte, err error)
func (*BoundingBox) ProtoMessage ¶
func (*BoundingBox) ProtoMessage()
func (*BoundingBox) Reset ¶
func (m *BoundingBox) Reset()
func (*BoundingBox) Size ¶
func (m *BoundingBox) Size() (n int)
func (*BoundingBox) String ¶
func (this *BoundingBox) String() string
func (*BoundingBox) ToXYWH ¶
func (b *BoundingBox) ToXYWH() []float32
returns a list of the form [xmin, ymin, width, height]
func (*BoundingBox) ToxyXY ¶
func (b *BoundingBox) ToxyXY() []float32
returns a list of the form [xmin, ymin, XMAX, YMAX]
func (*BoundingBox) Unmarshal ¶
func (m *BoundingBox) Unmarshal(dAtA []byte) error
func (*BoundingBox) VerboseEqual ¶
func (this *BoundingBox) VerboseEqual(that interface{}) error
func (*BoundingBox) Width ¶
func (b *BoundingBox) Width() float32
func (*BoundingBox) XXX_DiscardUnknown ¶
func (m *BoundingBox) XXX_DiscardUnknown()
func (*BoundingBox) XXX_Marshal ¶
func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoundingBox) XXX_Merge ¶
func (m *BoundingBox) XXX_Merge(src proto.Message)
func (*BoundingBox) XXX_Size ¶
func (m *BoundingBox) XXX_Size() int
func (*BoundingBox) XXX_Unmarshal ¶
func (m *BoundingBox) XXX_Unmarshal(b []byte) error
type CPUOptions ¶
type CPUOptions struct { }
func NewPopulatedCPUOptions ¶
func NewPopulatedCPUOptions(r randyPredictor, easy bool) *CPUOptions
func (*CPUOptions) Descriptor ¶
func (*CPUOptions) Descriptor() ([]byte, []int)
func (*CPUOptions) Equal ¶
func (this *CPUOptions) Equal(that interface{}) bool
func (*CPUOptions) GoString ¶
func (this *CPUOptions) GoString() string
func (*CPUOptions) Marshal ¶
func (m *CPUOptions) Marshal() (dAtA []byte, err error)
func (*CPUOptions) ProtoMessage ¶
func (*CPUOptions) ProtoMessage()
func (*CPUOptions) Reset ¶
func (m *CPUOptions) Reset()
func (*CPUOptions) Size ¶
func (m *CPUOptions) Size() (n int)
func (*CPUOptions) String ¶
func (this *CPUOptions) String() string
func (*CPUOptions) Unmarshal ¶
func (m *CPUOptions) Unmarshal(dAtA []byte) error
func (*CPUOptions) VerboseEqual ¶
func (this *CPUOptions) VerboseEqual(that interface{}) error
func (*CPUOptions) XXX_DiscardUnknown ¶
func (m *CPUOptions) XXX_DiscardUnknown()
func (*CPUOptions) XXX_Marshal ¶
func (m *CPUOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CPUOptions) XXX_Merge ¶
func (m *CPUOptions) XXX_Merge(src proto.Message)
func (*CPUOptions) XXX_Size ¶
func (m *CPUOptions) XXX_Size() int
func (*CPUOptions) XXX_Unmarshal ¶
func (m *CPUOptions) XXX_Unmarshal(b []byte) error
type Classification ¶
type Classification struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" yaml:"index,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" yaml:"label,omitempty"` }
func NewPopulatedClassification ¶
func NewPopulatedClassification(r randyFeatures, easy bool) *Classification
func (*Classification) Description ¶
func (this *Classification) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Classification) Descriptor ¶
func (*Classification) Descriptor() ([]byte, []int)
func (*Classification) Equal ¶
func (this *Classification) Equal(that interface{}) bool
func (*Classification) GetIndex ¶
func (m *Classification) GetIndex() int32
func (*Classification) GetLabel ¶
func (m *Classification) GetLabel() string
func (*Classification) GoString ¶
func (this *Classification) GoString() string
func (*Classification) Marshal ¶
func (m *Classification) Marshal() (dAtA []byte, err error)
func (*Classification) ProtoMessage ¶
func (*Classification) ProtoMessage()
func (*Classification) Reset ¶
func (m *Classification) Reset()
func (*Classification) Size ¶
func (m *Classification) Size() (n int)
func (*Classification) String ¶
func (this *Classification) String() string
func (*Classification) Unmarshal ¶
func (m *Classification) Unmarshal(dAtA []byte) error
func (*Classification) VerboseEqual ¶
func (this *Classification) VerboseEqual(that interface{}) error
func (*Classification) XXX_DiscardUnknown ¶
func (m *Classification) XXX_DiscardUnknown()
func (*Classification) XXX_Marshal ¶
func (m *Classification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Classification) XXX_Merge ¶
func (m *Classification) XXX_Merge(src proto.Message)
func (*Classification) XXX_Size ¶
func (m *Classification) XXX_Size() int
func (*Classification) XXX_Unmarshal ¶
func (m *Classification) XXX_Unmarshal(b []byte) error
type ContainerHardware ¶
type ContainerHardware struct { Gpu string `protobuf:"bytes,1,opt,name=gpu,proto3" json:"gpu,omitempty" yaml:"gpu,omitempty"` Cpu string `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty" yaml:"cpu,omitempty"` }
func NewPopulatedContainerHardware ¶
func NewPopulatedContainerHardware(r randyRegistry, easy bool) *ContainerHardware
func (*ContainerHardware) Description ¶
func (this *ContainerHardware) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*ContainerHardware) Descriptor ¶
func (*ContainerHardware) Descriptor() ([]byte, []int)
func (*ContainerHardware) Equal ¶
func (this *ContainerHardware) Equal(that interface{}) bool
func (*ContainerHardware) GetCpu ¶
func (m *ContainerHardware) GetCpu() string
func (*ContainerHardware) GetGpu ¶
func (m *ContainerHardware) GetGpu() string
func (*ContainerHardware) GoString ¶
func (this *ContainerHardware) GoString() string
func (*ContainerHardware) Marshal ¶
func (m *ContainerHardware) Marshal() (dAtA []byte, err error)
func (*ContainerHardware) MarshalTo ¶
func (m *ContainerHardware) MarshalTo(dAtA []byte) (int, error)
func (*ContainerHardware) ProtoMessage ¶
func (*ContainerHardware) ProtoMessage()
func (*ContainerHardware) Reset ¶
func (m *ContainerHardware) Reset()
func (*ContainerHardware) Size ¶
func (m *ContainerHardware) Size() (n int)
func (*ContainerHardware) String ¶
func (this *ContainerHardware) String() string
func (*ContainerHardware) Unmarshal ¶
func (m *ContainerHardware) Unmarshal(dAtA []byte) error
func (*ContainerHardware) VerboseEqual ¶
func (this *ContainerHardware) VerboseEqual(that interface{}) error
func (*ContainerHardware) XXX_DiscardUnknown ¶
func (m *ContainerHardware) XXX_DiscardUnknown()
func (*ContainerHardware) XXX_Marshal ¶
func (m *ContainerHardware) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainerHardware) XXX_Merge ¶
func (m *ContainerHardware) XXX_Merge(src proto.Message)
func (*ContainerHardware) XXX_Size ¶
func (m *ContainerHardware) XXX_Size() int
func (*ContainerHardware) XXX_Unmarshal ¶
func (m *ContainerHardware) XXX_Unmarshal(b []byte) error
type DatasetRequest ¶
type DatasetRequest struct { Predictor *Predictor `protobuf:"bytes,1,opt,name=predictor,proto3" json:"predictor,omitempty" yaml:"predictor,omitempty"` Dataset *DatasetRequest_Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty" yaml:"dataset,omitempty"` Options *PredictionOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty" yaml:"options,omitempty"` }
func NewPopulatedDatasetRequest ¶
func NewPopulatedDatasetRequest(r randyPredictor, easy bool) *DatasetRequest
func (*DatasetRequest) Description ¶
func (this *DatasetRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*DatasetRequest) Descriptor ¶
func (*DatasetRequest) Descriptor() ([]byte, []int)
func (*DatasetRequest) Equal ¶
func (this *DatasetRequest) Equal(that interface{}) bool
func (*DatasetRequest) GetDataset ¶
func (m *DatasetRequest) GetDataset() *DatasetRequest_Dataset
func (*DatasetRequest) GetOptions ¶
func (m *DatasetRequest) GetOptions() *PredictionOptions
func (*DatasetRequest) GetPredictor ¶
func (m *DatasetRequest) GetPredictor() *Predictor
func (*DatasetRequest) GoString ¶
func (this *DatasetRequest) GoString() string
func (*DatasetRequest) Marshal ¶
func (m *DatasetRequest) Marshal() (dAtA []byte, err error)
func (*DatasetRequest) ProtoMessage ¶
func (*DatasetRequest) ProtoMessage()
func (*DatasetRequest) Reset ¶
func (m *DatasetRequest) Reset()
func (*DatasetRequest) Size ¶
func (m *DatasetRequest) Size() (n int)
func (*DatasetRequest) String ¶
func (this *DatasetRequest) String() string
func (*DatasetRequest) Unmarshal ¶
func (m *DatasetRequest) Unmarshal(dAtA []byte) error
func (*DatasetRequest) VerboseEqual ¶
func (this *DatasetRequest) VerboseEqual(that interface{}) error
func (*DatasetRequest) XXX_DiscardUnknown ¶
func (m *DatasetRequest) XXX_DiscardUnknown()
func (*DatasetRequest) XXX_Marshal ¶
func (m *DatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatasetRequest) XXX_Merge ¶
func (m *DatasetRequest) XXX_Merge(src proto.Message)
func (*DatasetRequest) XXX_Size ¶
func (m *DatasetRequest) XXX_Size() int
func (*DatasetRequest) XXX_Unmarshal ¶
func (m *DatasetRequest) XXX_Unmarshal(b []byte) error
type DatasetRequest_Dataset ¶
type DatasetRequest_Dataset struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty" yaml:"category,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name,omitempty"` }
func NewPopulatedDatasetRequest_Dataset ¶
func NewPopulatedDatasetRequest_Dataset(r randyPredictor, easy bool) *DatasetRequest_Dataset
func (*DatasetRequest_Dataset) Descriptor ¶
func (*DatasetRequest_Dataset) Descriptor() ([]byte, []int)
func (*DatasetRequest_Dataset) Equal ¶
func (this *DatasetRequest_Dataset) Equal(that interface{}) bool
func (*DatasetRequest_Dataset) GetCategory ¶
func (m *DatasetRequest_Dataset) GetCategory() string
func (*DatasetRequest_Dataset) GetName ¶
func (m *DatasetRequest_Dataset) GetName() string
func (*DatasetRequest_Dataset) GoString ¶
func (this *DatasetRequest_Dataset) GoString() string
func (*DatasetRequest_Dataset) Marshal ¶
func (m *DatasetRequest_Dataset) Marshal() (dAtA []byte, err error)
func (*DatasetRequest_Dataset) MarshalTo ¶
func (m *DatasetRequest_Dataset) MarshalTo(dAtA []byte) (int, error)
func (*DatasetRequest_Dataset) ProtoMessage ¶
func (*DatasetRequest_Dataset) ProtoMessage()
func (*DatasetRequest_Dataset) Reset ¶
func (m *DatasetRequest_Dataset) Reset()
func (*DatasetRequest_Dataset) Size ¶
func (m *DatasetRequest_Dataset) Size() (n int)
func (*DatasetRequest_Dataset) String ¶
func (this *DatasetRequest_Dataset) String() string
func (*DatasetRequest_Dataset) Unmarshal ¶
func (m *DatasetRequest_Dataset) Unmarshal(dAtA []byte) error
func (*DatasetRequest_Dataset) VerboseEqual ¶
func (this *DatasetRequest_Dataset) VerboseEqual(that interface{}) error
func (*DatasetRequest_Dataset) XXX_DiscardUnknown ¶
func (m *DatasetRequest_Dataset) XXX_DiscardUnknown()
func (*DatasetRequest_Dataset) XXX_Marshal ¶
func (m *DatasetRequest_Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatasetRequest_Dataset) XXX_Merge ¶
func (m *DatasetRequest_Dataset) XXX_Merge(src proto.Message)
func (*DatasetRequest_Dataset) XXX_Size ¶
func (m *DatasetRequest_Dataset) XXX_Size() int
func (*DatasetRequest_Dataset) XXX_Unmarshal ¶
func (m *DatasetRequest_Dataset) XXX_Unmarshal(b []byte) error
type ErrorStatus ¶
type ErrorStatus struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty" yaml:"ok,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" yaml:"message,omitempty"` }
func NewPopulatedErrorStatus ¶
func NewPopulatedErrorStatus(r randyRegistry, easy bool) *ErrorStatus
func (*ErrorStatus) Description ¶
func (this *ErrorStatus) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*ErrorStatus) Descriptor ¶
func (*ErrorStatus) Descriptor() ([]byte, []int)
func (*ErrorStatus) Equal ¶
func (this *ErrorStatus) Equal(that interface{}) bool
func (*ErrorStatus) GetMessage ¶
func (m *ErrorStatus) GetMessage() string
func (*ErrorStatus) GetOk ¶
func (m *ErrorStatus) GetOk() bool
func (*ErrorStatus) GoString ¶
func (this *ErrorStatus) GoString() string
func (*ErrorStatus) Marshal ¶
func (m *ErrorStatus) Marshal() (dAtA []byte, err error)
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) Reset ¶
func (m *ErrorStatus) Reset()
func (*ErrorStatus) Size ¶
func (m *ErrorStatus) Size() (n int)
func (*ErrorStatus) String ¶
func (this *ErrorStatus) String() string
func (*ErrorStatus) Unmarshal ¶
func (m *ErrorStatus) Unmarshal(dAtA []byte) error
func (*ErrorStatus) VerboseEqual ¶
func (this *ErrorStatus) VerboseEqual(that interface{}) error
func (*ErrorStatus) XXX_DiscardUnknown ¶
func (m *ErrorStatus) XXX_DiscardUnknown()
func (*ErrorStatus) XXX_Marshal ¶
func (m *ErrorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorStatus) XXX_Merge ¶
func (m *ErrorStatus) XXX_Merge(src proto.Message)
func (*ErrorStatus) XXX_Size ¶
func (m *ErrorStatus) XXX_Size() int
func (*ErrorStatus) XXX_Unmarshal ¶
func (m *ErrorStatus) XXX_Unmarshal(b []byte) error
type ExecutionOptions ¶
type ExecutionOptions struct { TraceId *TraceID `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty" yaml:"trace_id,omitempty"` TraceLevel ExecutionOptions_TraceLevel `` /* 183-byte string literal not displayed */ // Time to wait for operation to complete in milliseconds. TimeoutInMs uint64 `` /* 128-byte string literal not displayed */ // 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 `` /* 213-byte string literal not displayed */ // Options that apply to all CPUs. CpuOptions *CPUOptions `protobuf:"bytes,5,opt,name=cpu_options,json=cpuOptions,proto3" json:"cpu_options,omitempty" yaml:"cpu_options,omitempty"` // Options that apply to all GPUs. GpuOptions *GPUOptions `protobuf:"bytes,6,opt,name=gpu_options,json=gpuOptions,proto3" json:"gpu_options,omitempty" yaml:"gpu_options,omitempty"` }
func NewPopulatedExecutionOptions ¶
func NewPopulatedExecutionOptions(r randyPredictor, easy bool) *ExecutionOptions
func (*ExecutionOptions) Descriptor ¶
func (*ExecutionOptions) Descriptor() ([]byte, []int)
func (*ExecutionOptions) Equal ¶
func (this *ExecutionOptions) Equal(that interface{}) bool
func (*ExecutionOptions) GetCpuOptions ¶
func (m *ExecutionOptions) GetCpuOptions() *CPUOptions
func (*ExecutionOptions) GetDeviceCount ¶
func (m *ExecutionOptions) GetDeviceCount() map[string]int32
func (*ExecutionOptions) GetGpuOptions ¶
func (m *ExecutionOptions) GetGpuOptions() *GPUOptions
func (*ExecutionOptions) GetTimeoutInMs ¶
func (m *ExecutionOptions) GetTimeoutInMs() uint64
func (*ExecutionOptions) GetTraceId ¶
func (m *ExecutionOptions) GetTraceId() *TraceID
func (*ExecutionOptions) GetTraceLevel ¶
func (m *ExecutionOptions) GetTraceLevel() ExecutionOptions_TraceLevel
func (*ExecutionOptions) GoString ¶
func (this *ExecutionOptions) GoString() string
func (*ExecutionOptions) Marshal ¶
func (m *ExecutionOptions) Marshal() (dAtA []byte, err error)
func (*ExecutionOptions) ProtoMessage ¶
func (*ExecutionOptions) ProtoMessage()
func (*ExecutionOptions) Reset ¶
func (m *ExecutionOptions) Reset()
func (*ExecutionOptions) Size ¶
func (m *ExecutionOptions) Size() (n int)
func (*ExecutionOptions) String ¶
func (this *ExecutionOptions) String() string
func (*ExecutionOptions) Unmarshal ¶
func (m *ExecutionOptions) Unmarshal(dAtA []byte) error
func (*ExecutionOptions) VerboseEqual ¶
func (this *ExecutionOptions) VerboseEqual(that interface{}) error
func (*ExecutionOptions) XXX_DiscardUnknown ¶
func (m *ExecutionOptions) XXX_DiscardUnknown()
func (*ExecutionOptions) XXX_Marshal ¶
func (m *ExecutionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionOptions) XXX_Merge ¶
func (m *ExecutionOptions) XXX_Merge(src proto.Message)
func (*ExecutionOptions) XXX_Size ¶
func (m *ExecutionOptions) XXX_Size() int
func (*ExecutionOptions) XXX_Unmarshal ¶
func (m *ExecutionOptions) XXX_Unmarshal(b []byte) error
type ExecutionOptions_TraceLevel ¶
type ExecutionOptions_TraceLevel int32
const ( ExecutionOptions_NO_TRACE ExecutionOptions_TraceLevel = 0 ExecutionOptions_APPLICATION_TRACE ExecutionOptions_TraceLevel = 1 ExecutionOptions_MODEL_TRACE ExecutionOptions_TraceLevel = 2 ExecutionOptions_FRAMEWORK_TRACE ExecutionOptions_TraceLevel = 3 ExecutionOptions_ML_LIBRARY_TRACE ExecutionOptions_TraceLevel = 4 ExecutionOptions_SYSTEM_LIBRARY_TRACE ExecutionOptions_TraceLevel = 5 ExecutionOptions_HARDWARE_TRACE ExecutionOptions_TraceLevel = 6 ExecutionOptions_FULL_TRACE ExecutionOptions_TraceLevel = 7 )
func (ExecutionOptions_TraceLevel) EnumDescriptor ¶
func (ExecutionOptions_TraceLevel) EnumDescriptor() ([]byte, []int)
func (ExecutionOptions_TraceLevel) String ¶
func (x ExecutionOptions_TraceLevel) String() string
type Feature ¶
type Feature struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id,omitempty"` Type FeatureType `` /* 130-byte string literal not displayed */ Probability float32 `protobuf:"fixed32,4,opt,name=probability,proto3" json:"probability,omitempty" yaml:"probability,omitempty"` Metadata map[string]string `` /* 183-byte string literal not displayed */ // Types that are valid to be assigned to Feature: // *Feature_Image // *Feature_RawImage // *Feature_Classification // *Feature_BoundingBox // *Feature_SemanticSegment // *Feature_InstanceSegment // *Feature_Text // *Feature_Region // *Feature_Audio // *Feature_Geolocation // *Feature_Raw Feature isFeature_Feature `protobuf_oneof:"feature"` }
func NewPopulatedFeature ¶
func (*Feature) Description ¶
func (this *Feature) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Feature) Descriptor ¶
func (*Feature) GetBoundingBox ¶
func (m *Feature) GetBoundingBox() *BoundingBox
func (*Feature) GetClassification ¶
func (m *Feature) GetClassification() *Classification
func (*Feature) GetFeature ¶
func (m *Feature) GetFeature() isFeature_Feature
func (*Feature) GetGeolocation ¶
func (m *Feature) GetGeolocation() *GeoLocation
func (*Feature) GetInstanceSegment ¶
func (m *Feature) GetInstanceSegment() *InstanceSegment
func (*Feature) GetMetadata ¶
func (*Feature) GetProbability ¶
func (*Feature) GetRawImage ¶
func (*Feature) GetSemanticSegment ¶
func (m *Feature) GetSemanticSegment() *SemanticSegment
func (*Feature) GetType ¶
func (m *Feature) GetType() FeatureType
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) VerboseEqual ¶
func (*Feature) XXX_DiscardUnknown ¶
func (m *Feature) XXX_DiscardUnknown()
func (*Feature) XXX_Marshal ¶
func (*Feature) XXX_OneofFuncs ¶
func (*Feature) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Feature) XXX_Unmarshal ¶
type FeatureCompareMethod ¶
type FeatureCompareMethod int
const ( FeatureCompuareAutomatic FeatureCompareMethod = iota FeatureCompareTextEditDistance FeatureCompareBoundingBoxIOU )
func FeatureCompareMethodString ¶
func FeatureCompareMethodString(s string) (FeatureCompareMethod, error)
FeatureCompareMethodString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func FeatureCompareMethodValues ¶
func FeatureCompareMethodValues() []FeatureCompareMethod
FeatureCompareMethodValues returns all values of the enum
func (FeatureCompareMethod) IsAFeatureCompareMethod ¶
func (i FeatureCompareMethod) IsAFeatureCompareMethod() bool
IsAFeatureCompareMethod returns "true" if the value is listed in the enum definition. "false" otherwise
func (FeatureCompareMethod) MarshalJSON ¶
func (i FeatureCompareMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for FeatureCompareMethod
func (FeatureCompareMethod) String ¶
func (i FeatureCompareMethod) String() string
func (*FeatureCompareMethod) UnmarshalJSON ¶
func (i *FeatureCompareMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FeatureCompareMethod
type FeatureResponse ¶
type FeatureResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id,omitempty"` RequestID string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty" yaml:"request_id,omitempty"` InputID string `protobuf:"bytes,3,opt,name=input_id,json=inputId,proto3" json:"input_id,omitempty" yaml:"input_id,omitempty"` Features []*Feature `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty" yaml:"features,omitempty"` Metadata map[string]string `` /* 183-byte string literal not displayed */ }
func NewPopulatedFeatureResponse ¶
func NewPopulatedFeatureResponse(r randyPredictor, easy bool) *FeatureResponse
func (*FeatureResponse) Description ¶
func (this *FeatureResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FeatureResponse) Descriptor ¶
func (*FeatureResponse) Descriptor() ([]byte, []int)
func (*FeatureResponse) Equal ¶
func (this *FeatureResponse) Equal(that interface{}) bool
func (*FeatureResponse) GetFeatures ¶
func (m *FeatureResponse) GetFeatures() []*Feature
func (*FeatureResponse) GetID ¶
func (m *FeatureResponse) GetID() string
func (*FeatureResponse) GetInputID ¶
func (m *FeatureResponse) GetInputID() string
func (*FeatureResponse) GetMetadata ¶
func (m *FeatureResponse) GetMetadata() map[string]string
func (*FeatureResponse) GetRequestID ¶
func (m *FeatureResponse) GetRequestID() string
func (*FeatureResponse) GoString ¶
func (this *FeatureResponse) GoString() string
func (*FeatureResponse) Marshal ¶
func (m *FeatureResponse) Marshal() (dAtA []byte, err error)
func (*FeatureResponse) ProtoMessage ¶
func (*FeatureResponse) ProtoMessage()
func (*FeatureResponse) Reset ¶
func (m *FeatureResponse) Reset()
func (*FeatureResponse) Size ¶
func (m *FeatureResponse) Size() (n int)
func (*FeatureResponse) String ¶
func (this *FeatureResponse) String() string
func (*FeatureResponse) Unmarshal ¶
func (m *FeatureResponse) Unmarshal(dAtA []byte) error
func (*FeatureResponse) VerboseEqual ¶
func (this *FeatureResponse) VerboseEqual(that interface{}) error
func (*FeatureResponse) XXX_DiscardUnknown ¶
func (m *FeatureResponse) XXX_DiscardUnknown()
func (*FeatureResponse) XXX_Marshal ¶
func (m *FeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureResponse) XXX_Merge ¶
func (m *FeatureResponse) XXX_Merge(src proto.Message)
func (*FeatureResponse) XXX_Size ¶
func (m *FeatureResponse) XXX_Size() int
func (*FeatureResponse) XXX_Unmarshal ¶
func (m *FeatureResponse) XXX_Unmarshal(b []byte) error
type FeatureType ¶
type FeatureType int32
const ( FeatureType_UNKNOWN FeatureType = 0 FeatureType_IMAGE FeatureType = 1 FeatureType_RAW_IMAGE FeatureType = 2 FeatureType_CLASSIFICATION FeatureType = 3 FeatureType_BOUNDINGBOX FeatureType = 4 FeatureType_SEMANTICSEGMENT FeatureType = 5 FeatureType_INSTANCESEGMENT FeatureType = 6 FeatureType_GEOLOCATION FeatureType = 7 FeatureType_REGION FeatureType = 8 FeatureType_TEXT FeatureType = 9 FeatureType_AUDIO FeatureType = 10 FeatureType_RAW FeatureType = 100 )
func (FeatureType) EnumDescriptor ¶
func (FeatureType) EnumDescriptor() ([]byte, []int)
func (FeatureType) String ¶
func (x FeatureType) String() string
type Feature_Audio ¶
type Feature_Audio struct {
Audio *Audio `protobuf:"bytes,14,opt,name=audio,proto3,oneof"`
}
func NewPopulatedFeature_Audio ¶
func NewPopulatedFeature_Audio(r randyFeatures, easy bool) *Feature_Audio
func (*Feature_Audio) Equal ¶
func (this *Feature_Audio) Equal(that interface{}) bool
func (*Feature_Audio) GoString ¶
func (this *Feature_Audio) GoString() string
func (*Feature_Audio) Size ¶
func (m *Feature_Audio) Size() (n int)
func (*Feature_Audio) String ¶
func (this *Feature_Audio) String() string
func (*Feature_Audio) VerboseEqual ¶
func (this *Feature_Audio) VerboseEqual(that interface{}) error
type Feature_BoundingBox ¶
type Feature_BoundingBox struct {
BoundingBox *BoundingBox `protobuf:"bytes,9,opt,name=bounding_box,json=boundingBox,proto3,oneof"`
}
func NewPopulatedFeature_BoundingBox ¶
func NewPopulatedFeature_BoundingBox(r randyFeatures, easy bool) *Feature_BoundingBox
func (*Feature_BoundingBox) Equal ¶
func (this *Feature_BoundingBox) Equal(that interface{}) bool
func (*Feature_BoundingBox) GoString ¶
func (this *Feature_BoundingBox) GoString() string
func (*Feature_BoundingBox) MarshalTo ¶
func (m *Feature_BoundingBox) MarshalTo(dAtA []byte) (int, error)
func (*Feature_BoundingBox) Size ¶
func (m *Feature_BoundingBox) Size() (n int)
func (*Feature_BoundingBox) String ¶
func (this *Feature_BoundingBox) String() string
func (*Feature_BoundingBox) VerboseEqual ¶
func (this *Feature_BoundingBox) VerboseEqual(that interface{}) error
type Feature_Classification ¶
type Feature_Classification struct {
Classification *Classification `protobuf:"bytes,8,opt,name=classification,proto3,oneof"`
}
func NewPopulatedFeature_Classification ¶
func NewPopulatedFeature_Classification(r randyFeatures, easy bool) *Feature_Classification
func (*Feature_Classification) Equal ¶
func (this *Feature_Classification) Equal(that interface{}) bool
func (*Feature_Classification) GoString ¶
func (this *Feature_Classification) GoString() string
func (*Feature_Classification) MarshalTo ¶
func (m *Feature_Classification) MarshalTo(dAtA []byte) (int, error)
func (*Feature_Classification) Size ¶
func (m *Feature_Classification) Size() (n int)
func (*Feature_Classification) String ¶
func (this *Feature_Classification) String() string
func (*Feature_Classification) VerboseEqual ¶
func (this *Feature_Classification) VerboseEqual(that interface{}) error
type Feature_Geolocation ¶
type Feature_Geolocation struct {
Geolocation *GeoLocation `protobuf:"bytes,15,opt,name=geolocation,proto3,oneof"`
}
func NewPopulatedFeature_Geolocation ¶
func NewPopulatedFeature_Geolocation(r randyFeatures, easy bool) *Feature_Geolocation
func (*Feature_Geolocation) Equal ¶
func (this *Feature_Geolocation) Equal(that interface{}) bool
func (*Feature_Geolocation) GoString ¶
func (this *Feature_Geolocation) GoString() string
func (*Feature_Geolocation) MarshalTo ¶
func (m *Feature_Geolocation) MarshalTo(dAtA []byte) (int, error)
func (*Feature_Geolocation) Size ¶
func (m *Feature_Geolocation) Size() (n int)
func (*Feature_Geolocation) String ¶
func (this *Feature_Geolocation) String() string
func (*Feature_Geolocation) VerboseEqual ¶
func (this *Feature_Geolocation) VerboseEqual(that interface{}) error
type Feature_Image ¶
type Feature_Image struct {
Image *Image `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}
func NewPopulatedFeature_Image ¶
func NewPopulatedFeature_Image(r randyFeatures, easy bool) *Feature_Image
func (*Feature_Image) Equal ¶
func (this *Feature_Image) Equal(that interface{}) bool
func (*Feature_Image) GoString ¶
func (this *Feature_Image) GoString() string
func (*Feature_Image) Size ¶
func (m *Feature_Image) Size() (n int)
func (*Feature_Image) String ¶
func (this *Feature_Image) String() string
func (*Feature_Image) VerboseEqual ¶
func (this *Feature_Image) VerboseEqual(that interface{}) error
type Feature_InstanceSegment ¶
type Feature_InstanceSegment struct {
InstanceSegment *InstanceSegment `protobuf:"bytes,11,opt,name=instance_segment,json=instanceSegment,proto3,oneof"`
}
func NewPopulatedFeature_InstanceSegment ¶
func NewPopulatedFeature_InstanceSegment(r randyFeatures, easy bool) *Feature_InstanceSegment
func (*Feature_InstanceSegment) Equal ¶
func (this *Feature_InstanceSegment) Equal(that interface{}) bool
func (*Feature_InstanceSegment) GoString ¶
func (this *Feature_InstanceSegment) GoString() string
func (*Feature_InstanceSegment) MarshalTo ¶
func (m *Feature_InstanceSegment) MarshalTo(dAtA []byte) (int, error)
func (*Feature_InstanceSegment) Size ¶
func (m *Feature_InstanceSegment) Size() (n int)
func (*Feature_InstanceSegment) String ¶
func (this *Feature_InstanceSegment) String() string
func (*Feature_InstanceSegment) VerboseEqual ¶
func (this *Feature_InstanceSegment) VerboseEqual(that interface{}) error
type Feature_Raw ¶
type Feature_Raw struct {
Raw *Raw `protobuf:"bytes,1000,opt,name=raw,proto3,oneof"`
}
func NewPopulatedFeature_Raw ¶
func NewPopulatedFeature_Raw(r randyFeatures, easy bool) *Feature_Raw
func (*Feature_Raw) Equal ¶
func (this *Feature_Raw) Equal(that interface{}) bool
func (*Feature_Raw) GoString ¶
func (this *Feature_Raw) GoString() string
func (*Feature_Raw) Size ¶
func (m *Feature_Raw) Size() (n int)
func (*Feature_Raw) String ¶
func (this *Feature_Raw) String() string
func (*Feature_Raw) VerboseEqual ¶
func (this *Feature_Raw) VerboseEqual(that interface{}) error
type Feature_RawImage ¶
type Feature_RawImage struct {
RawImage *RawImage `protobuf:"bytes,7,opt,name=raw_image,json=rawImage,proto3,oneof"`
}
func NewPopulatedFeature_RawImage ¶
func NewPopulatedFeature_RawImage(r randyFeatures, easy bool) *Feature_RawImage
func (*Feature_RawImage) Equal ¶
func (this *Feature_RawImage) Equal(that interface{}) bool
func (*Feature_RawImage) GoString ¶
func (this *Feature_RawImage) GoString() string
func (*Feature_RawImage) Size ¶
func (m *Feature_RawImage) Size() (n int)
func (*Feature_RawImage) String ¶
func (this *Feature_RawImage) String() string
func (*Feature_RawImage) VerboseEqual ¶
func (this *Feature_RawImage) VerboseEqual(that interface{}) error
type Feature_Region ¶
type Feature_Region struct {
Region *Region `protobuf:"bytes,13,opt,name=region,proto3,oneof"`
}
func NewPopulatedFeature_Region ¶
func NewPopulatedFeature_Region(r randyFeatures, easy bool) *Feature_Region
func (*Feature_Region) Equal ¶
func (this *Feature_Region) Equal(that interface{}) bool
func (*Feature_Region) GoString ¶
func (this *Feature_Region) GoString() string
func (*Feature_Region) Size ¶
func (m *Feature_Region) Size() (n int)
func (*Feature_Region) String ¶
func (this *Feature_Region) String() string
func (*Feature_Region) VerboseEqual ¶
func (this *Feature_Region) VerboseEqual(that interface{}) error
type Feature_SemanticSegment ¶
type Feature_SemanticSegment struct {
SemanticSegment *SemanticSegment `protobuf:"bytes,10,opt,name=semantic_segment,json=semanticSegment,proto3,oneof"`
}
func NewPopulatedFeature_SemanticSegment ¶
func NewPopulatedFeature_SemanticSegment(r randyFeatures, easy bool) *Feature_SemanticSegment
func (*Feature_SemanticSegment) Equal ¶
func (this *Feature_SemanticSegment) Equal(that interface{}) bool
func (*Feature_SemanticSegment) GoString ¶
func (this *Feature_SemanticSegment) GoString() string
func (*Feature_SemanticSegment) MarshalTo ¶
func (m *Feature_SemanticSegment) MarshalTo(dAtA []byte) (int, error)
func (*Feature_SemanticSegment) Size ¶
func (m *Feature_SemanticSegment) Size() (n int)
func (*Feature_SemanticSegment) String ¶
func (this *Feature_SemanticSegment) String() string
func (*Feature_SemanticSegment) VerboseEqual ¶
func (this *Feature_SemanticSegment) VerboseEqual(that interface{}) error
type Feature_Text ¶
type Feature_Text struct {
Text *Text `protobuf:"bytes,12,opt,name=text,proto3,oneof"`
}
func NewPopulatedFeature_Text ¶
func NewPopulatedFeature_Text(r randyFeatures, easy bool) *Feature_Text
func (*Feature_Text) Equal ¶
func (this *Feature_Text) Equal(that interface{}) bool
func (*Feature_Text) GoString ¶
func (this *Feature_Text) GoString() string
func (*Feature_Text) Size ¶
func (m *Feature_Text) Size() (n int)
func (*Feature_Text) String ¶
func (this *Feature_Text) String() string
func (*Feature_Text) VerboseEqual ¶
func (this *Feature_Text) VerboseEqual(that interface{}) error
type Features ¶
type Features []*Feature
func (Features) KullbackLeiblerDivergence ¶
func (Features) Less ¶
Less reports whether the element with index i should sort before the element with index j.
func (Features) ProbabilitiesApplySoftmaxFloat32 ¶
func (Features) ProbabilitiesApplySoftmaxFloat64 ¶
func (Features) ProbabilitiesFloat32 ¶
func (Features) ProbabilitiesFloat64 ¶
func (Features) ProbabilitiesSoftmaxFloat32 ¶
func (Features) ProbabilitiesSoftmaxFloat64 ¶
type FeaturesResponse ¶
type FeaturesResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id,omitempty"` TraceId *TraceID `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty" yaml:"trace_id,omitempty"` Responses []*FeatureResponse `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty" yaml:"responses,omitempty"` DurationForInference *time.Duration `` /* 175-byte string literal not displayed */ Duration *time.Duration `protobuf:"bytes,5,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration,omitempty"` }
func NewPopulatedFeaturesResponse ¶
func NewPopulatedFeaturesResponse(r randyPredictor, easy bool) *FeaturesResponse
func (*FeaturesResponse) Description ¶
func (this *FeaturesResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FeaturesResponse) Descriptor ¶
func (*FeaturesResponse) Descriptor() ([]byte, []int)
func (*FeaturesResponse) Equal ¶
func (this *FeaturesResponse) Equal(that interface{}) bool
func (*FeaturesResponse) GetDuration ¶
func (m *FeaturesResponse) GetDuration() *time.Duration
func (*FeaturesResponse) GetDurationForInference ¶
func (m *FeaturesResponse) GetDurationForInference() *time.Duration
func (*FeaturesResponse) GetID ¶
func (m *FeaturesResponse) GetID() string
func (*FeaturesResponse) GetResponses ¶
func (m *FeaturesResponse) GetResponses() []*FeatureResponse
func (*FeaturesResponse) GetTraceId ¶
func (m *FeaturesResponse) GetTraceId() *TraceID
func (*FeaturesResponse) GoString ¶
func (this *FeaturesResponse) GoString() string
func (*FeaturesResponse) Marshal ¶
func (m *FeaturesResponse) Marshal() (dAtA []byte, err error)
func (*FeaturesResponse) ProtoMessage ¶
func (*FeaturesResponse) ProtoMessage()
func (*FeaturesResponse) Reset ¶
func (m *FeaturesResponse) Reset()
func (*FeaturesResponse) Size ¶
func (m *FeaturesResponse) Size() (n int)
func (*FeaturesResponse) String ¶
func (this *FeaturesResponse) String() string
func (*FeaturesResponse) Unmarshal ¶
func (m *FeaturesResponse) Unmarshal(dAtA []byte) error
func (*FeaturesResponse) VerboseEqual ¶
func (this *FeaturesResponse) VerboseEqual(that interface{}) error
func (*FeaturesResponse) XXX_DiscardUnknown ¶
func (m *FeaturesResponse) XXX_DiscardUnknown()
func (*FeaturesResponse) XXX_Marshal ¶
func (m *FeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeaturesResponse) XXX_Merge ¶
func (m *FeaturesResponse) XXX_Merge(src proto.Message)
func (*FeaturesResponse) XXX_Size ¶
func (m *FeaturesResponse) XXX_Size() int
func (*FeaturesResponse) XXX_Unmarshal ¶
func (m *FeaturesResponse) XXX_Unmarshal(b []byte) error
type FrameworkManifest ¶
type FrameworkManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" yaml:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" yaml:"version,omitempty"` Container map[string]*ContainerHardware `` /* 186-byte string literal not displayed */ }
func FindFramework ¶
func FindFramework(name string) (*FrameworkManifest, error)
func Frameworks ¶
func Frameworks() ([]FrameworkManifest, error)
func NewPopulatedFrameworkManifest ¶
func NewPopulatedFrameworkManifest(r randyRegistry, easy bool) *FrameworkManifest
func (FrameworkManifest) CanonicalName ¶
func (f FrameworkManifest) CanonicalName() (string, error)
func (*FrameworkManifest) Description ¶
func (this *FrameworkManifest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FrameworkManifest) Descriptor ¶
func (*FrameworkManifest) Descriptor() ([]byte, []int)
func (*FrameworkManifest) Equal ¶
func (this *FrameworkManifest) Equal(that interface{}) bool
func (FrameworkManifest) FindModel ¶
func (f FrameworkManifest) FindModel(name string) (*ModelManifest, error)
func (*FrameworkManifest) GetContainer ¶
func (m *FrameworkManifest) GetContainer() map[string]*ContainerHardware
func (*FrameworkManifest) GetName ¶
func (m *FrameworkManifest) GetName() string
func (*FrameworkManifest) GetVersion ¶
func (m *FrameworkManifest) GetVersion() string
func (*FrameworkManifest) GoString ¶
func (this *FrameworkManifest) GoString() string
func (*FrameworkManifest) Marshal ¶
func (m *FrameworkManifest) Marshal() (dAtA []byte, err error)
func (*FrameworkManifest) MarshalTo ¶
func (m *FrameworkManifest) MarshalTo(dAtA []byte) (int, error)
func (FrameworkManifest) Models ¶
func (f FrameworkManifest) Models() []ModelManifest
func (FrameworkManifest) MustCanonicalName ¶
func (f FrameworkManifest) MustCanonicalName() string
func (*FrameworkManifest) ProtoMessage ¶
func (*FrameworkManifest) ProtoMessage()
func (FrameworkManifest) Register ¶
func (f FrameworkManifest) Register() error
func (FrameworkManifest) RegisterNamed ¶
func (f FrameworkManifest) RegisterNamed(s string) error
func (*FrameworkManifest) Reset ¶
func (m *FrameworkManifest) Reset()
func (*FrameworkManifest) Size ¶
func (m *FrameworkManifest) Size() (n int)
func (*FrameworkManifest) String ¶
func (this *FrameworkManifest) String() string
func (*FrameworkManifest) Unmarshal ¶
func (m *FrameworkManifest) Unmarshal(dAtA []byte) error
func (*FrameworkManifest) VerboseEqual ¶
func (this *FrameworkManifest) VerboseEqual(that interface{}) error
func (*FrameworkManifest) WorkDir ¶
func (f *FrameworkManifest) WorkDir() (string, error)
func (*FrameworkManifest) XXX_DiscardUnknown ¶
func (m *FrameworkManifest) XXX_DiscardUnknown()
func (*FrameworkManifest) XXX_Marshal ¶
func (m *FrameworkManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrameworkManifest) XXX_Merge ¶
func (m *FrameworkManifest) XXX_Merge(src proto.Message)
func (*FrameworkManifest) XXX_Size ¶
func (m *FrameworkManifest) XXX_Size() int
func (*FrameworkManifest) XXX_Unmarshal ¶
func (m *FrameworkManifest) XXX_Unmarshal(b []byte) error
type FrameworkManifestsResponse ¶
type FrameworkManifestsResponse struct {
Manifests []*FrameworkManifest `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty" yaml:"manifests,omitempty"`
}
func NewPopulatedFrameworkManifestsResponse ¶
func NewPopulatedFrameworkManifestsResponse(r randyRegistry, easy bool) *FrameworkManifestsResponse
func (*FrameworkManifestsResponse) Description ¶
func (this *FrameworkManifestsResponse) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FrameworkManifestsResponse) Descriptor ¶
func (*FrameworkManifestsResponse) Descriptor() ([]byte, []int)
func (*FrameworkManifestsResponse) Equal ¶
func (this *FrameworkManifestsResponse) Equal(that interface{}) bool
func (*FrameworkManifestsResponse) GetManifests ¶
func (m *FrameworkManifestsResponse) GetManifests() []*FrameworkManifest
func (*FrameworkManifestsResponse) GoString ¶
func (this *FrameworkManifestsResponse) GoString() string
func (*FrameworkManifestsResponse) Marshal ¶
func (m *FrameworkManifestsResponse) Marshal() (dAtA []byte, err error)
func (*FrameworkManifestsResponse) MarshalTo ¶
func (m *FrameworkManifestsResponse) MarshalTo(dAtA []byte) (int, error)
func (*FrameworkManifestsResponse) ProtoMessage ¶
func (*FrameworkManifestsResponse) ProtoMessage()
func (*FrameworkManifestsResponse) Reset ¶
func (m *FrameworkManifestsResponse) Reset()
func (*FrameworkManifestsResponse) Size ¶
func (m *FrameworkManifestsResponse) Size() (n int)
func (*FrameworkManifestsResponse) String ¶
func (this *FrameworkManifestsResponse) String() string
func (*FrameworkManifestsResponse) Unmarshal ¶
func (m *FrameworkManifestsResponse) Unmarshal(dAtA []byte) error
func (*FrameworkManifestsResponse) VerboseEqual ¶
func (this *FrameworkManifestsResponse) VerboseEqual(that interface{}) error
func (*FrameworkManifestsResponse) XXX_DiscardUnknown ¶
func (m *FrameworkManifestsResponse) XXX_DiscardUnknown()
func (*FrameworkManifestsResponse) XXX_Marshal ¶
func (m *FrameworkManifestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrameworkManifestsResponse) XXX_Merge ¶
func (m *FrameworkManifestsResponse) XXX_Merge(src proto.Message)
func (*FrameworkManifestsResponse) XXX_Size ¶
func (m *FrameworkManifestsResponse) XXX_Size() int
func (*FrameworkManifestsResponse) XXX_Unmarshal ¶
func (m *FrameworkManifestsResponse) XXX_Unmarshal(b []byte) error
type FrameworkRequest ¶
type FrameworkRequest struct { FrameworkName string `` /* 132-byte string literal not displayed */ FrameworkVersion string `` /* 144-byte string literal not displayed */ }
func NewPopulatedFrameworkRequest ¶
func NewPopulatedFrameworkRequest(r randyRegistry, easy bool) *FrameworkRequest
func (*FrameworkRequest) Description ¶
func (this *FrameworkRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FrameworkRequest) Descriptor ¶
func (*FrameworkRequest) Descriptor() ([]byte, []int)
func (*FrameworkRequest) Equal ¶
func (this *FrameworkRequest) Equal(that interface{}) bool
func (*FrameworkRequest) GetFrameworkName ¶
func (m *FrameworkRequest) GetFrameworkName() string
func (*FrameworkRequest) GetFrameworkVersion ¶
func (m *FrameworkRequest) GetFrameworkVersion() string
func (*FrameworkRequest) GoString ¶
func (this *FrameworkRequest) GoString() string
func (*FrameworkRequest) Marshal ¶
func (m *FrameworkRequest) Marshal() (dAtA []byte, err error)
func (*FrameworkRequest) ProtoMessage ¶
func (*FrameworkRequest) ProtoMessage()
func (*FrameworkRequest) Reset ¶
func (m *FrameworkRequest) Reset()
func (*FrameworkRequest) Size ¶
func (m *FrameworkRequest) Size() (n int)
func (*FrameworkRequest) String ¶
func (this *FrameworkRequest) String() string
func (*FrameworkRequest) Unmarshal ¶
func (m *FrameworkRequest) Unmarshal(dAtA []byte) error
func (*FrameworkRequest) VerboseEqual ¶
func (this *FrameworkRequest) VerboseEqual(that interface{}) error
func (*FrameworkRequest) XXX_DiscardUnknown ¶
func (m *FrameworkRequest) XXX_DiscardUnknown()
func (*FrameworkRequest) XXX_Marshal ¶
func (m *FrameworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrameworkRequest) XXX_Merge ¶
func (m *FrameworkRequest) XXX_Merge(src proto.Message)
func (*FrameworkRequest) XXX_Size ¶
func (m *FrameworkRequest) XXX_Size() int
func (*FrameworkRequest) XXX_Unmarshal ¶
func (m *FrameworkRequest) XXX_Unmarshal(b []byte) error
type GPUOptions ¶
type GPUOptions struct { // 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 `` /* 199-byte string literal not displayed */ // 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 `` /* 132-byte string literal not displayed */ // 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 `` /* 151-byte string literal not displayed */ // 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 `` /* 156-byte string literal not displayed */ }
func NewPopulatedGPUOptions ¶
func NewPopulatedGPUOptions(r randyPredictor, easy bool) *GPUOptions
func (*GPUOptions) Descriptor ¶
func (*GPUOptions) Descriptor() ([]byte, []int)
func (*GPUOptions) Equal ¶
func (this *GPUOptions) Equal(that interface{}) bool
func (*GPUOptions) GetAllocatorType ¶
func (m *GPUOptions) GetAllocatorType() string
func (*GPUOptions) GetForceGpuCompatible ¶
func (m *GPUOptions) GetForceGpuCompatible() bool
func (*GPUOptions) GetPerProcessGpuMemoryFraction ¶
func (m *GPUOptions) GetPerProcessGpuMemoryFraction() float64
func (*GPUOptions) GetVisibleDeviceList ¶
func (m *GPUOptions) GetVisibleDeviceList() string
func (*GPUOptions) GoString ¶
func (this *GPUOptions) GoString() string
func (*GPUOptions) Marshal ¶
func (m *GPUOptions) Marshal() (dAtA []byte, err error)
func (*GPUOptions) ProtoMessage ¶
func (*GPUOptions) ProtoMessage()
func (*GPUOptions) Reset ¶
func (m *GPUOptions) Reset()
func (*GPUOptions) Size ¶
func (m *GPUOptions) Size() (n int)
func (*GPUOptions) String ¶
func (this *GPUOptions) String() string
func (*GPUOptions) Unmarshal ¶
func (m *GPUOptions) Unmarshal(dAtA []byte) error
func (*GPUOptions) VerboseEqual ¶
func (this *GPUOptions) VerboseEqual(that interface{}) error
func (*GPUOptions) XXX_DiscardUnknown ¶
func (m *GPUOptions) XXX_DiscardUnknown()
func (*GPUOptions) XXX_Marshal ¶
func (m *GPUOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GPUOptions) XXX_Merge ¶
func (m *GPUOptions) XXX_Merge(src proto.Message)
func (*GPUOptions) XXX_Size ¶
func (m *GPUOptions) XXX_Size() int
func (*GPUOptions) XXX_Unmarshal ¶
func (m *GPUOptions) XXX_Unmarshal(b []byte) error
type GeoLocation ¶
type GeoLocation struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" yaml:"index,omitempty"` Latitude float32 `protobuf:"fixed32,2,opt,name=latitude,proto3" json:"latitude,omitempty" yaml:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,3,opt,name=longitude,proto3" json:"longitude,omitempty" yaml:"longitude,omitempty"` }
func NewPopulatedGeoLocation ¶
func NewPopulatedGeoLocation(r randyFeatures, easy bool) *GeoLocation
func (*GeoLocation) Description ¶
func (this *GeoLocation) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*GeoLocation) Descriptor ¶
func (*GeoLocation) Descriptor() ([]byte, []int)
func (*GeoLocation) Equal ¶
func (this *GeoLocation) Equal(that interface{}) bool
func (*GeoLocation) GetIndex ¶
func (m *GeoLocation) GetIndex() int32
func (*GeoLocation) GetLatitude ¶
func (m *GeoLocation) GetLatitude() float32
func (*GeoLocation) GetLongitude ¶
func (m *GeoLocation) GetLongitude() float32
func (*GeoLocation) GoString ¶
func (this *GeoLocation) GoString() string
func (*GeoLocation) Marshal ¶
func (m *GeoLocation) Marshal() (dAtA []byte, err error)
func (*GeoLocation) ProtoMessage ¶
func (*GeoLocation) ProtoMessage()
func (*GeoLocation) Reset ¶
func (m *GeoLocation) Reset()
func (*GeoLocation) Size ¶
func (m *GeoLocation) Size() (n int)
func (*GeoLocation) String ¶
func (this *GeoLocation) String() string
func (*GeoLocation) Unmarshal ¶
func (m *GeoLocation) Unmarshal(dAtA []byte) error
func (*GeoLocation) VerboseEqual ¶
func (this *GeoLocation) VerboseEqual(that interface{}) error
func (*GeoLocation) XXX_DiscardUnknown ¶
func (m *GeoLocation) XXX_DiscardUnknown()
func (*GeoLocation) XXX_Marshal ¶
func (m *GeoLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoLocation) XXX_Merge ¶
func (m *GeoLocation) XXX_Merge(src proto.Message)
func (*GeoLocation) XXX_Size ¶
func (m *GeoLocation) XXX_Size() int
func (*GeoLocation) XXX_Unmarshal ¶
func (m *GeoLocation) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { // An id used to identify the output feature: maps to input_id for output ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id,omitempty"` // The image is base64 encoded Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" yaml:"data,omitempty"` }
func NewPopulatedImage ¶
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) VerboseEqual ¶
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type ImagesRequest ¶
type ImagesRequest struct { Predictor *Predictor `protobuf:"bytes,1,opt,name=predictor,proto3" json:"predictor,omitempty" yaml:"predictor,omitempty"` // A list of Base64 encoded images Images []*Image `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty" yaml:"images,omitempty"` Options *PredictionOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty" yaml:"options,omitempty"` }
func NewPopulatedImagesRequest ¶
func NewPopulatedImagesRequest(r randyPredictor, easy bool) *ImagesRequest
func (*ImagesRequest) Description ¶
func (this *ImagesRequest) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*ImagesRequest) Descriptor ¶
func (*ImagesRequest) Descriptor() ([]byte, []int)
func (*ImagesRequest) Equal ¶
func (this *ImagesRequest) Equal(that interface{}) bool
func (*ImagesRequest) GetImages ¶
func (m *ImagesRequest) GetImages() []*Image
func (*ImagesRequest) GetOptions ¶
func (m *ImagesRequest) GetOptions() *PredictionOptions
func (*ImagesRequest) GetPredictor ¶
func (m *ImagesRequest) GetPredictor() *Predictor
func (*ImagesRequest) GoString ¶
func (this *ImagesRequest) GoString() string
func (*ImagesRequest) Marshal ¶
func (m *ImagesRequest) Marshal() (dAtA []byte, err error)
func (*ImagesRequest) ProtoMessage ¶
func (*ImagesRequest) ProtoMessage()
func (*ImagesRequest) Reset ¶
func (m *ImagesRequest) Reset()
func (*ImagesRequest) Size ¶
func (m *ImagesRequest) Size() (n int)
func (*ImagesRequest) String ¶
func (this *ImagesRequest) String() string
func (*ImagesRequest) Unmarshal ¶
func (m *ImagesRequest) Unmarshal(dAtA []byte) error
func (*ImagesRequest) VerboseEqual ¶
func (this *ImagesRequest) VerboseEqual(that interface{}) error
func (*ImagesRequest) XXX_DiscardUnknown ¶
func (m *ImagesRequest) XXX_DiscardUnknown()
func (*ImagesRequest) XXX_Marshal ¶
func (m *ImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImagesRequest) XXX_Merge ¶
func (m *ImagesRequest) XXX_Merge(src proto.Message)
func (*ImagesRequest) XXX_Size ¶
func (m *ImagesRequest) XXX_Size() int
func (*ImagesRequest) XXX_Unmarshal ¶
func (m *ImagesRequest) XXX_Unmarshal(b []byte) error
type InstanceSegment ¶
type InstanceSegment struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" yaml:"index,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" yaml:"label,omitempty"` Xmin float32 `protobuf:"fixed32,3,opt,name=xmin,proto3" json:"xmin,omitempty" yaml:"xmin,omitempty"` Xmax float32 `protobuf:"fixed32,4,opt,name=xmax,proto3" json:"xmax,omitempty" yaml:"xmax,omitempty"` Ymin float32 `protobuf:"fixed32,5,opt,name=ymin,proto3" json:"ymin,omitempty" yaml:"ymin,omitempty"` Ymax float32 `protobuf:"fixed32,6,opt,name=ymax,proto3" json:"ymax,omitempty" yaml:"ymax,omitempty"` MaskType string `protobuf:"bytes,7,opt,name=mask_type,json=maskType,proto3" json:"mask_type,omitempty" yaml:"mask_type,omitempty"` Height int32 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty" yaml:"height,omitempty"` Width int32 `protobuf:"varint,9,opt,name=width,proto3" json:"width,omitempty" yaml:"width,omitempty"` IntMask []int32 `protobuf:"varint,10,rep,packed,name=int_mask,json=intMask,proto3" json:"int_mask,omitempty" yaml:"int_mask,omitempty"` FloatMask []float32 `` /* 126-byte string literal not displayed */ }
func NewPopulatedInstanceSegment ¶
func NewPopulatedInstanceSegment(r randyFeatures, easy bool) *InstanceSegment
func (*InstanceSegment) Description ¶
func (this *InstanceSegment) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*InstanceSegment) Descriptor ¶
func (*InstanceSegment) Descriptor() ([]byte, []int)
func (*InstanceSegment) Equal ¶
func (this *InstanceSegment) Equal(that interface{}) bool
func (*InstanceSegment) GetFloatMask ¶
func (m *InstanceSegment) GetFloatMask() []float32
func (*InstanceSegment) GetHeight ¶
func (m *InstanceSegment) GetHeight() int32
func (*InstanceSegment) GetIndex ¶
func (m *InstanceSegment) GetIndex() int32
func (*InstanceSegment) GetIntMask ¶
func (m *InstanceSegment) GetIntMask() []int32
func (*InstanceSegment) GetLabel ¶
func (m *InstanceSegment) GetLabel() string
func (*InstanceSegment) GetMaskType ¶
func (m *InstanceSegment) GetMaskType() string
func (*InstanceSegment) GetWidth ¶
func (m *InstanceSegment) GetWidth() int32
func (*InstanceSegment) GetXmax ¶
func (m *InstanceSegment) GetXmax() float32
func (*InstanceSegment) GetXmin ¶
func (m *InstanceSegment) GetXmin() float32
func (*InstanceSegment) GetYmax ¶
func (m *InstanceSegment) GetYmax() float32
func (*InstanceSegment) GetYmin ¶
func (m *InstanceSegment) GetYmin() float32
func (*InstanceSegment) GoString ¶
func (this *InstanceSegment) GoString() string
func (*InstanceSegment) Marshal ¶
func (m *InstanceSegment) Marshal() (dAtA []byte, err error)
func (*InstanceSegment) ProtoMessage ¶
func (*InstanceSegment) ProtoMessage()
func (*InstanceSegment) Reset ¶
func (m *InstanceSegment) Reset()
func (*InstanceSegment) Size ¶
func (m *InstanceSegment) Size() (n int)
func (*InstanceSegment) String ¶
func (this *InstanceSegment) String() string
func (*InstanceSegment) Unmarshal ¶
func (m *InstanceSegment) Unmarshal(dAtA []byte) error
func (*InstanceSegment) VerboseEqual ¶
func (this *InstanceSegment) VerboseEqual(that interface{}) error
func (*InstanceSegment) XXX_DiscardUnknown ¶
func (m *InstanceSegment) XXX_DiscardUnknown()
func (*InstanceSegment) XXX_Marshal ¶
func (m *InstanceSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceSegment) XXX_Merge ¶
func (m *InstanceSegment) XXX_Merge(src proto.Message)
func (*InstanceSegment) XXX_Size ¶
func (m *InstanceSegment) XXX_Size() int
func (*InstanceSegment) XXX_Unmarshal ¶
func (m *InstanceSegment) XXX_Unmarshal(b []byte) error
type Modality ¶
type Modality string
const ( UnknownModality Modality = "unknown_modality" ImageObjectDetectionModality Modality = "image_object_detection" ImageClassificationModality Modality = "image_classification" ImageInstanceSegmentationModality Modality = "image_instance_segmentation" ImageSemanticSegmentationModality Modality = "image_semantic_segmentation" ImageEnhancementModality Modality = "image_enhancement" RawModality Modality = "raw" )
type ModelManifest ¶
type ModelManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" yaml:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" yaml:"version,omitempty"` Framework *FrameworkManifest `protobuf:"bytes,3,opt,name=framework,proto3" json:"framework,omitempty" yaml:"framework,omitempty"` Container map[string]*ContainerHardware `` /* 186-byte string literal not displayed */ Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" yaml:"description,omitempty"` Reference []string `protobuf:"bytes,6,rep,name=reference,proto3" json:"reference,omitempty" yaml:"references,omitempty"` License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty" yaml:"license,omitempty"` Inputs []*ModelManifest_Type `protobuf:"bytes,8,rep,name=inputs,proto3" json:"inputs,omitempty" yaml:"inputs,omitempty"` Output *ModelManifest_Type `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty" yaml:"output,omitempty"` BeforePreprocess string `` /* 145-byte string literal not displayed */ Preprocess string `protobuf:"bytes,11,opt,name=preprocess,proto3" json:"preprocess,omitempty" yaml:"preprocess,omitempty"` AfterPreprocess string `` /* 141-byte string literal not displayed */ BeforePostprocess string `` /* 149-byte string literal not displayed */ Postprocess string `protobuf:"bytes,14,opt,name=postprocess,proto3" json:"postprocess,omitempty" yaml:"postprocess,omitempty"` AfterPostprocess string `` /* 145-byte string literal not displayed */ Model *ModelManifest_Model `protobuf:"bytes,16,opt,name=model,proto3" json:"model,omitempty" yaml:"model,omitempty"` Attributes map[string]string `` /* 190-byte string literal not displayed */ Hidden bool `protobuf:"varint,18,opt,name=hidden,proto3" json:"hidden,omitempty" yaml:"hidden,omitempty"` }
func FindModel ¶
func FindModel(name string) (*ModelManifest, error)
func Models ¶
func Models() ([]ModelManifest, error)
func NewPopulatedModelManifest ¶
func NewPopulatedModelManifest(r randyRegistry, easy bool) *ModelManifest
func (ModelManifest) CanonicalName ¶
func (m ModelManifest) CanonicalName() (string, error)
func (*ModelManifest) Descriptor ¶
func (*ModelManifest) Descriptor() ([]byte, []int)
func (*ModelManifest) Equal ¶
func (this *ModelManifest) Equal(that interface{}) bool
func (ModelManifest) FrameworkConstraint ¶
func (m ModelManifest) FrameworkConstraint() (*semver.Constraints, error)
func (*ModelManifest) GetAfterPostprocess ¶
func (m *ModelManifest) GetAfterPostprocess() string
func (*ModelManifest) GetAfterPreprocess ¶
func (m *ModelManifest) GetAfterPreprocess() string
func (*ModelManifest) GetAttributes ¶
func (m *ModelManifest) GetAttributes() map[string]string
func (*ModelManifest) GetBeforePostprocess ¶
func (m *ModelManifest) GetBeforePostprocess() string
func (*ModelManifest) GetBeforePreprocess ¶
func (m *ModelManifest) GetBeforePreprocess() string
func (*ModelManifest) GetContainer ¶
func (m *ModelManifest) GetContainer() map[string]*ContainerHardware
func (*ModelManifest) GetDescription ¶
func (m *ModelManifest) GetDescription() string
func (ModelManifest) GetElementType ¶
func (model ModelManifest) GetElementType() string
func (*ModelManifest) GetFramework ¶
func (m *ModelManifest) GetFramework() *FrameworkManifest
func (*ModelManifest) GetHidden ¶
func (m *ModelManifest) GetHidden() bool
func (ModelManifest) GetInputDimensions ¶
func (model ModelManifest) GetInputDimensions() ([]int, error)
func (*ModelManifest) GetInputs ¶
func (m *ModelManifest) GetInputs() []*ModelManifest_Type
func (*ModelManifest) GetLicense ¶
func (m *ModelManifest) GetLicense() string
func (*ModelManifest) GetModel ¶
func (m *ModelManifest) GetModel() *ModelManifest_Model
func (*ModelManifest) GetName ¶
func (m *ModelManifest) GetName() string