trait CustomMetricOrBuilder extends MessageOrBuilder
Ordering
- Alphabetic
- By Inheritance
Inherited
- CustomMetricOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
- abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
- abstract def getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
- abstract def getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- abstract def getIsMaximized(): Boolean
True if the metric is maximized: false if it is minimized. Must be specified if the CustomMetric is used as an objective.
True if the metric is maximized: false if it is minimized. Must be specified if the CustomMetric is used as an objective.
bool is_maximized = 2;
- returns
The isMaximized.
- abstract def getName(): String
The display name of a metric computed by the model. The name should match ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics. Trailing and leading spaces will be truncated before matching.
The display name of a metric computed by the model. The name should match ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics. Trailing and leading spaces will be truncated before matching.
string name = 1;
- returns
The name.
- abstract def getNameBytes(): ByteString
The display name of a metric computed by the model. The name should match ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics. Trailing and leading spaces will be truncated before matching.
The display name of a metric computed by the model. The name should match ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics. Trailing and leading spaces will be truncated before matching.
string name = 1;
- returns
The bytes for name.
- abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract def getRegistrySpec(): RegistrySpec
Specification of the metric in the binary’s metric registry.
Specification of the metric in the binary’s metric registry.
.tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;
- returns
The registrySpec.
- abstract def getRegistrySpecOrBuilder(): RegistrySpecOrBuilder
Specification of the metric in the binary’s metric registry.
Specification of the metric in the binary’s metric registry.
.tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;
- abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
- abstract def getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
- abstract def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasRegistrySpec(): Boolean
Specification of the metric in the binary’s metric registry.
Specification of the metric in the binary’s metric registry.
.tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;
- returns
Whether the registrySpec field is set.
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder