org.tensorflow.metadata.v0.FloatDomainOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/schema.proto
// Protobuf Java Version: 3.25.4
package org.tensorflow.metadata.v0;
public interface FloatDomainOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.metadata.v0.FloatDomain)
com.google.protobuf.MessageOrBuilder {
/**
*
* Id of the domain. Required if the domain is defined at the schema level. If
* so, then the name must be unique within the schema.
*
*
* optional string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Id of the domain. Required if the domain is defined at the schema level. If
* so, then the name must be unique within the schema.
*
*
* optional string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Id of the domain. Required if the domain is defined at the schema level. If
* so, then the name must be unique within the schema.
*
*
* optional string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Min and max values of the domain.
*
*
* optional float min = 3;
* @return Whether the min field is set.
*/
boolean hasMin();
/**
*
* Min and max values of the domain.
*
*
* optional float min = 3;
* @return The min.
*/
float getMin();
/**
* optional float max = 4;
* @return Whether the max field is set.
*/
boolean hasMax();
/**
* optional float max = 4;
* @return The max.
*/
float getMax();
/**
*
* If true, feature should not contain NaNs.
*
*
* optional bool disallow_nan = 5;
* @return Whether the disallowNan field is set.
*/
boolean hasDisallowNan();
/**
*
* If true, feature should not contain NaNs.
*
*
* optional bool disallow_nan = 5;
* @return The disallowNan.
*/
boolean getDisallowNan();
/**
*
* If true, feature should not contain Inf or -Inf.
*
*
* optional bool disallow_inf = 6;
* @return Whether the disallowInf field is set.
*/
boolean hasDisallowInf();
/**
*
* If true, feature should not contain Inf or -Inf.
*
*
* optional bool disallow_inf = 6;
* @return The disallowInf.
*/
boolean getDisallowInf();
/**
*
* If True, this indicates that the feature is semantically an embedding. This
* can be useful for distinguishing fixed dimensional numeric features that
* should be fed to a model unmodified.
*
*
* optional bool is_embedding = 7;
* @return Whether the isEmbedding field is set.
*/
boolean hasIsEmbedding();
/**
*
* If True, this indicates that the feature is semantically an embedding. This
* can be useful for distinguishing fixed dimensional numeric features that
* should be fed to a model unmodified.
*
*
* optional bool is_embedding = 7;
* @return The isEmbedding.
*/
boolean getIsEmbedding();
/**
*
* If true then the domain encodes categorical values (i.e., ids) rather than
* continuous values.
*
*
* optional bool is_categorical = 8;
* @return Whether the isCategorical field is set.
*/
boolean hasIsCategorical();
/**
*
* If true then the domain encodes categorical values (i.e., ids) rather than
* continuous values.
*
*
* optional bool is_categorical = 8;
* @return The isCategorical.
*/
boolean getIsCategorical();
/**
*
* This field specifies the embedding dimension and is only applicable if
* is_embedding is true. It is useful for use cases such as restoring shapes
* for flattened sequence of embeddings.
*
*
* optional int64 embedding_dim = 9;
* @return Whether the embeddingDim field is set.
*/
boolean hasEmbeddingDim();
/**
*
* This field specifies the embedding dimension and is only applicable if
* is_embedding is true. It is useful for use cases such as restoring shapes
* for flattened sequence of embeddings.
*
*
* optional int64 embedding_dim = 9;
* @return The embeddingDim.
*/
long getEmbeddingDim();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy