final class Task extends GeneratedMessageV3 with TaskOrBuilder
Describes a single task in a model and all its properties. A task corresponds to a single output of the model. Multiple tasks in the same problem statement correspond to different outputs of the model.
Protobuf type tensorflow.metadata.v0.Task
- Source
- Task.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Task
- TaskOrBuilder
- GeneratedMessageV3
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def equals(obj: AnyRef): Boolean
- Definition Classes
- Task → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getDefaultInstanceForType(): Task
- Definition Classes
- Task → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getIsAuxiliary(): Boolean
True to indicate the task is an auxiliary task in a multi-task setting. Auxiliary tasks are of minor relevance for the application and they are added only to improve the performance on a primary task (by providing additional regularization or data augmentation), and thus are not considered in the meta optimization process (but may be utilized in the learner optimization).
True to indicate the task is an auxiliary task in a multi-task setting. Auxiliary tasks are of minor relevance for the application and they are added only to improve the performance on a primary task (by providing additional regularization or data augmentation), and thus are not considered in the meta optimization process (but may be utilized in the learner optimization).
bool is_auxiliary = 6;
- returns
The isAuxiliary.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getName(): String
The task name. Tasks within the same ProblemStatement should have unique names. This a REQUIRED field in case of multi-task learning problems.
The task name. Tasks within the same ProblemStatement should have unique names. This a REQUIRED field in case of multi-task learning problems.
string name = 5;
- returns
The name.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getNameBytes(): ByteString
The task name. Tasks within the same ProblemStatement should have unique names. This a REQUIRED field in case of multi-task learning problems.
The task name. Tasks within the same ProblemStatement should have unique names. This a REQUIRED field in case of multi-task learning problems.
string name = 5;
- returns
The bytes for name.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def getParserForType(): Parser[Task]
- Definition Classes
- Task → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
- def getPerformanceMetric(index: Int): PerformanceMetric
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
repeated .tensorflow.metadata.v0.PerformanceMetric performance_metric = 4;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getPerformanceMetricCount(): Int
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
repeated .tensorflow.metadata.v0.PerformanceMetric performance_metric = 4;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getPerformanceMetricList(): List[PerformanceMetric]
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
repeated .tensorflow.metadata.v0.PerformanceMetric performance_metric = 4;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getPerformanceMetricOrBuilder(index: Int): PerformanceMetricOrBuilder
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
repeated .tensorflow.metadata.v0.PerformanceMetric performance_metric = 4;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getPerformanceMetricOrBuilderList(): List[_ <: PerformanceMetricOrBuilder]
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
This field includes performance metrics of this head that are important to the problem owner and need to be monitored and reported. However, unlike fields such as "meta_optimization_target", these metrics are not not automatically used in meta-optimization.
repeated .tensorflow.metadata.v0.PerformanceMetric performance_metric = 4;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- Task → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def getTaskWeight(): Double
If a Problem is composed of multiple sub-tasks, the weight of each task determines the importance of solving each sub-task. It is used to rank and select the best solution for multi-task problems. Not meaningful for a problem with one task. If the problem has multiple tasks and all task_weight=0 (unset) then all tasks are weighted equally.
If a Problem is composed of multiple sub-tasks, the weight of each task determines the importance of solving each sub-task. It is used to rank and select the best solution for multi-task problems. Not meaningful for a problem with one task. If the problem has multiple tasks and all task_weight=0 (unset) then all tasks are weighted equally.
double task_weight = 2;
- returns
The taskWeight.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getType(): Type
Specification of the label and weight columns, and the type of the prediction or classification.
Specification of the label and weight columns, and the type of the prediction or classification.
.tensorflow.metadata.v0.Type type = 1;
- returns
The type.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getTypeOrBuilder(): TypeOrBuilder
Specification of the label and weight columns, and the type of the prediction or classification.
Specification of the label and weight columns, and the type of the prediction or classification.
.tensorflow.metadata.v0.Type type = 1;
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def hasType(): Boolean
Specification of the label and weight columns, and the type of the prediction or classification.
Specification of the label and weight columns, and the type of the prediction or classification.
.tensorflow.metadata.v0.Type type = 1;
- returns
Whether the type field is set.
- Definition Classes
- Task → TaskOrBuilder
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- Task → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- final def isInitialized(): Boolean
- Definition Classes
- Task → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- Task → Message → MessageLite
- Annotations
- @Override()
- def toBuilder(): Builder
- Definition Classes
- Task → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- Task → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])