Documentation
¶
Overview ¶
Package dlframework is a generated protocol buffer package. It is generated from these files: dlframework.proto It has these top-level messages: ErrorStatus ContainerHardware FrameworkManifest ModelManifest FrameworkRequest FrameworkManifestsResponse Agent Agents ModelRequest ModelManifestsResponse PredictRequest PredictionFeature PredictResponse
Package dlframework is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterPredictorHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPredictorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPredictorServer(s *grpc.Server, srv PredictorServer)
- func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) 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
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)
- func (this *Agent) Equal(that interface{}) bool
- func (m *Agent) GetHost() 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
- type Agents
- 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
- type ContainerHardware
- 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
- type ErrorStatus
- 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
- type FrameworkManifest
- func (f FrameworkManifest) CanonicalName() (string, error)
- 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)
- type FrameworkManifestsResponse
- 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
- type FrameworkRequest
- 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
- 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 (m *ModelManifest) GetFramework() *FrameworkManifest
- func (m *ModelManifest) GetHidden() bool
- 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) MustCanonicalName() string
- 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)
- 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) GetGraphPath() string
- func (m *ModelManifest_Model) GetIsArchive() bool
- 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
- 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
- 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
- type ModelManifestsResponse
- 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
- type ModelRequest
- 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
- type PredictRequest
- func (*PredictRequest) Descriptor() ([]byte, []int)
- func (this *PredictRequest) Equal(that interface{}) bool
- func (m *PredictRequest) GetData() []byte
- func (m *PredictRequest) GetFrameworkName() string
- func (m *PredictRequest) GetFrameworkVersion() string
- func (m *PredictRequest) GetLimit() int32
- func (m *PredictRequest) GetModelName() string
- func (m *PredictRequest) GetModelVersion() string
- func (this *PredictRequest) GoString() string
- func (m *PredictRequest) Marshal() (dAtA []byte, err error)
- func (m *PredictRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PredictRequest) ProtoMessage()
- func (m *PredictRequest) Reset()
- func (m *PredictRequest) Size() (n int)
- func (this *PredictRequest) String() string
- func (m *PredictRequest) Unmarshal(dAtA []byte) error
- func (this *PredictRequest) VerboseEqual(that interface{}) error
- type PredictResponse
- func (*PredictResponse) Descriptor() ([]byte, []int)
- func (this *PredictResponse) Equal(that interface{}) bool
- func (m *PredictResponse) GetError() *ErrorStatus
- func (m *PredictResponse) GetFeatures() []*PredictionFeature
- func (m *PredictResponse) GetId() string
- func (this *PredictResponse) GoString() string
- func (m *PredictResponse) Marshal() (dAtA []byte, err error)
- func (m *PredictResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PredictResponse) ProtoMessage()
- func (m *PredictResponse) Reset()
- func (m *PredictResponse) Size() (n int)
- func (this *PredictResponse) String() string
- func (m *PredictResponse) Unmarshal(dAtA []byte) error
- func (this *PredictResponse) VerboseEqual(that interface{}) error
- type PredictionFeature
- func (*PredictionFeature) Descriptor() ([]byte, []int)
- func (this *PredictionFeature) Equal(that interface{}) bool
- func (m *PredictionFeature) GetIndex() int64
- func (m *PredictionFeature) GetName() string
- func (m *PredictionFeature) GetProbability() float32
- func (this *PredictionFeature) GoString() string
- func (m *PredictionFeature) Marshal() (dAtA []byte, err error)
- func (m *PredictionFeature) MarshalTo(dAtA []byte) (int, error)
- func (*PredictionFeature) ProtoMessage()
- func (m *PredictionFeature) Reset()
- func (m *PredictionFeature) Size() (n int)
- func (this *PredictionFeature) String() string
- func (m *PredictionFeature) Unmarshal(dAtA []byte) error
- func (this *PredictionFeature) VerboseEqual(that interface{}) error
- type PredictionFeatures
- type PredictorClient
- type PredictorServer
- type RegistryClient
- type RegistryServer
Constants ¶
const (
Swagger = dlframework_swagger
)
Variables ¶
var ( ErrInvalidLengthDlframework = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDlframework = fmt.Errorf("proto: integer overflow") )
var ( RegistryServiceDescription = _Registry_serviceDesc PredictorServiceDescription = _Predictor_serviceDesc )
Functions ¶
func RegisterPredictorHandler ¶
func RegisterPredictorHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPredictorHandler registers the http handlers for service Predictor to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPredictorHandlerFromEndpoint ¶
func RegisterPredictorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPredictorHandlerFromEndpoint is same as RegisterPredictorHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPredictorServer ¶
func RegisterPredictorServer(s *grpc.Server, srv PredictorServer)
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 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
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"` }
func NewPopulatedAgent ¶
func (*Agent) Descriptor ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) VerboseEqual ¶
type Agents ¶
type Agents struct {
Agents []*Agent `protobuf:"bytes,1,rep,name=agents" json:"agents,omitempty" yaml:"agents,omitempty"`
}
func NewPopulatedAgents ¶
func (*Agents) Descriptor ¶
func (*Agents) ProtoMessage ¶
func (*Agents) ProtoMessage()
func (*Agents) VerboseEqual ¶
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 randyDlframework, easy bool) *ContainerHardware
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
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 randyDlframework, easy bool) *ErrorStatus
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
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 `` /* 172-byte string literal not displayed */ }
func FindFramework ¶
func FindFramework(name string) (*FrameworkManifest, error)
func Frameworks ¶
func Frameworks() ([]FrameworkManifest, error)
func NewPopulatedFrameworkManifest ¶
func NewPopulatedFrameworkManifest(r randyDlframework, easy bool) *FrameworkManifest
func (FrameworkManifest) CanonicalName ¶
func (f FrameworkManifest) CanonicalName() (string, error)
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)
type FrameworkManifestsResponse ¶
type FrameworkManifestsResponse struct {
Manifests []*FrameworkManifest `protobuf:"bytes,1,rep,name=manifests" json:"manifests,omitempty" yaml:"manifests,omitempty"`
}
func NewPopulatedFrameworkManifestsResponse ¶
func NewPopulatedFrameworkManifestsResponse(r randyDlframework, easy bool) *FrameworkManifestsResponse
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
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 randyDlframework, easy bool) *FrameworkRequest
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
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" json:"framework,omitempty" yaml:"framework,omitempty"` Container map[string]*ContainerHardware `` /* 172-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" 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" json:"inputs,omitempty" yaml:"inputs,omitempty"` Output *ModelManifest_Type `protobuf:"bytes,9,opt,name=output" 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" json:"model,omitempty" yaml:"model,omitempty"` Attributes map[string]string `` /* 183-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 randyDlframework, 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) GetFramework ¶
func (m *ModelManifest) GetFramework() *FrameworkManifest
func (*ModelManifest) GetHidden ¶
func (m *ModelManifest) GetHidden() bool
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
func (*ModelManifest) GetOutput ¶
func (m *ModelManifest) GetOutput() *ModelManifest_Type
func (*ModelManifest) GetPostprocess ¶
func (m *ModelManifest) GetPostprocess() string
func (*ModelManifest) GetPreprocess ¶
func (m *ModelManifest) GetPreprocess() string
func (*ModelManifest) GetReference ¶
func (m *ModelManifest) GetReference() []string
func (*ModelManifest) GetVersion ¶
func (m *ModelManifest) GetVersion() string
func (*ModelManifest) GoString ¶
func (this *ModelManifest) GoString() string
func (*ModelManifest) Marshal ¶
func (m *ModelManifest) Marshal() (dAtA []byte, err error)
func (ModelManifest) MustCanonicalName ¶
func (m ModelManifest) MustCanonicalName() string
func (*ModelManifest) ProtoMessage ¶
func (*ModelManifest) ProtoMessage()
func (ModelManifest) Register ¶
func (m ModelManifest) Register() error
func (ModelManifest) RegisterNamed ¶
func (m ModelManifest) RegisterNamed(s string) error
func (*ModelManifest) Reset ¶
func (m *ModelManifest) Reset()
func (ModelManifest) ResolveFramework ¶
func (m ModelManifest) ResolveFramework() (FrameworkManifest, error)
func (*ModelManifest) Size ¶
func (m *ModelManifest) Size() (n int)
func (*ModelManifest) String ¶
func (this *ModelManifest) String() string
func (*ModelManifest) Unmarshal ¶
func (m *ModelManifest) Unmarshal(dAtA []byte) error
func (*ModelManifest) Validate ¶
func (m *ModelManifest) Validate() error
func (*ModelManifest) VerboseEqual ¶
func (this *ModelManifest) VerboseEqual(that interface{}) error
func (*ModelManifest) WorkDir ¶
func (m *ModelManifest) WorkDir() (string, error)
type ModelManifest_Model ¶
type ModelManifest_Model struct { BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty" yaml:"base_url,omitempty"` WeightsPath string `protobuf:"bytes,2,opt,name=weights_path,json=weightsPath,proto3" json:"weights_path,omitempty" yaml:"weights_path,omitempty"` GraphPath string `protobuf:"bytes,3,opt,name=graph_path,json=graphPath,proto3" json:"graph_path,omitempty" yaml:"graph_path,omitempty"` IsArchive bool `protobuf:"varint,4,opt,name=is_archive,json=isArchive,proto3" json:"is_archive,omitempty" yaml:"is_archive,omitempty"` }
func NewPopulatedModelManifest_Model ¶
func NewPopulatedModelManifest_Model(r randyDlframework, easy bool) *ModelManifest_Model
func (*ModelManifest_Model) Descriptor ¶
func (*ModelManifest_Model) Descriptor() ([]byte, []int)
func (*ModelManifest_Model) Equal ¶
func (this *ModelManifest_Model) Equal(that interface{}) bool
func (*ModelManifest_Model) GetBaseUrl ¶
func (m *ModelManifest_Model) GetBaseUrl() string
func (*ModelManifest_Model) GetGraphPath ¶
func (m *ModelManifest_Model) GetGraphPath() string
func (*ModelManifest_Model) GetIsArchive ¶
func (m *ModelManifest_Model) GetIsArchive() bool
func (*ModelManifest_Model) GetWeightsPath ¶
func (m *ModelManifest_Model) GetWeightsPath() string
func (*ModelManifest_Model) GoString ¶
func (this *ModelManifest_Model) GoString() string
func (*ModelManifest_Model) Marshal ¶
func (m *ModelManifest_Model) Marshal() (dAtA []byte, err error)
func (*ModelManifest_Model) MarshalTo ¶
func (m *ModelManifest_Model) MarshalTo(dAtA []byte) (int, error)
func (*ModelManifest_Model) ProtoMessage ¶
func (*ModelManifest_Model) ProtoMessage()
func (*ModelManifest_Model) Reset ¶
func (m *ModelManifest_Model) Reset()
func (*ModelManifest_Model) Size ¶
func (m *ModelManifest_Model) Size() (n int)
func (*ModelManifest_Model) String ¶
func (this *ModelManifest_Model) String() string
func (*ModelManifest_Model) Unmarshal ¶
func (m *ModelManifest_Model) Unmarshal(dAtA []byte) error
func (*ModelManifest_Model) VerboseEqual ¶
func (this *ModelManifest_Model) VerboseEqual(that interface{}) error
type ModelManifest_Type ¶
type ModelManifest_Type struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" yaml:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description,omitempty"` Parameters map[string]*ModelManifest_Type_Parameter `` /* 175-byte string literal not displayed */ }
func NewPopulatedModelManifest_Type ¶
func NewPopulatedModelManifest_Type(r randyDlframework, easy bool) *ModelManifest_Type
func (*ModelManifest_Type) Descriptor ¶
func (*ModelManifest_Type) Descriptor() ([]byte, []int)
func (*ModelManifest_Type) Equal ¶
func (this *ModelManifest_Type) Equal(that interface{}) bool
func (*ModelManifest_Type) GetDescription ¶
func (m *ModelManifest_Type) GetDescription() string
func (*ModelManifest_Type) GetParameters ¶
func (m *ModelManifest_Type) GetParameters() map[string]*ModelManifest_Type_Parameter
func (*ModelManifest_Type) GetType ¶
func (m *ModelManifest_Type) GetType() string
func (*ModelManifest_Type) GoString ¶
func (this *ModelManifest_Type) GoString() string
func (*ModelManifest_Type) Marshal ¶
func (m *ModelManifest_Type) Marshal() (dAtA []byte, err error)
func (*ModelManifest_Type) MarshalTo ¶
func (m *ModelManifest_Type) MarshalTo(dAtA []byte) (int, error)
func (*ModelManifest_Type) ProtoMessage ¶
func (*ModelManifest_Type) ProtoMessage()
func (*ModelManifest_Type) Reset ¶
func (m *ModelManifest_Type) Reset()
func (*ModelManifest_Type) Size ¶
func (m *ModelManifest_Type) Size() (n int)
func (*ModelManifest_Type) String ¶
func (this *ModelManifest_Type) String() string
func (*ModelManifest_Type) Unmarshal ¶
func (m *ModelManifest_Type) Unmarshal(dAtA []byte) error
func (*ModelManifest_Type) VerboseEqual ¶
func (this *ModelManifest_Type) VerboseEqual(that interface{}) error
type ModelManifest_Type_Parameter ¶
type ModelManifest_Type_Parameter struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" yaml:",inline"`
}
func NewPopulatedModelManifest_Type_Parameter ¶
func NewPopulatedModelManifest_Type_Parameter(r randyDlframework, easy bool) *ModelManifest_Type_Parameter
func (*ModelManifest_Type_Parameter) Descriptor ¶
func (*ModelManifest_Type_Parameter) Descriptor() ([]byte, []int)
func (*ModelManifest_Type_Parameter) Equal ¶
func (this *ModelManifest_Type_Parameter) Equal(that interface{}) bool
func (*ModelManifest_Type_Parameter) GetValue ¶
func (m *ModelManifest_Type_Parameter) GetValue() string
func (*ModelManifest_Type_Parameter) GoString ¶
func (this *ModelManifest_Type_Parameter) GoString() string
func (*ModelManifest_Type_Parameter) Marshal ¶
func (m *ModelManifest_Type_Parameter) Marshal() (dAtA []byte, err error)
func (*ModelManifest_Type_Parameter) MarshalTo ¶
func (m *ModelManifest_Type_Parameter) MarshalTo(dAtA []byte) (int, error)
func (*ModelManifest_Type_Parameter) MarshalYAML ¶
func (param *ModelManifest_Type_Parameter) MarshalYAML() (interface{}, error)
func (*ModelManifest_Type_Parameter) ProtoMessage ¶
func (*ModelManifest_Type_Parameter) ProtoMessage()
func (*ModelManifest_Type_Parameter) Reset ¶
func (m *ModelManifest_Type_Parameter) Reset()
func (*ModelManifest_Type_Parameter) Size ¶
func (m *ModelManifest_Type_Parameter) Size() (n int)
func (*ModelManifest_Type_Parameter) String ¶
func (this *ModelManifest_Type_Parameter) String() string
func (*ModelManifest_Type_Parameter) Unmarshal ¶
func (m *ModelManifest_Type_Parameter) Unmarshal(dAtA []byte) error
func (*ModelManifest_Type_Parameter) UnmarshalYAML ¶
func (param *ModelManifest_Type_Parameter) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*ModelManifest_Type_Parameter) VerboseEqual ¶
func (this *ModelManifest_Type_Parameter) VerboseEqual(that interface{}) error
type ModelManifestsResponse ¶
type ModelManifestsResponse struct {
Manifests []*ModelManifest `protobuf:"bytes,1,rep,name=manifests" json:"manifests,omitempty" yaml:"manifests,omitempty"`
}
func NewPopulatedModelManifestsResponse ¶
func NewPopulatedModelManifestsResponse(r randyDlframework, easy bool) *ModelManifestsResponse
func (*ModelManifestsResponse) Descriptor ¶
func (*ModelManifestsResponse) Descriptor() ([]byte, []int)
func (*ModelManifestsResponse) Equal ¶
func (this *ModelManifestsResponse) Equal(that interface{}) bool
func (*ModelManifestsResponse) GetManifests ¶
func (m *ModelManifestsResponse) GetManifests() []*ModelManifest
func (*ModelManifestsResponse) GoString ¶
func (this *ModelManifestsResponse) GoString() string
func (*ModelManifestsResponse) Marshal ¶
func (m *ModelManifestsResponse) Marshal() (dAtA []byte, err error)
func (*ModelManifestsResponse) MarshalTo ¶
func (m *ModelManifestsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModelManifestsResponse) ProtoMessage ¶
func (*ModelManifestsResponse) ProtoMessage()
func (*ModelManifestsResponse) Reset ¶
func (m *ModelManifestsResponse) Reset()
func (*ModelManifestsResponse) Size ¶
func (m *ModelManifestsResponse) Size() (n int)
func (*ModelManifestsResponse) String ¶
func (this *ModelManifestsResponse) String() string
func (*ModelManifestsResponse) Unmarshal ¶
func (m *ModelManifestsResponse) Unmarshal(dAtA []byte) error
func (*ModelManifestsResponse) VerboseEqual ¶
func (this *ModelManifestsResponse) VerboseEqual(that interface{}) error
type ModelRequest ¶
type ModelRequest struct { FrameworkName string `` /* 132-byte string literal not displayed */ FrameworkVersion string `` /* 144-byte string literal not displayed */ ModelName string `protobuf:"bytes,3,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty" yaml:"model_name,omitempty"` ModelVersion string `` /* 128-byte string literal not displayed */ }
func NewPopulatedModelRequest ¶
func NewPopulatedModelRequest(r randyDlframework, easy bool) *ModelRequest
func (*ModelRequest) Descriptor ¶
func (*ModelRequest) Descriptor() ([]byte, []int)
func (*ModelRequest) Equal ¶
func (this *ModelRequest) Equal(that interface{}) bool
func (*ModelRequest) GetFrameworkName ¶
func (m *ModelRequest) GetFrameworkName() string
func (*ModelRequest) GetFrameworkVersion ¶
func (m *ModelRequest) GetFrameworkVersion() string
func (*ModelRequest) GetModelName ¶
func (m *ModelRequest) GetModelName() string
func (*ModelRequest) GetModelVersion ¶
func (m *ModelRequest) GetModelVersion() string
func (*ModelRequest) GoString ¶
func (this *ModelRequest) GoString() string
func (*ModelRequest) Marshal ¶
func (m *ModelRequest) Marshal() (dAtA []byte, err error)
func (*ModelRequest) ProtoMessage ¶
func (*ModelRequest) ProtoMessage()
func (*ModelRequest) Reset ¶
func (m *ModelRequest) Reset()
func (*ModelRequest) Size ¶
func (m *ModelRequest) Size() (n int)
func (*ModelRequest) String ¶
func (this *ModelRequest) String() string
func (*ModelRequest) Unmarshal ¶
func (m *ModelRequest) Unmarshal(dAtA []byte) error
func (*ModelRequest) VerboseEqual ¶
func (this *ModelRequest) VerboseEqual(that interface{}) error
type PredictRequest ¶
type PredictRequest struct { ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty" yaml:"model_name,omitempty"` ModelVersion string `` /* 128-byte string literal not displayed */ FrameworkName string `` /* 132-byte string literal not displayed */ FrameworkVersion string `` /* 144-byte string literal not displayed */ Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty" yaml:"limit,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty" yaml:"data,omitempty"` }
func NewPopulatedPredictRequest ¶
func NewPopulatedPredictRequest(r randyDlframework, easy bool) *PredictRequest
func (*PredictRequest) Descriptor ¶
func (*PredictRequest) Descriptor() ([]byte, []int)
func (*PredictRequest) Equal ¶
func (this *PredictRequest) Equal(that interface{}) bool
func (*PredictRequest) GetData ¶
func (m *PredictRequest) GetData() []byte
func (*PredictRequest) GetFrameworkName ¶
func (m *PredictRequest) GetFrameworkName() string
func (*PredictRequest) GetFrameworkVersion ¶
func (m *PredictRequest) GetFrameworkVersion() string
func (*PredictRequest) GetLimit ¶
func (m *PredictRequest) GetLimit() int32
func (*PredictRequest) GetModelName ¶
func (m *PredictRequest) GetModelName() string
func (*PredictRequest) GetModelVersion ¶
func (m *PredictRequest) GetModelVersion() string
func (*PredictRequest) GoString ¶
func (this *PredictRequest) GoString() string
func (*PredictRequest) Marshal ¶
func (m *PredictRequest) Marshal() (dAtA []byte, err error)
func (*PredictRequest) ProtoMessage ¶
func (*PredictRequest) ProtoMessage()
func (*PredictRequest) Reset ¶
func (m *PredictRequest) Reset()
func (*PredictRequest) Size ¶
func (m *PredictRequest) Size() (n int)
func (*PredictRequest) String ¶
func (this *PredictRequest) String() string
func (*PredictRequest) Unmarshal ¶
func (m *PredictRequest) Unmarshal(dAtA []byte) error
func (*PredictRequest) VerboseEqual ¶
func (this *PredictRequest) VerboseEqual(that interface{}) error
type PredictResponse ¶
type PredictResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id,omitempty"` Features []*PredictionFeature `protobuf:"bytes,2,rep,name=features" json:"features,omitempty" yaml:"features,omitempty"` Error *ErrorStatus `protobuf:"bytes,3,opt,name=error" json:"error,omitempty" yaml:"error,omitempty"` }
func NewPopulatedPredictResponse ¶
func NewPopulatedPredictResponse(r randyDlframework, easy bool) *PredictResponse
func (*PredictResponse) Descriptor ¶
func (*PredictResponse) Descriptor() ([]byte, []int)
func (*PredictResponse) Equal ¶
func (this *PredictResponse) Equal(that interface{}) bool
func (*PredictResponse) GetError ¶
func (m *PredictResponse) GetError() *ErrorStatus
func (*PredictResponse) GetFeatures ¶
func (m *PredictResponse) GetFeatures() []*PredictionFeature
func (*PredictResponse) GetId ¶
func (m *PredictResponse) GetId() string
func (*PredictResponse) GoString ¶
func (this *PredictResponse) GoString() string
func (*PredictResponse) Marshal ¶
func (m *PredictResponse) Marshal() (dAtA []byte, err error)
func (*PredictResponse) ProtoMessage ¶
func (*PredictResponse) ProtoMessage()
func (*PredictResponse) Reset ¶
func (m *PredictResponse) Reset()
func (*PredictResponse) Size ¶
func (m *PredictResponse) Size() (n int)
func (*PredictResponse) String ¶
func (this *PredictResponse) String() string
func (*PredictResponse) Unmarshal ¶
func (m *PredictResponse) Unmarshal(dAtA []byte) error
func (*PredictResponse) VerboseEqual ¶
func (this *PredictResponse) VerboseEqual(that interface{}) error
type PredictionFeature ¶
type PredictionFeature struct { Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" yaml:"index,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name,omitempty"` Probability float32 `protobuf:"fixed32,3,opt,name=probability,proto3" json:"probability,omitempty" yaml:"probability,omitempty"` }
func NewPopulatedPredictionFeature ¶
func NewPopulatedPredictionFeature(r randyDlframework, easy bool) *PredictionFeature
func (*PredictionFeature) Descriptor ¶
func (*PredictionFeature) Descriptor() ([]byte, []int)
func (*PredictionFeature) Equal ¶
func (this *PredictionFeature) Equal(that interface{}) bool
func (*PredictionFeature) GetIndex ¶
func (m *PredictionFeature) GetIndex() int64
func (*PredictionFeature) GetName ¶
func (m *PredictionFeature) GetName() string
func (*PredictionFeature) GetProbability ¶
func (m *PredictionFeature) GetProbability() float32
func (*PredictionFeature) GoString ¶
func (this *PredictionFeature) GoString() string
func (*PredictionFeature) Marshal ¶
func (m *PredictionFeature) Marshal() (dAtA []byte, err error)
func (*PredictionFeature) MarshalTo ¶
func (m *PredictionFeature) MarshalTo(dAtA []byte) (int, error)
func (*PredictionFeature) ProtoMessage ¶
func (*PredictionFeature) ProtoMessage()
func (*PredictionFeature) Reset ¶
func (m *PredictionFeature) Reset()
func (*PredictionFeature) Size ¶
func (m *PredictionFeature) Size() (n int)
func (*PredictionFeature) String ¶
func (this *PredictionFeature) String() string
func (*PredictionFeature) Unmarshal ¶
func (m *PredictionFeature) Unmarshal(dAtA []byte) error
func (*PredictionFeature) VerboseEqual ¶
func (this *PredictionFeature) VerboseEqual(that interface{}) error
type PredictionFeatures ¶
type PredictionFeatures []*PredictionFeature
func (PredictionFeatures) Len ¶
func (p PredictionFeatures) Len() int
Len is the number of elements in the collection.
func (PredictionFeatures) Less ¶
func (p PredictionFeatures) Less(i, j int) bool
Less reports whether the element with index i should sort before the element with index j.
func (PredictionFeatures) Sort ¶
func (p PredictionFeatures) Sort()
func (PredictionFeatures) Swap ¶
func (p PredictionFeatures) Swap(i, j int)
Swap swaps the elements with indexes i and j.
func (PredictionFeatures) Take ¶
func (p PredictionFeatures) Take(n int) PredictionFeatures
type PredictorClient ¶
type PredictorClient interface {
Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error)
}
func NewPredictorClient ¶
func NewPredictorClient(cc *grpc.ClientConn) PredictorClient
type PredictorServer ¶
type PredictorServer interface {
Predict(context.Context, *PredictRequest) (*PredictResponse, error)
}
type RegistryClient ¶
type RegistryClient interface { FrameworkManifests(ctx context.Context, in *FrameworkRequest, opts ...grpc.CallOption) (*FrameworkManifestsResponse, error) FrameworkAgents(ctx context.Context, in *FrameworkRequest, opts ...grpc.CallOption) (*Agents, error) ModelManifests(ctx context.Context, in *ModelRequest, opts ...grpc.CallOption) (*ModelManifestsResponse, error) ModelAgents(ctx context.Context, in *ModelRequest, opts ...grpc.CallOption) (*Agents, error) }
func NewRegistryClient ¶
func NewRegistryClient(cc *grpc.ClientConn) RegistryClient
type RegistryServer ¶
type RegistryServer interface { FrameworkManifests(context.Context, *FrameworkRequest) (*FrameworkManifestsResponse, error) FrameworkAgents(context.Context, *FrameworkRequest) (*Agents, error) ModelManifests(context.Context, *ModelRequest) (*ModelManifestsResponse, error) ModelAgents(context.Context, *ModelRequest) (*Agents, error) }
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
httpapi
|
|
restapi
Package restapi CarML DLFramework CarML (Cognitive ARtifacts for Machine Learning) is a framework allowing people to develop and deploy machine learning models.
|
Package restapi CarML DLFramework CarML (Cognitive ARtifacts for Machine Learning) is a framework allowing people to develop and deploy machine learning models. |