Documentation ¶
Overview ¶
Package grpc_trainer_v2 is a generated protocol buffer package.
It is generated from these files:
trainer.proto
It has these top-level messages:
CreateRequest EMExtractionSpec EMGroup EMMeta EMAny MetaInfo LogLine Any EMetrics Query CreateResponse UpdateRequest UpdateResponse GetRequest GetResponse GetStatusResponse GetStatusIDResponse GetMetricsStringResponse GetTestResponse GetAllRequest GetAllResponse HaltRequest HaltResponse ResumeRequest ResumeResponse DeleteRequest DeleteResponse Metrics Job ModelDefinition Framework ImageLocation Training TrainingStatus Datastore ResourceRequirements ModelDefinitionRequest TrainedModelRequest TrainedModelLogRequest TrainedModelMetricsRequest GetLatestMetricsRequest GetLatestMetricsResponse UpdateTrainedModelMetricsRequest UpdateTrainedModelMetricsResponse ByteStreamResponse ZippedDataChunk GetVersionsRequest Frameworks FrameworkDetailList FrameworkDetails
Index ¶
- Variables
- func RegisterTrainerServer(s *grpc.Server, srv TrainerServer)
- type Any
- type Any_DataType
- type ByteStreamResponse
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetDatastores() []*Datastore
- func (m *CreateRequest) GetEvaluationMetrics() *EMExtractionSpec
- func (m *CreateRequest) GetModelDefinition() *ModelDefinition
- func (m *CreateRequest) GetTraining() *Training
- func (m *CreateRequest) GetUserId() string
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- type CreateResponse
- type Datastore
- func (*Datastore) Descriptor() ([]byte, []int)
- func (m *Datastore) GetConnection() map[string]string
- func (m *Datastore) GetFields() map[string]string
- func (m *Datastore) GetId() string
- func (m *Datastore) GetType() string
- func (*Datastore) ProtoMessage()
- func (m *Datastore) Reset()
- func (m *Datastore) String() string
- type DeleteRequest
- type DeleteResponse
- type EMAny
- type EMExtractionSpec
- func (*EMExtractionSpec) Descriptor() ([]byte, []int)
- func (m *EMExtractionSpec) GetEventTypes() []string
- func (m *EMExtractionSpec) GetGroups() map[string]*EMGroup
- func (m *EMExtractionSpec) GetImageTag() string
- func (m *EMExtractionSpec) GetIn() string
- func (m *EMExtractionSpec) GetLineLookahead() int32
- func (m *EMExtractionSpec) GetType() string
- func (*EMExtractionSpec) ProtoMessage()
- func (m *EMExtractionSpec) Reset()
- func (m *EMExtractionSpec) String() string
- type EMGroup
- func (*EMGroup) Descriptor() ([]byte, []int)
- func (m *EMGroup) GetEtimes() map[string]*EMAny
- func (m *EMGroup) GetMeta() *EMMeta
- func (m *EMGroup) GetRegex() string
- func (m *EMGroup) GetValues() map[string]*EMAny
- func (*EMGroup) ProtoMessage()
- func (m *EMGroup) Reset()
- func (m *EMGroup) String() string
- type EMMeta
- type EMetrics
- func (*EMetrics) Descriptor() ([]byte, []int)
- func (m *EMetrics) GetEtimes() map[string]*Any
- func (m *EMetrics) GetGrouplabel() string
- func (m *EMetrics) GetMeta() *MetaInfo
- func (m *EMetrics) GetValues() map[string]*Any
- func (*EMetrics) ProtoMessage()
- func (m *EMetrics) Reset()
- func (m *EMetrics) String() string
- type Framework
- func (*Framework) Descriptor() ([]byte, []int)
- func (m *Framework) GetImageLocation() *ImageLocation
- func (m *Framework) GetImageTag() string
- func (m *Framework) GetName() string
- func (m *Framework) GetVersion() string
- func (*Framework) ProtoMessage()
- func (m *Framework) Reset()
- func (m *Framework) String() string
- type FrameworkDetailList
- type FrameworkDetails
- type Frameworks
- type GetAllRequest
- type GetAllResponse
- type GetLatestMetricsRequest
- func (*GetLatestMetricsRequest) Descriptor() ([]byte, []int)
- func (m *GetLatestMetricsRequest) GetTrainingId() string
- func (m *GetLatestMetricsRequest) GetUserId() string
- func (*GetLatestMetricsRequest) ProtoMessage()
- func (m *GetLatestMetricsRequest) Reset()
- func (m *GetLatestMetricsRequest) String() string
- type GetLatestMetricsResponse
- func (*GetLatestMetricsResponse) Descriptor() ([]byte, []int)
- func (m *GetLatestMetricsResponse) GetMetrics() *Metrics
- func (m *GetLatestMetricsResponse) GetTrainingId() string
- func (m *GetLatestMetricsResponse) GetUserId() string
- func (*GetLatestMetricsResponse) ProtoMessage()
- func (m *GetLatestMetricsResponse) Reset()
- func (m *GetLatestMetricsResponse) String() string
- type GetMetricsStringResponse
- type GetRequest
- type GetResponse
- type GetStatusIDResponse
- type GetStatusResponse
- type GetTestResponse
- type GetVersionsRequest
- type HaltRequest
- type HaltResponse
- type ImageLocation
- func (*ImageLocation) Descriptor() ([]byte, []int)
- func (m *ImageLocation) GetAccessToken() string
- func (m *ImageLocation) GetEmail() string
- func (m *ImageLocation) GetNamespace() string
- func (m *ImageLocation) GetRegistry() string
- func (*ImageLocation) ProtoMessage()
- func (m *ImageLocation) Reset()
- func (m *ImageLocation) String() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)
- func (m *Job) GetDatastores() []*Datastore
- func (m *Job) GetJobId() string
- func (m *Job) GetMetrics() *Metrics
- func (m *Job) GetModelDefinition() *ModelDefinition
- func (m *Job) GetStatus() *TrainingStatus
- func (m *Job) GetTraining() *Training
- func (m *Job) GetTrainingId() string
- func (m *Job) GetUserId() string
- func (*Job) ProtoMessage()
- func (m *Job) Reset()
- func (m *Job) String() string
- type LogLine
- type MetaInfo
- func (*MetaInfo) Descriptor() ([]byte, []int)
- func (m *MetaInfo) GetRindex() int64
- func (m *MetaInfo) GetSubid() string
- func (m *MetaInfo) GetTime() int64
- func (m *MetaInfo) GetTrainingId() string
- func (m *MetaInfo) GetUserId() string
- func (*MetaInfo) ProtoMessage()
- func (m *MetaInfo) Reset()
- func (m *MetaInfo) String() string
- type Metrics
- type ModelDefinition
- func (*ModelDefinition) Descriptor() ([]byte, []int)
- func (m *ModelDefinition) GetContent() []byte
- func (m *ModelDefinition) GetDescription() string
- func (m *ModelDefinition) GetFramework() *Framework
- func (m *ModelDefinition) GetLocation() string
- func (m *ModelDefinition) GetName() string
- func (*ModelDefinition) ProtoMessage()
- func (m *ModelDefinition) Reset()
- func (m *ModelDefinition) String() string
- type ModelDefinitionRequest
- func (*ModelDefinitionRequest) Descriptor() ([]byte, []int)
- func (m *ModelDefinitionRequest) GetTrainingId() string
- func (m *ModelDefinitionRequest) GetUserId() string
- func (*ModelDefinitionRequest) ProtoMessage()
- func (m *ModelDefinitionRequest) Reset()
- func (m *ModelDefinitionRequest) String() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetMeta() *MetaInfo
- func (m *Query) GetPagesize() int32
- func (m *Query) GetPos() int64
- func (m *Query) GetSearchType() Query_SearchType
- func (m *Query) GetSince() string
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- type Query_SearchType
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)
- func (m *ResourceRequirements) GetArchitecture() string
- func (m *ResourceRequirements) GetCpus() float32
- func (m *ResourceRequirements) GetGpuType() string
- func (m *ResourceRequirements) GetGpus() float32
- func (m *ResourceRequirements) GetLearners() int32
- func (m *ResourceRequirements) GetMemory() float32
- func (m *ResourceRequirements) GetMemoryUnit() SizeUnit
- func (m *ResourceRequirements) GetSchedpolicy() string
- func (m *ResourceRequirements) GetStorage() float32
- func (m *ResourceRequirements) GetStorageUnit() SizeUnit
- func (m *ResourceRequirements) GetTopology() string
- func (*ResourceRequirements) ProtoMessage()
- func (m *ResourceRequirements) Reset()
- func (m *ResourceRequirements) String() string
- type ResumeRequest
- type ResumeResponse
- type SizeUnit
- type Status
- type TrainedModelLogRequest
- func (*TrainedModelLogRequest) Descriptor() ([]byte, []int)
- func (m *TrainedModelLogRequest) GetFollow() bool
- func (m *TrainedModelLogRequest) GetIsMetrics() bool
- func (m *TrainedModelLogRequest) GetIsSummary() bool
- func (m *TrainedModelLogRequest) GetTrainingId() string
- func (m *TrainedModelLogRequest) GetUserId() string
- func (*TrainedModelLogRequest) ProtoMessage()
- func (m *TrainedModelLogRequest) Reset()
- func (m *TrainedModelLogRequest) String() string
- type TrainedModelMetricsRequest
- func (*TrainedModelMetricsRequest) Descriptor() ([]byte, []int)
- func (m *TrainedModelMetricsRequest) GetFollow() bool
- func (m *TrainedModelMetricsRequest) GetTrainingId() string
- func (m *TrainedModelMetricsRequest) GetUserId() string
- func (*TrainedModelMetricsRequest) ProtoMessage()
- func (m *TrainedModelMetricsRequest) Reset()
- func (m *TrainedModelMetricsRequest) String() string
- type TrainedModelRequest
- type TrainerClient
- type TrainerServer
- type Trainer_GetModelDefinitionClient
- type Trainer_GetModelDefinitionServer
- type Trainer_GetTrainedModelClient
- type Trainer_GetTrainedModelLogsClient
- type Trainer_GetTrainedModelLogsServer
- type Trainer_GetTrainedModelServer
- type Trainer_GetTrainingEMetricsClient
- type Trainer_GetTrainingEMetricsServer
- type Trainer_GetTrainingLogsClient
- type Trainer_GetTrainingLogsServer
- type Training
- func (*Training) Descriptor() ([]byte, []int)
- func (m *Training) GetCommand() string
- func (m *Training) GetInputData() []string
- func (m *Training) GetOutputData() []string
- func (m *Training) GetProfiling() bool
- func (m *Training) GetResources() *ResourceRequirements
- func (*Training) ProtoMessage()
- func (m *Training) Reset()
- func (m *Training) String() string
- type TrainingStatus
- func (*TrainingStatus) Descriptor() ([]byte, []int)
- func (m *TrainingStatus) GetCompletionTimestamp() string
- func (m *TrainingStatus) GetDownloadStartTimestamp() string
- func (m *TrainingStatus) GetErrorCode() string
- func (m *TrainingStatus) GetProcessStartTimestamp() string
- func (m *TrainingStatus) GetStatus() Status
- func (m *TrainingStatus) GetStatusMessage() string
- func (m *TrainingStatus) GetStoreStartTimestamp() string
- func (m *TrainingStatus) GetSubmissionTimestamp() string
- func (*TrainingStatus) ProtoMessage()
- func (m *TrainingStatus) Reset()
- func (m *TrainingStatus) String() string
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetErrorCode() string
- func (m *UpdateRequest) GetStatus() Status
- func (m *UpdateRequest) GetStatusMessage() string
- func (m *UpdateRequest) GetTimestamp() string
- func (m *UpdateRequest) GetTrainingId() string
- func (m *UpdateRequest) GetUserId() string
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) String() string
- type UpdateResponse
- type UpdateTrainedModelMetricsRequest
- func (*UpdateTrainedModelMetricsRequest) Descriptor() ([]byte, []int)
- func (m *UpdateTrainedModelMetricsRequest) GetNewMetrics() *Metrics
- func (m *UpdateTrainedModelMetricsRequest) GetTrainingId() string
- func (m *UpdateTrainedModelMetricsRequest) GetUserId() string
- func (*UpdateTrainedModelMetricsRequest) ProtoMessage()
- func (m *UpdateTrainedModelMetricsRequest) Reset()
- func (m *UpdateTrainedModelMetricsRequest) String() string
- type UpdateTrainedModelMetricsResponse
- func (*UpdateTrainedModelMetricsResponse) Descriptor() ([]byte, []int)
- func (m *UpdateTrainedModelMetricsResponse) GetTrainingId() string
- func (*UpdateTrainedModelMetricsResponse) ProtoMessage()
- func (m *UpdateTrainedModelMetricsResponse) Reset()
- func (m *UpdateTrainedModelMetricsResponse) String() string
- type ZippedDataChunk
Constants ¶
This section is empty.
Variables ¶
var Any_DataType_name = map[int32]string{
0: "STRING",
1: "JSONSTRING",
2: "INT",
3: "FLOAT",
}
var Any_DataType_value = map[string]int32{
"STRING": 0,
"JSONSTRING": 1,
"INT": 2,
"FLOAT": 3,
}
var Query_SearchType_name = map[int32]string{
0: "TERM",
1: "NESTED",
2: "MATCH",
3: "ALL",
}
var Query_SearchType_value = map[string]int32{
"TERM": 0,
"NESTED": 1,
"MATCH": 2,
"ALL": 3,
}
var SizeUnit_name = map[int32]string{
0: "MB",
1: "MiB",
2: "GB",
3: "GiB",
}
var SizeUnit_value = map[string]int32{
"MB": 0,
"MiB": 1,
"GB": 2,
"GiB": 3,
}
var Status_name = map[int32]string{
0: "NOT_STARTED",
1: "PENDING",
5: "HALTED",
10: "FAILED",
20: "DEPLOY",
30: "DOWNLOADING",
40: "PROCESSING",
50: "STORING",
60: "COMPLETED",
70: "QUEUED",
}
var Status_value = map[string]int32{
"NOT_STARTED": 0,
"PENDING": 1,
"HALTED": 5,
"FAILED": 10,
"DEPLOY": 20,
"DOWNLOADING": 30,
"PROCESSING": 40,
"STORING": 50,
"COMPLETED": 60,
"QUEUED": 70,
}
Functions ¶
func RegisterTrainerServer ¶
func RegisterTrainerServer(s *grpc.Server, srv TrainerServer)
Types ¶
type Any ¶
type Any struct { // Datatype of the value. Type Any_DataType `protobuf:"varint,1,opt,name=type,enum=grpc.trainer.v2.Any_DataType" json:"type,omitempty" bson:"type,omitempty"` // String representation of a value Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty" bson:"value,omitempty"` }
Any represents a typed value used with the evaluation metrics record.
func (*Any) Descriptor ¶
func (*Any) GetType ¶
func (m *Any) GetType() Any_DataType
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
type Any_DataType ¶
type Any_DataType int32
const ( Any_STRING Any_DataType = 0 Any_JSONSTRING Any_DataType = 1 Any_INT Any_DataType = 2 Any_FLOAT Any_DataType = 3 )
func (Any_DataType) EnumDescriptor ¶
func (Any_DataType) EnumDescriptor() ([]byte, []int)
func (Any_DataType) String ¶
func (x Any_DataType) String() string
type ByteStreamResponse ¶
type ByteStreamResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" bson:"data,omitempty"`
}
func (*ByteStreamResponse) Descriptor ¶
func (*ByteStreamResponse) Descriptor() ([]byte, []int)
func (*ByteStreamResponse) GetData ¶
func (m *ByteStreamResponse) GetData() []byte
func (*ByteStreamResponse) ProtoMessage ¶
func (*ByteStreamResponse) ProtoMessage()
func (*ByteStreamResponse) Reset ¶
func (m *ByteStreamResponse) Reset()
func (*ByteStreamResponse) String ¶
func (m *ByteStreamResponse) String() string
type CreateRequest ¶
type CreateRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` ModelDefinition *ModelDefinition `` /* 133-byte string literal not displayed */ Training *Training `protobuf:"bytes,3,opt,name=training" json:"training,omitempty" bson:"training,omitempty"` Datastores []*Datastore `protobuf:"bytes,4,rep,name=datastores" json:"datastores,omitempty" bson:"datastores,omitempty"` // EMExtractionSpec allows the caller to specify evaluation metrics extraction. EvaluationMetrics *EMExtractionSpec `` /* 141-byte string literal not displayed */ }
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetDatastores ¶
func (m *CreateRequest) GetDatastores() []*Datastore
func (*CreateRequest) GetEvaluationMetrics ¶
func (m *CreateRequest) GetEvaluationMetrics() *EMExtractionSpec
func (*CreateRequest) GetModelDefinition ¶
func (m *CreateRequest) GetModelDefinition() *ModelDefinition
func (*CreateRequest) GetTraining ¶
func (m *CreateRequest) GetTraining() *Training
func (*CreateRequest) GetUserId ¶
func (m *CreateRequest) GetUserId() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct {
TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"`
}
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) GetTrainingId ¶
func (m *CreateResponse) GetTrainingId() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
type Datastore ¶
type Datastore struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty" bson:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty" bson:"type,omitempty"` // additional fields for the given Datastore type Fields map[string]string `` /* 156-byte string literal not displayed */ // connection information for the given Datastore type Connection map[string]string `` /* 168-byte string literal not displayed */ }
func (*Datastore) Descriptor ¶
func (*Datastore) GetConnection ¶
func (*Datastore) ProtoMessage ¶
func (*Datastore) ProtoMessage()
type DeleteRequest ¶
type DeleteRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetTrainingId ¶
func (m *DeleteRequest) GetTrainingId() string
func (*DeleteRequest) GetUserId ¶
func (m *DeleteRequest) GetUserId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"`
}
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) GetTrainingId ¶
func (m *DeleteResponse) GetTrainingId() string
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
type EMAny ¶
type EMAny struct { // one of: STRING, JSONSTRING, INT, FLOAT Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty" bson:"type,omitempty"` // String represenation of the value. Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty" bson:"value,omitempty"` }
Typed value for EMExtractionSpec. The data type here can't be an enum, due to internal issues with YAML conversion.
func (*EMAny) Descriptor ¶
func (*EMAny) ProtoMessage ¶
func (*EMAny) ProtoMessage()
type EMExtractionSpec ¶
type EMExtractionSpec struct { // Loosly typed string representing what kind of log-collector to use. // For Logs-only, specify `type: logger` // For the Regex_extractor log-collector, specify `type: regex_extractor` // For Tensorboard, specify `type: tensorboard` // To invoke the emetrics_file_extractor, you can specify the following synonyms // `type: optivist` || `type: emetrics_file` || `type: file`. Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty" bson:"type,omitempty"` ImageTag string `protobuf:"bytes,6,opt,name=image_tag,json=imageTag" json:"image_tag,omitempty" bson:"image_tag,omitempty"` // The filename of the logfile. (Normally this should be left to default). In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty" bson:"in,omitempty"` // For the regex_extractor, number of lines to keep in the buffer for regex matching. LineLookahead int32 `` /* 126-byte string literal not displayed */ // (Eventual) Available event types: 'images', 'distributions', 'histograms', 'images' // 'audio', 'scalars', 'tensors', 'graph', 'meta_graph', 'run_metadata'. // For now only scalars are supported. EventTypes []string `protobuf:"bytes,4,rep,name=eventTypes" json:"eventTypes,omitempty" bson:"eventTypes,omitempty"` // For the regex_extractor, the `EMExtractionSpec` should contain a `groups` section, which should contain // templates for groups such as `test` and `train`, which group names should be be the keys of this map. Groups map[string]*EMGroup `` /* 156-byte string literal not displayed */ }
EMExtractionSpec represents the specification for extracting structured evaluation metrics from training jobs. It is used across all log collectors, so some fields may not be relevent for all log collectors. Note: Don't use enums with this, as need to do untyped YAML convert to string and back Refer to https://github.com/AISphere/ffdl-metrics for complete documentation.
func (*EMExtractionSpec) Descriptor ¶
func (*EMExtractionSpec) Descriptor() ([]byte, []int)
func (*EMExtractionSpec) GetEventTypes ¶
func (m *EMExtractionSpec) GetEventTypes() []string
func (*EMExtractionSpec) GetGroups ¶
func (m *EMExtractionSpec) GetGroups() map[string]*EMGroup
func (*EMExtractionSpec) GetImageTag ¶
func (m *EMExtractionSpec) GetImageTag() string
func (*EMExtractionSpec) GetIn ¶
func (m *EMExtractionSpec) GetIn() string
func (*EMExtractionSpec) GetLineLookahead ¶
func (m *EMExtractionSpec) GetLineLookahead() int32
func (*EMExtractionSpec) GetType ¶
func (m *EMExtractionSpec) GetType() string
func (*EMExtractionSpec) ProtoMessage ¶
func (*EMExtractionSpec) ProtoMessage()
func (*EMExtractionSpec) Reset ¶
func (m *EMExtractionSpec) Reset()
func (*EMExtractionSpec) String ¶
func (m *EMExtractionSpec) String() string
type EMGroup ¶
type EMGroup struct { // Python regular expressions, which use the named group feature `(?P<name>...)`, to specify // a name of a matching expression, which can then be used to specify the value that is used in the template // for the `EMetrics` record. To help with verbosity, the regex_extractor allows the following macros: GLOG_STAMP, // TIMESTAMP, FLOAT, INT, INT_ANY, and HEX. (See dlaas-training-metrics-service README for more details. Regex string `protobuf:"bytes,1,opt,name=regex" json:"regex,omitempty" bson:"regex,omitempty"` // Allows the caller to specify a binding for the time field of the meta structure. Meta *EMMeta `protobuf:"bytes,2,opt,name=meta" json:"meta,omitempty" bson:"meta,omitempty"` // Map of keys and regex references for value-related (y-axis) values. Values map[string]*EMAny `` /* 156-byte string literal not displayed */ // Map of keys and regex references for time-related (x-axis) values. Etimes map[string]*EMAny `` /* 156-byte string literal not displayed */ }
EMGroup represents a group, such as `test` or `train`, that acts as a template for structured evaluation metrics, and which allows the specification of a regular expression (regex) that contains named bindings with sub-expressions, which can then be used as references to specify structured time-related (x-axis) and value-related (y-axis) values.
func (*EMGroup) Descriptor ¶
func (*EMGroup) ProtoMessage ¶
func (*EMGroup) ProtoMessage()
type EMMeta ¶
type EMMeta struct { // Time that the metric occured: representing the number of millisecond since midnight January 1, 1970. // (ref, for instance $timestamp). Value will be extracted from timestamps Time string `protobuf:"bytes,3,opt,name=time" json:"time,omitempty" bson:"time,omitempty"` // Optional subid Subid string `protobuf:"bytes,5,opt,name=subid" json:"subid,omitempty" bson:"subid,omitempty"` }
Allows the user to bind an extracted value to the time field of the evaluation metrics.
func (*EMMeta) Descriptor ¶
func (*EMMeta) ProtoMessage ¶
func (*EMMeta) ProtoMessage()
type EMetrics ¶
type EMetrics struct { // For MetaInfo, at the minimum training_id and user_id must be specified. Meta *MetaInfo `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty" bson:"meta,omitempty"` // Map of temporal keys, normally values for the x-axis on a graph. // Example: {"iteration": 209} Etimes map[string]*Any `` /* 156-byte string literal not displayed */ // Group label, such as test, train, or validate Grouplabel string `protobuf:"bytes,3,opt,name=grouplabel" json:"grouplabel,omitempty" bson:"grouplabel,omitempty"` // Map of value keys, normally values for the y-axis on a graph. // / Example: {"cross_entropy": 0.4430539906024933, "accuracy": 0.8999999761581421} Values map[string]*Any `` /* 156-byte string literal not displayed */ }
EMetrics specifies an evaluation metrics record from the training data.
func (*EMetrics) Descriptor ¶
func (*EMetrics) GetGrouplabel ¶
func (*EMetrics) ProtoMessage ¶
func (*EMetrics) ProtoMessage()
type Framework ¶
type Framework struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty" bson:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty" bson:"version,omitempty"` ImageTag string `protobuf:"bytes,3,opt,name=image_tag,json=imageTag" json:"image_tag,omitempty" bson:"image_tag,omitempty"` ImageLocation *ImageLocation `protobuf:"bytes,4,opt,name=image_location,json=imageLocation" json:"image_location,omitempty" bson:"image_location,omitempty"` }
func (*Framework) Descriptor ¶
func (*Framework) GetImageLocation ¶
func (m *Framework) GetImageLocation() *ImageLocation
func (*Framework) GetImageTag ¶
func (*Framework) GetVersion ¶
func (*Framework) ProtoMessage ¶
func (*Framework) ProtoMessage()
type FrameworkDetailList ¶
type FrameworkDetailList struct {
Versions []*FrameworkDetails `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty" bson:"versions,omitempty"`
}
func (*FrameworkDetailList) Descriptor ¶
func (*FrameworkDetailList) Descriptor() ([]byte, []int)
func (*FrameworkDetailList) GetVersions ¶
func (m *FrameworkDetailList) GetVersions() []*FrameworkDetails
func (*FrameworkDetailList) ProtoMessage ¶
func (*FrameworkDetailList) ProtoMessage()
func (*FrameworkDetailList) Reset ¶
func (m *FrameworkDetailList) Reset()
func (*FrameworkDetailList) String ¶
func (m *FrameworkDetailList) String() string
type FrameworkDetails ¶
type FrameworkDetails struct { Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty" bson:"version,omitempty"` // If true, the image can be used by any user. If false, the image is only available for internal usage. External bool `protobuf:"varint,2,opt,name=external" json:"external,omitempty" bson:"external,omitempty"` }
func (*FrameworkDetails) Descriptor ¶
func (*FrameworkDetails) Descriptor() ([]byte, []int)
func (*FrameworkDetails) GetExternal ¶
func (m *FrameworkDetails) GetExternal() bool
func (*FrameworkDetails) GetVersion ¶
func (m *FrameworkDetails) GetVersion() string
func (*FrameworkDetails) ProtoMessage ¶
func (*FrameworkDetails) ProtoMessage()
func (*FrameworkDetails) Reset ¶
func (m *FrameworkDetails) Reset()
func (*FrameworkDetails) String ¶
func (m *FrameworkDetails) String() string
type Frameworks ¶
type Frameworks struct {
Frameworks map[string]*FrameworkDetailList `` /* 168-byte string literal not displayed */
}
Contains a list of all frameworks currently supported along with the versions of that framework and whether a specific framework version can be used by anyone or only for internal usage.
func (*Frameworks) Descriptor ¶
func (*Frameworks) Descriptor() ([]byte, []int)
func (*Frameworks) GetFrameworks ¶
func (m *Frameworks) GetFrameworks() map[string]*FrameworkDetailList
func (*Frameworks) ProtoMessage ¶
func (*Frameworks) ProtoMessage()
func (*Frameworks) Reset ¶
func (m *Frameworks) Reset()
func (*Frameworks) String ¶
func (m *Frameworks) String() string
type GetAllRequest ¶
type GetAllRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"`
}
func (*GetAllRequest) Descriptor ¶
func (*GetAllRequest) Descriptor() ([]byte, []int)
func (*GetAllRequest) GetUserId ¶
func (m *GetAllRequest) GetUserId() string
func (*GetAllRequest) ProtoMessage ¶
func (*GetAllRequest) ProtoMessage()
func (*GetAllRequest) Reset ¶
func (m *GetAllRequest) Reset()
func (*GetAllRequest) String ¶
func (m *GetAllRequest) String() string
type GetAllResponse ¶
type GetAllResponse struct {
Jobs []*Job `protobuf:"bytes,1,rep,name=jobs" json:"jobs,omitempty" bson:"jobs,omitempty"`
}
func (*GetAllResponse) Descriptor ¶
func (*GetAllResponse) Descriptor() ([]byte, []int)
func (*GetAllResponse) GetJobs ¶
func (m *GetAllResponse) GetJobs() []*Job
func (*GetAllResponse) ProtoMessage ¶
func (*GetAllResponse) ProtoMessage()
func (*GetAllResponse) Reset ¶
func (m *GetAllResponse) Reset()
func (*GetAllResponse) String ¶
func (m *GetAllResponse) String() string
type GetLatestMetricsRequest ¶
type GetLatestMetricsRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*GetLatestMetricsRequest) Descriptor ¶
func (*GetLatestMetricsRequest) Descriptor() ([]byte, []int)
func (*GetLatestMetricsRequest) GetTrainingId ¶
func (m *GetLatestMetricsRequest) GetTrainingId() string
func (*GetLatestMetricsRequest) GetUserId ¶
func (m *GetLatestMetricsRequest) GetUserId() string
func (*GetLatestMetricsRequest) ProtoMessage ¶
func (*GetLatestMetricsRequest) ProtoMessage()
func (*GetLatestMetricsRequest) Reset ¶
func (m *GetLatestMetricsRequest) Reset()
func (*GetLatestMetricsRequest) String ¶
func (m *GetLatestMetricsRequest) String() string
type GetLatestMetricsResponse ¶
type GetLatestMetricsResponse struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Metrics *Metrics `protobuf:"bytes,3,opt,name=metrics" json:"metrics,omitempty" bson:"metrics,omitempty"` }
func (*GetLatestMetricsResponse) Descriptor ¶
func (*GetLatestMetricsResponse) Descriptor() ([]byte, []int)
func (*GetLatestMetricsResponse) GetMetrics ¶
func (m *GetLatestMetricsResponse) GetMetrics() *Metrics
func (*GetLatestMetricsResponse) GetTrainingId ¶
func (m *GetLatestMetricsResponse) GetTrainingId() string
func (*GetLatestMetricsResponse) GetUserId ¶
func (m *GetLatestMetricsResponse) GetUserId() string
func (*GetLatestMetricsResponse) ProtoMessage ¶
func (*GetLatestMetricsResponse) ProtoMessage()
func (*GetLatestMetricsResponse) Reset ¶
func (m *GetLatestMetricsResponse) Reset()
func (*GetLatestMetricsResponse) String ¶
func (m *GetLatestMetricsResponse) String() string
type GetMetricsStringResponse ¶
type GetMetricsStringResponse struct {
Metrics string `protobuf:"bytes,1,opt,name=metrics" json:"metrics,omitempty" bson:"metrics,omitempty"`
}
func (*GetMetricsStringResponse) Descriptor ¶
func (*GetMetricsStringResponse) Descriptor() ([]byte, []int)
func (*GetMetricsStringResponse) GetMetrics ¶
func (m *GetMetricsStringResponse) GetMetrics() string
func (*GetMetricsStringResponse) ProtoMessage ¶
func (*GetMetricsStringResponse) ProtoMessage()
func (*GetMetricsStringResponse) Reset ¶
func (m *GetMetricsStringResponse) Reset()
func (*GetMetricsStringResponse) String ¶
func (m *GetMetricsStringResponse) String() string
type GetRequest ¶
type GetRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetTrainingId ¶
func (m *GetRequest) GetTrainingId() string
func (*GetRequest) GetUserId ¶
func (m *GetRequest) GetUserId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
type GetResponse ¶
type GetResponse struct {
Job *Job `protobuf:"bytes,1,opt,name=job" json:"job,omitempty" bson:"job,omitempty"`
}
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetJob ¶
func (m *GetResponse) GetJob() *Job
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
type GetStatusIDResponse ¶
type GetStatusIDResponse struct {
Status Status `protobuf:"varint,1,opt,name=status,enum=grpc.trainer.v2.Status" json:"status,omitempty" bson:"status,omitempty"`
}
func (*GetStatusIDResponse) Descriptor ¶
func (*GetStatusIDResponse) Descriptor() ([]byte, []int)
func (*GetStatusIDResponse) GetStatus ¶
func (m *GetStatusIDResponse) GetStatus() Status
func (*GetStatusIDResponse) ProtoMessage ¶
func (*GetStatusIDResponse) ProtoMessage()
func (*GetStatusIDResponse) Reset ¶
func (m *GetStatusIDResponse) Reset()
func (*GetStatusIDResponse) String ¶
func (m *GetStatusIDResponse) String() string
type GetStatusResponse ¶
type GetStatusResponse struct {
Status *TrainingStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty" bson:"status,omitempty"`
}
func (*GetStatusResponse) Descriptor ¶
func (*GetStatusResponse) Descriptor() ([]byte, []int)
func (*GetStatusResponse) GetStatus ¶
func (m *GetStatusResponse) GetStatus() *TrainingStatus
func (*GetStatusResponse) ProtoMessage ¶
func (*GetStatusResponse) ProtoMessage()
func (*GetStatusResponse) Reset ¶
func (m *GetStatusResponse) Reset()
func (*GetStatusResponse) String ¶
func (m *GetStatusResponse) String() string
type GetTestResponse ¶
type GetTestResponse struct {
Test string `protobuf:"bytes,1,opt,name=test" json:"test,omitempty" bson:"test,omitempty"`
}
func (*GetTestResponse) Descriptor ¶
func (*GetTestResponse) Descriptor() ([]byte, []int)
func (*GetTestResponse) GetTest ¶
func (m *GetTestResponse) GetTest() string
func (*GetTestResponse) ProtoMessage ¶
func (*GetTestResponse) ProtoMessage()
func (*GetTestResponse) Reset ¶
func (m *GetTestResponse) Reset()
func (*GetTestResponse) String ¶
func (m *GetTestResponse) String() string
type GetVersionsRequest ¶
type GetVersionsRequest struct { }
func (*GetVersionsRequest) Descriptor ¶
func (*GetVersionsRequest) Descriptor() ([]byte, []int)
func (*GetVersionsRequest) ProtoMessage ¶
func (*GetVersionsRequest) ProtoMessage()
func (*GetVersionsRequest) Reset ¶
func (m *GetVersionsRequest) Reset()
func (*GetVersionsRequest) String ¶
func (m *GetVersionsRequest) String() string
type HaltRequest ¶
type HaltRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*HaltRequest) Descriptor ¶
func (*HaltRequest) Descriptor() ([]byte, []int)
func (*HaltRequest) GetTrainingId ¶
func (m *HaltRequest) GetTrainingId() string
func (*HaltRequest) GetUserId ¶
func (m *HaltRequest) GetUserId() string
func (*HaltRequest) ProtoMessage ¶
func (*HaltRequest) ProtoMessage()
func (*HaltRequest) Reset ¶
func (m *HaltRequest) Reset()
func (*HaltRequest) String ¶
func (m *HaltRequest) String() string
type HaltResponse ¶
type HaltResponse struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,enum=grpc.trainer.v2.Status" json:"status,omitempty" bson:"status,omitempty"` }
func (*HaltResponse) Descriptor ¶
func (*HaltResponse) Descriptor() ([]byte, []int)
func (*HaltResponse) GetStatus ¶
func (m *HaltResponse) GetStatus() Status
func (*HaltResponse) GetTrainingId ¶
func (m *HaltResponse) GetTrainingId() string
func (*HaltResponse) GetUserId ¶
func (m *HaltResponse) GetUserId() string
func (*HaltResponse) ProtoMessage ¶
func (*HaltResponse) ProtoMessage()
func (*HaltResponse) Reset ¶
func (m *HaltResponse) Reset()
func (*HaltResponse) String ¶
func (m *HaltResponse) String() string
type ImageLocation ¶
type ImageLocation struct { Registry string `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty" bson:"registry,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty" bson:"namespace,omitempty"` AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken" json:"access_token,omitempty" bson:"access_token,omitempty"` Email string `protobuf:"bytes,4,opt,name=email" json:"email,omitempty" bson:"email,omitempty"` }
func (*ImageLocation) Descriptor ¶
func (*ImageLocation) Descriptor() ([]byte, []int)
func (*ImageLocation) GetAccessToken ¶
func (m *ImageLocation) GetAccessToken() string
func (*ImageLocation) GetEmail ¶
func (m *ImageLocation) GetEmail() string
func (*ImageLocation) GetNamespace ¶
func (m *ImageLocation) GetNamespace() string
func (*ImageLocation) GetRegistry ¶
func (m *ImageLocation) GetRegistry() string
func (*ImageLocation) ProtoMessage ¶
func (*ImageLocation) ProtoMessage()
func (*ImageLocation) Reset ¶
func (m *ImageLocation) Reset()
func (*ImageLocation) String ¶
func (m *ImageLocation) String() string
type Job ¶
type Job struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` ModelDefinition *ModelDefinition `` /* 133-byte string literal not displayed */ Training *Training `protobuf:"bytes,4,opt,name=training" json:"training,omitempty" bson:"training,omitempty"` Status *TrainingStatus `protobuf:"bytes,5,opt,name=status" json:"status,omitempty" bson:"status,omitempty"` Datastores []*Datastore `protobuf:"bytes,6,rep,name=datastores" json:"datastores,omitempty" bson:"datastores,omitempty"` JobId string `protobuf:"bytes,7,opt,name=job_id,json=jobId" json:"job_id,omitempty" bson:"job_id,omitempty"` Metrics *Metrics `protobuf:"bytes,8,opt,name=metrics" json:"metrics,omitempty" bson:"metrics,omitempty"` }
func (*Job) Descriptor ¶
func (*Job) GetDatastores ¶
func (*Job) GetMetrics ¶
func (*Job) GetModelDefinition ¶
func (m *Job) GetModelDefinition() *ModelDefinition
func (*Job) GetStatus ¶
func (m *Job) GetStatus() *TrainingStatus
func (*Job) GetTraining ¶
func (*Job) GetTrainingId ¶
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
type LogLine ¶
type LogLine struct { // For MetaInfo, at the minimum training_id and user_id must be specified. Meta *MetaInfo `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty" bson:"meta,omitempty"` // Raw line from the logs. Line string `protobuf:"bytes,2,opt,name=line" json:"line,omitempty" bson:"line,omitempty"` }
LogLine represents one line of log information, returned by training data endpoints.
func (*LogLine) Descriptor ¶
func (*LogLine) ProtoMessage ¶
func (*LogLine) ProtoMessage()
type MetaInfo ¶
type MetaInfo struct { // Unique id identifying the training job TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` // Unique id identifying the user UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` // Time that the metric occured: representing the number of millisecond since midnight January 1, 1970. Time int64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty" bson:"time,omitempty"` // Sequential index, 1-based Rindex int64 `protobuf:"varint,4,opt,name=rindex" json:"rindex,omitempty" bson:"rindex,omitempty"` // Optional subid Subid string `protobuf:"bytes,5,opt,name=subid" json:"subid,omitempty" bson:"subid,omitempty"` }
MetaInfo represents data shared with both log lines and evaluation metrics.
func (*MetaInfo) Descriptor ¶
func (*MetaInfo) GetTrainingId ¶
func (*MetaInfo) ProtoMessage ¶
func (*MetaInfo) ProtoMessage()
type Metrics ¶
type Metrics struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty" bson:"timestamp,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty" bson:"type,omitempty"` Iteration int32 `protobuf:"varint,3,opt,name=iteration" json:"iteration,omitempty" bson:"iteration,omitempty"` Values map[string]string `` /* 156-byte string literal not displayed */ }
func (*Metrics) Descriptor ¶
func (*Metrics) GetIteration ¶
func (*Metrics) GetTimestamp ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
type ModelDefinition ¶
type ModelDefinition struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty" bson:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty" bson:"description,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" bson:"content,omitempty"` Location string `protobuf:"bytes,4,opt,name=location" json:"location,omitempty" bson:"location,omitempty"` Framework *Framework `protobuf:"bytes,5,opt,name=framework" json:"framework,omitempty" bson:"framework,omitempty"` }
func (*ModelDefinition) Descriptor ¶
func (*ModelDefinition) Descriptor() ([]byte, []int)
func (*ModelDefinition) GetContent ¶
func (m *ModelDefinition) GetContent() []byte
func (*ModelDefinition) GetDescription ¶
func (m *ModelDefinition) GetDescription() string
func (*ModelDefinition) GetFramework ¶
func (m *ModelDefinition) GetFramework() *Framework
func (*ModelDefinition) GetLocation ¶
func (m *ModelDefinition) GetLocation() string
func (*ModelDefinition) GetName ¶
func (m *ModelDefinition) GetName() string
func (*ModelDefinition) ProtoMessage ¶
func (*ModelDefinition) ProtoMessage()
func (*ModelDefinition) Reset ¶
func (m *ModelDefinition) Reset()
func (*ModelDefinition) String ¶
func (m *ModelDefinition) String() string
type ModelDefinitionRequest ¶
type ModelDefinitionRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*ModelDefinitionRequest) Descriptor ¶
func (*ModelDefinitionRequest) Descriptor() ([]byte, []int)
func (*ModelDefinitionRequest) GetTrainingId ¶
func (m *ModelDefinitionRequest) GetTrainingId() string
func (*ModelDefinitionRequest) GetUserId ¶
func (m *ModelDefinitionRequest) GetUserId() string
func (*ModelDefinitionRequest) ProtoMessage ¶
func (*ModelDefinitionRequest) ProtoMessage()
func (*ModelDefinitionRequest) Reset ¶
func (m *ModelDefinitionRequest) Reset()
func (*ModelDefinitionRequest) String ¶
func (m *ModelDefinitionRequest) String() string
type Query ¶
type Query struct { // At this time, the SearchType value should normally always be TERM. SearchType Query_SearchType `` /* 133-byte string literal not displayed */ // At the minimum, the training_data and user_data must be specified in the meta substructure. Meta *MetaInfo `protobuf:"bytes,3,opt,name=meta" json:"meta,omitempty" bson:"meta,omitempty"` Since string `protobuf:"bytes,4,opt,name=since" json:"since,omitempty" bson:"since,omitempty"` // Only get this many records Pagesize int32 `protobuf:"varint,5,opt,name=pagesize" json:"pagesize,omitempty" bson:"pagesize,omitempty"` // The starting position. If positive or zero, count from beginning, if negative, count from end, exclusive with since. Pos int64 `protobuf:"varint,6,opt,name=pos" json:"pos,omitempty" bson:"pos,omitempty"` }
Query specifies the input query for logs and evaluation metrics.
func (*Query) Descriptor ¶
func (*Query) GetPagesize ¶
func (*Query) GetSearchType ¶
func (m *Query) GetSearchType() Query_SearchType
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
type Query_SearchType ¶
type Query_SearchType int32
const ( Query_TERM Query_SearchType = 0 Query_NESTED Query_SearchType = 1 Query_MATCH Query_SearchType = 2 Query_ALL Query_SearchType = 3 )
func (Query_SearchType) EnumDescriptor ¶
func (Query_SearchType) EnumDescriptor() ([]byte, []int)
func (Query_SearchType) String ¶
func (x Query_SearchType) String() string
type ResourceRequirements ¶
type ResourceRequirements struct { // Number of CPU cores Cpus float32 `protobuf:"fixed32,1,opt,name=cpus" json:"cpus,omitempty" bson:"cpus,omitempty"` // Number of GPUs Gpus float32 `protobuf:"fixed32,2,opt,name=gpus" json:"gpus,omitempty" bson:"gpus,omitempty"` // RAM Memory float32 `protobuf:"fixed32,3,opt,name=memory" json:"memory,omitempty" bson:"memory,omitempty"` MemoryUnit SizeUnit `` /* 144-byte string literal not displayed */ Storage float32 `protobuf:"fixed32,5,opt,name=storage" json:"storage,omitempty" bson:"storage,omitempty"` StorageUnit SizeUnit `` /* 148-byte string literal not displayed */ // Number of learners Learners int32 `protobuf:"varint,7,opt,name=learners" json:"learners,omitempty" bson:"learners,omitempty"` Schedpolicy string `protobuf:"bytes,8,opt,name=schedpolicy" json:"schedpolicy,omitempty" bson:"schedpolicy,omitempty"` Topology string `protobuf:"bytes,9,opt,name=topology" json:"topology,omitempty" bson:"topology,omitempty"` Architecture string `protobuf:"bytes,10,opt,name=architecture" json:"architecture,omitempty" bson:"architecture,omitempty"` // Optional. If not specified, job will be scheduled ONLY on nvidia-TeslaK80 // Constraint strictly enforced. If e.g., a nvidia-TeslaP100 is requested, // job will NOT start until a nvidia-TeslaP100 is available // Can only be nvidia-TeslaK80, nvidia-TeslaP100 or nvidia-TeslaV100 GpuType string `protobuf:"bytes,11,opt,name=gpu_type,json=gpuType" json:"gpu_type,omitempty" bson:"gpu_type,omitempty"` }
Used to specify resource requirements of a training job
func (*ResourceRequirements) Descriptor ¶
func (*ResourceRequirements) Descriptor() ([]byte, []int)
func (*ResourceRequirements) GetArchitecture ¶
func (m *ResourceRequirements) GetArchitecture() string
func (*ResourceRequirements) GetCpus ¶
func (m *ResourceRequirements) GetCpus() float32
func (*ResourceRequirements) GetGpuType ¶
func (m *ResourceRequirements) GetGpuType() string
func (*ResourceRequirements) GetGpus ¶
func (m *ResourceRequirements) GetGpus() float32
func (*ResourceRequirements) GetLearners ¶
func (m *ResourceRequirements) GetLearners() int32
func (*ResourceRequirements) GetMemory ¶
func (m *ResourceRequirements) GetMemory() float32
func (*ResourceRequirements) GetMemoryUnit ¶
func (m *ResourceRequirements) GetMemoryUnit() SizeUnit
func (*ResourceRequirements) GetSchedpolicy ¶
func (m *ResourceRequirements) GetSchedpolicy() string
func (*ResourceRequirements) GetStorage ¶
func (m *ResourceRequirements) GetStorage() float32
func (*ResourceRequirements) GetStorageUnit ¶
func (m *ResourceRequirements) GetStorageUnit() SizeUnit
func (*ResourceRequirements) GetTopology ¶
func (m *ResourceRequirements) GetTopology() string
func (*ResourceRequirements) ProtoMessage ¶
func (*ResourceRequirements) ProtoMessage()
func (*ResourceRequirements) Reset ¶
func (m *ResourceRequirements) Reset()
func (*ResourceRequirements) String ¶
func (m *ResourceRequirements) String() string
type ResumeRequest ¶
type ResumeRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*ResumeRequest) Descriptor ¶
func (*ResumeRequest) Descriptor() ([]byte, []int)
func (*ResumeRequest) GetTrainingId ¶
func (m *ResumeRequest) GetTrainingId() string
func (*ResumeRequest) GetUserId ¶
func (m *ResumeRequest) GetUserId() string
func (*ResumeRequest) ProtoMessage ¶
func (*ResumeRequest) ProtoMessage()
func (*ResumeRequest) Reset ¶
func (m *ResumeRequest) Reset()
func (*ResumeRequest) String ¶
func (m *ResumeRequest) String() string
type ResumeResponse ¶
type ResumeResponse struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,enum=grpc.trainer.v2.Status" json:"status,omitempty" bson:"status,omitempty"` }
func (*ResumeResponse) Descriptor ¶
func (*ResumeResponse) Descriptor() ([]byte, []int)
func (*ResumeResponse) GetStatus ¶
func (m *ResumeResponse) GetStatus() Status
func (*ResumeResponse) GetTrainingId ¶
func (m *ResumeResponse) GetTrainingId() string
func (*ResumeResponse) GetUserId ¶
func (m *ResumeResponse) GetUserId() string
func (*ResumeResponse) ProtoMessage ¶
func (*ResumeResponse) ProtoMessage()
func (*ResumeResponse) Reset ¶
func (m *ResumeResponse) Reset()
func (*ResumeResponse) String ¶
func (m *ResumeResponse) String() string
type TrainedModelLogRequest ¶
type TrainedModelLogRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Follow bool `protobuf:"varint,5,opt,name=follow" json:"follow,omitempty" bson:"follow,omitempty"` // These are for internal use only, and will be eventually removed! IsMetrics bool `protobuf:"varint,3,opt,name=is_metrics,json=isMetrics" json:"is_metrics,omitempty" bson:"is_metrics,omitempty"` IsSummary bool `protobuf:"varint,4,opt,name=is_summary,json=isSummary" json:"is_summary,omitempty" bson:"is_summary,omitempty"` }
func (*TrainedModelLogRequest) Descriptor ¶
func (*TrainedModelLogRequest) Descriptor() ([]byte, []int)
func (*TrainedModelLogRequest) GetFollow ¶
func (m *TrainedModelLogRequest) GetFollow() bool
func (*TrainedModelLogRequest) GetIsMetrics ¶
func (m *TrainedModelLogRequest) GetIsMetrics() bool
func (*TrainedModelLogRequest) GetIsSummary ¶
func (m *TrainedModelLogRequest) GetIsSummary() bool
func (*TrainedModelLogRequest) GetTrainingId ¶
func (m *TrainedModelLogRequest) GetTrainingId() string
func (*TrainedModelLogRequest) GetUserId ¶
func (m *TrainedModelLogRequest) GetUserId() string
func (*TrainedModelLogRequest) ProtoMessage ¶
func (*TrainedModelLogRequest) ProtoMessage()
func (*TrainedModelLogRequest) Reset ¶
func (m *TrainedModelLogRequest) Reset()
func (*TrainedModelLogRequest) String ¶
func (m *TrainedModelLogRequest) String() string
type TrainedModelMetricsRequest ¶
type TrainedModelMetricsRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Follow bool `protobuf:"varint,3,opt,name=follow" json:"follow,omitempty" bson:"follow,omitempty"` }
func (*TrainedModelMetricsRequest) Descriptor ¶
func (*TrainedModelMetricsRequest) Descriptor() ([]byte, []int)
func (*TrainedModelMetricsRequest) GetFollow ¶
func (m *TrainedModelMetricsRequest) GetFollow() bool
func (*TrainedModelMetricsRequest) GetTrainingId ¶
func (m *TrainedModelMetricsRequest) GetTrainingId() string
func (*TrainedModelMetricsRequest) GetUserId ¶
func (m *TrainedModelMetricsRequest) GetUserId() string
func (*TrainedModelMetricsRequest) ProtoMessage ¶
func (*TrainedModelMetricsRequest) ProtoMessage()
func (*TrainedModelMetricsRequest) Reset ¶
func (m *TrainedModelMetricsRequest) Reset()
func (*TrainedModelMetricsRequest) String ¶
func (m *TrainedModelMetricsRequest) String() string
type TrainedModelRequest ¶
type TrainedModelRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` }
func (*TrainedModelRequest) Descriptor ¶
func (*TrainedModelRequest) Descriptor() ([]byte, []int)
func (*TrainedModelRequest) GetTrainingId ¶
func (m *TrainedModelRequest) GetTrainingId() string
func (*TrainedModelRequest) GetUserId ¶
func (m *TrainedModelRequest) GetUserId() string
func (*TrainedModelRequest) ProtoMessage ¶
func (*TrainedModelRequest) ProtoMessage()
func (*TrainedModelRequest) Reset ¶
func (m *TrainedModelRequest) Reset()
func (*TrainedModelRequest) String ¶
func (m *TrainedModelRequest) String() string
type TrainerClient ¶
type TrainerClient interface { // Creates a new deep learning training job for a given model definition. CreateTrainingJob(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Reads a training job with a given ID. GetTrainingJob(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Returns all training jobs for a given user. GetAllTrainingsJobs(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (*GetAllResponse, error) // Deletes a training job with a given ID. DeleteTrainingJob(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Halts the training with a given ID without discarding the result. HaltTrainingJob(ctx context.Context, in *HaltRequest, opts ...grpc.CallOption) (*HaltResponse, error) // Returns the model definition that was used for training as application/zip. GetModelDefinition(ctx context.Context, in *ModelDefinitionRequest, opts ...grpc.CallOption) (Trainer_GetModelDefinitionClient, error) // Returns the trained model as application/zip. GetTrainedModel(ctx context.Context, in *TrainedModelRequest, opts ...grpc.CallOption) (Trainer_GetTrainedModelClient, error) // Returns the logs from the ZIP file stored in the object store. // Deprecated GetTrainedModelLogs(ctx context.Context, in *TrainedModelLogRequest, opts ...grpc.CallOption) (Trainer_GetTrainedModelLogsClient, error) GetTrainingLogs(ctx context.Context, in *Query, opts ...grpc.CallOption) (Trainer_GetTrainingLogsClient, error) // Get evaluation metrics records, based on query GetTrainingEMetrics(ctx context.Context, in *Query, opts ...grpc.CallOption) (Trainer_GetTrainingEMetricsClient, error) GetVersions(ctx context.Context, in *GetVersionsRequest, opts ...grpc.CallOption) (*Frameworks, error) // For internal use only! GetTrainingStatusID(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetStatusIDResponse, error) // For internal use only! // Updates an existing training status // TODO we should not have this but until we fix the status update handling properly, we have no other choice. UpdateTrainingJob(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Not implemented, to be removed (for GA) ResumeTrainingJob(ctx context.Context, in *ResumeRequest, opts ...grpc.CallOption) (*ResumeResponse, error) }
func NewTrainerClient ¶
func NewTrainerClient(cc *grpc.ClientConn) TrainerClient
type TrainerServer ¶
type TrainerServer interface { // Creates a new deep learning training job for a given model definition. CreateTrainingJob(context.Context, *CreateRequest) (*CreateResponse, error) // Reads a training job with a given ID. GetTrainingJob(context.Context, *GetRequest) (*GetResponse, error) // Returns all training jobs for a given user. GetAllTrainingsJobs(context.Context, *GetAllRequest) (*GetAllResponse, error) // Deletes a training job with a given ID. DeleteTrainingJob(context.Context, *DeleteRequest) (*DeleteResponse, error) // Halts the training with a given ID without discarding the result. HaltTrainingJob(context.Context, *HaltRequest) (*HaltResponse, error) // Returns the model definition that was used for training as application/zip. GetModelDefinition(*ModelDefinitionRequest, Trainer_GetModelDefinitionServer) error // Returns the trained model as application/zip. GetTrainedModel(*TrainedModelRequest, Trainer_GetTrainedModelServer) error // Returns the logs from the ZIP file stored in the object store. // Deprecated GetTrainedModelLogs(*TrainedModelLogRequest, Trainer_GetTrainedModelLogsServer) error GetTrainingLogs(*Query, Trainer_GetTrainingLogsServer) error // Get evaluation metrics records, based on query GetTrainingEMetrics(*Query, Trainer_GetTrainingEMetricsServer) error GetVersions(context.Context, *GetVersionsRequest) (*Frameworks, error) // For internal use only! GetTrainingStatusID(context.Context, *GetRequest) (*GetStatusIDResponse, error) // For internal use only! // Updates an existing training status // TODO we should not have this but until we fix the status update handling properly, we have no other choice. UpdateTrainingJob(context.Context, *UpdateRequest) (*UpdateResponse, error) // Not implemented, to be removed (for GA) ResumeTrainingJob(context.Context, *ResumeRequest) (*ResumeResponse, error) }
type Trainer_GetModelDefinitionClient ¶
type Trainer_GetModelDefinitionClient interface { Recv() (*ZippedDataChunk, error) grpc.ClientStream }
type Trainer_GetModelDefinitionServer ¶
type Trainer_GetModelDefinitionServer interface { Send(*ZippedDataChunk) error grpc.ServerStream }
type Trainer_GetTrainedModelClient ¶
type Trainer_GetTrainedModelClient interface { Recv() (*ZippedDataChunk, error) grpc.ClientStream }
type Trainer_GetTrainedModelLogsClient ¶
type Trainer_GetTrainedModelLogsClient interface { Recv() (*ByteStreamResponse, error) grpc.ClientStream }
type Trainer_GetTrainedModelLogsServer ¶
type Trainer_GetTrainedModelLogsServer interface { Send(*ByteStreamResponse) error grpc.ServerStream }
type Trainer_GetTrainedModelServer ¶
type Trainer_GetTrainedModelServer interface { Send(*ZippedDataChunk) error grpc.ServerStream }
type Trainer_GetTrainingEMetricsClient ¶
type Trainer_GetTrainingEMetricsClient interface { Recv() (*EMetrics, error) grpc.ClientStream }
type Trainer_GetTrainingEMetricsServer ¶
type Trainer_GetTrainingEMetricsServer interface { Send(*EMetrics) error grpc.ServerStream }
type Trainer_GetTrainingLogsClient ¶
type Trainer_GetTrainingLogsClient interface { Recv() (*LogLine, error) grpc.ClientStream }
type Trainer_GetTrainingLogsServer ¶
type Trainer_GetTrainingLogsServer interface { Send(*LogLine) error grpc.ServerStream }
type Training ¶
type Training struct { // Command to execute during training Command string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty" bson:"command,omitempty"` // Resource requirements for the training Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty" bson:"resources,omitempty"` // Input and output data as data store references InputData []string `protobuf:"bytes,3,rep,name=input_data,json=inputData" json:"input_data,omitempty" bson:"input_data,omitempty"` OutputData []string `protobuf:"bytes,4,rep,name=output_data,json=outputData" json:"output_data,omitempty" bson:"output_data,omitempty"` // whether we want to enable detailed profiling during the training Profiling bool `protobuf:"varint,5,opt,name=profiling" json:"profiling,omitempty" bson:"profiling,omitempty"` }
func (*Training) Descriptor ¶
func (*Training) GetCommand ¶
func (*Training) GetInputData ¶
func (*Training) GetOutputData ¶
func (*Training) GetProfiling ¶
func (*Training) GetResources ¶
func (m *Training) GetResources() *ResourceRequirements
func (*Training) ProtoMessage ¶
func (*Training) ProtoMessage()
type TrainingStatus ¶
type TrainingStatus struct { Status Status `protobuf:"varint,1,opt,name=status,enum=grpc.trainer.v2.Status" json:"status,omitempty" bson:"status,omitempty"` SubmissionTimestamp string `` /* 149-byte string literal not displayed */ CompletionTimestamp string `` /* 149-byte string literal not displayed */ DownloadStartTimestamp string `` /* 164-byte string literal not displayed */ ProcessStartTimestamp string `` /* 160-byte string literal not displayed */ StoreStartTimestamp string `` /* 152-byte string literal not displayed */ StatusMessage string `protobuf:"bytes,8,opt,name=status_message,json=statusMessage" json:"status_message,omitempty" bson:"status_message,omitempty"` ErrorCode string `protobuf:"bytes,9,opt,name=error_code,json=errorCode" json:"error_code,omitempty" bson:"error_code,omitempty"` }
func (*TrainingStatus) Descriptor ¶
func (*TrainingStatus) Descriptor() ([]byte, []int)
func (*TrainingStatus) GetCompletionTimestamp ¶
func (m *TrainingStatus) GetCompletionTimestamp() string
func (*TrainingStatus) GetDownloadStartTimestamp ¶
func (m *TrainingStatus) GetDownloadStartTimestamp() string
func (*TrainingStatus) GetErrorCode ¶
func (m *TrainingStatus) GetErrorCode() string
func (*TrainingStatus) GetProcessStartTimestamp ¶
func (m *TrainingStatus) GetProcessStartTimestamp() string
func (*TrainingStatus) GetStatus ¶
func (m *TrainingStatus) GetStatus() Status
func (*TrainingStatus) GetStatusMessage ¶
func (m *TrainingStatus) GetStatusMessage() string
func (*TrainingStatus) GetStoreStartTimestamp ¶
func (m *TrainingStatus) GetStoreStartTimestamp() string
func (*TrainingStatus) GetSubmissionTimestamp ¶
func (m *TrainingStatus) GetSubmissionTimestamp() string
func (*TrainingStatus) ProtoMessage ¶
func (*TrainingStatus) ProtoMessage()
func (*TrainingStatus) Reset ¶
func (m *TrainingStatus) Reset()
func (*TrainingStatus) String ¶
func (m *TrainingStatus) String() string
type UpdateRequest ¶
type UpdateRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,enum=grpc.trainer.v2.Status" json:"status,omitempty" bson:"status,omitempty"` StatusMessage string `protobuf:"bytes,4,opt,name=status_message,json=statusMessage" json:"status_message,omitempty" bson:"status_message,omitempty"` ErrorCode string `protobuf:"bytes,5,opt,name=error_code,json=errorCode" json:"error_code,omitempty" bson:"error_code,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp" json:"timestamp,omitempty" bson:"timestamp,omitempty"` }
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetErrorCode ¶
func (m *UpdateRequest) GetErrorCode() string
func (*UpdateRequest) GetStatus ¶
func (m *UpdateRequest) GetStatus() Status
func (*UpdateRequest) GetStatusMessage ¶
func (m *UpdateRequest) GetStatusMessage() string
func (*UpdateRequest) GetTimestamp ¶
func (m *UpdateRequest) GetTimestamp() string
func (*UpdateRequest) GetTrainingId ¶
func (m *UpdateRequest) GetTrainingId() string
func (*UpdateRequest) GetUserId ¶
func (m *UpdateRequest) GetUserId() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct {
TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"`
}
func (*UpdateResponse) Descriptor ¶
func (*UpdateResponse) Descriptor() ([]byte, []int)
func (*UpdateResponse) GetTrainingId ¶
func (m *UpdateResponse) GetTrainingId() string
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) Reset ¶
func (m *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (m *UpdateResponse) String() string
type UpdateTrainedModelMetricsRequest ¶
type UpdateTrainedModelMetricsRequest struct { TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty" bson:"user_id,omitempty"` NewMetrics *Metrics `protobuf:"bytes,3,opt,name=new_metrics,json=newMetrics" json:"new_metrics,omitempty" bson:"new_metrics,omitempty"` }
func (*UpdateTrainedModelMetricsRequest) Descriptor ¶
func (*UpdateTrainedModelMetricsRequest) Descriptor() ([]byte, []int)
func (*UpdateTrainedModelMetricsRequest) GetNewMetrics ¶
func (m *UpdateTrainedModelMetricsRequest) GetNewMetrics() *Metrics
func (*UpdateTrainedModelMetricsRequest) GetTrainingId ¶
func (m *UpdateTrainedModelMetricsRequest) GetTrainingId() string
func (*UpdateTrainedModelMetricsRequest) GetUserId ¶
func (m *UpdateTrainedModelMetricsRequest) GetUserId() string
func (*UpdateTrainedModelMetricsRequest) ProtoMessage ¶
func (*UpdateTrainedModelMetricsRequest) ProtoMessage()
func (*UpdateTrainedModelMetricsRequest) Reset ¶
func (m *UpdateTrainedModelMetricsRequest) Reset()
func (*UpdateTrainedModelMetricsRequest) String ¶
func (m *UpdateTrainedModelMetricsRequest) String() string
type UpdateTrainedModelMetricsResponse ¶
type UpdateTrainedModelMetricsResponse struct {
TrainingId string `protobuf:"bytes,1,opt,name=training_id,json=trainingId" json:"training_id,omitempty" bson:"training_id,omitempty"`
}
func (*UpdateTrainedModelMetricsResponse) Descriptor ¶
func (*UpdateTrainedModelMetricsResponse) Descriptor() ([]byte, []int)
func (*UpdateTrainedModelMetricsResponse) GetTrainingId ¶
func (m *UpdateTrainedModelMetricsResponse) GetTrainingId() string
func (*UpdateTrainedModelMetricsResponse) ProtoMessage ¶
func (*UpdateTrainedModelMetricsResponse) ProtoMessage()
func (*UpdateTrainedModelMetricsResponse) Reset ¶
func (m *UpdateTrainedModelMetricsResponse) Reset()
func (*UpdateTrainedModelMetricsResponse) String ¶
func (m *UpdateTrainedModelMetricsResponse) String() string
type ZippedDataChunk ¶
type ZippedDataChunk struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" bson:"data,omitempty"`
}
func (*ZippedDataChunk) Descriptor ¶
func (*ZippedDataChunk) Descriptor() ([]byte, []int)
func (*ZippedDataChunk) GetData ¶
func (m *ZippedDataChunk) GetData() []byte
func (*ZippedDataChunk) ProtoMessage ¶
func (*ZippedDataChunk) ProtoMessage()
func (*ZippedDataChunk) Reset ¶
func (m *ZippedDataChunk) Reset()
func (*ZippedDataChunk) String ¶
func (m *ZippedDataChunk) String() string