classe finale statique publique StructuredValue.Builder
`StructuredValue` represents a dynamically typed value representing various data structures that are inspired by Python data structures typically used in TensorFlow functions as inputs and outputs. For example when saving a Layer there may be a `training` argument. If the user passes a boolean True/False, that switches between two concrete TensorFlow functions. In order to switch between them in the same way after loading the SavedModel, we need to represent "True" and "False". A more advanced example might be a function which takes a list of dictionaries mapping from strings to Tensors. In order to map from user-specified arguments `[{"a": tf.constant(1.)}, {"q": tf.constant(3.)}]` after load to the right saved TensorFlow function, we need to represent the nested structure and the strings, recording that we have a trace for anything matching `[{"a": tf.TensorSpec(None, tf.float32)}, {"q": tf.TensorSpec([], tf.float64)}]` as an example. Likewise functions may return nested structures of Tensors, for example returning a dictionary mapping from strings to Tensors. In order for the loaded function to return the same structure we need to serialize it. This is an ergonomic aid for working with loaded SavedModels, not a promise to serialize all possible function signatures. For example we do not expect to pickle generic Python objects, and ideally we'd stay language-agnostic.
tensorflow.StructuredValue
de type Protobuf.StructuredValue Méthodes publiques
StructuredValue.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
Valeur structurée | construire () |
Valeur structurée | buildPartial () |
StructuredValue.Builder | clair () |
StructuredValue.Builder | clearBoolValue () Represents a boolean value. |
StructuredValue.Builder | clearBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | effacerDictValue () Represents a dict `Value`. |
StructuredValue.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
StructuredValue.Builder | clearFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | clearInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | clearKind () |
StructuredValue.Builder | effacerListeValeur () Represents a list of `Value`. |
StructuredValue.Builder | clearNamedTupleValue () Represents Python's namedtuple. |
StructuredValue.Builder | clearAucuneValue () Represents None. |
StructuredValue.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StructuredValue.Builder | clearStringValue () Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | clearTensorDtypeValue () Represents an enum value for dtype. |
StructuredValue.Builder | clearTensorShapeValue () Represents a TensorShape. |
StructuredValue.Builder | clearTensorSpecValue () Represents a value for tf.TensorSpec. |
StructuredValue.Builder | clearTupleValue () Represents a tuple of `Value`. |
StructuredValue.Builder | clearTypeSpecValue () Represents a value for tf.TypeSpec. |
StructuredValue.Builder | cloner () |
booléen | getBoolValue () Represents a boolean value. |
BoundedTensorSpecProto | getBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
BoundedTensorSpecProto.Builder | getBoundedTensorSpecValueBuilder () Represents a value for tf.BoundedTensorSpec. |
BoundedTensorSpecProtoOrBuilder | getBoundedTensorSpecValueOrBuilder () Represents a value for tf.BoundedTensorSpec. |
Valeur structurée | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ValeurDict | obtenirDictValue () Represents a dict `Value`. |
DictValue.Builder | getDictValueBuilder () Represents a dict `Value`. |
DictValueOrBuilder | getDictValueOrBuilder () Represents a dict `Value`. |
double | obtenirFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
long | getInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.KindCase | getKindCase () |
ValeurListe | getListValue () Represents a list of `Value`. |
ListValue.Builder | getListValueBuilder () Represents a list of `Value`. |
ListeValeurOuBuilder | getListValueOrBuilder () Represents a list of `Value`. |
ValeurNamedTuple | getNamedTupleValue () Represents Python's namedtuple. |
NamedTupleValue.Builder | getNamedTupleValueBuilder () Represents Python's namedtuple. |
NamedTupleValueOrBuilder | getNamedTupleValueOrBuilder () Represents Python's namedtuple. |
AucuneValeur | getNoneValue () Represents None. |
AucunValue.Builder | getNoneValueBuilder () Represents None. |
AucuneValeurOuBuilder | getNoneValueOrBuilder () Represents None. |
Chaîne | getStringValue () Represents a string of Unicode characters stored in a Python `str`. |
com.google.protobuf.ByteString | getStringValueBytes () Represents a string of Unicode characters stored in a Python `str`. |
Type de données | getTensorDtypeValue () Represents an enum value for dtype. |
int | getTensorDtypeValueValue () Represents an enum value for dtype. |
TensorShapeProto | getTensorShapeValue () Represents a TensorShape. |
TensorShapeProto.Builder | getTensorShapeValueBuilder () Represents a TensorShape. |
TensorShapeProtoOrBuilder | getTensorShapeValueOrBuilder () Represents a TensorShape. |
TensorSpecProto | getTensorSpecValue () Represents a value for tf.TensorSpec. |
TensorSpecProto.Builder | getTensorSpecValueBuilder () Represents a value for tf.TensorSpec. |
TensorSpecProtoOrBuilder | getTensorSpecValueOrBuilder () Represents a value for tf.TensorSpec. |
Valeur du tuple | obtenirTupleValue () Represents a tuple of `Value`. |
TupleValue.Builder | getTupleValueBuilder () Represents a tuple of `Value`. |
TupleValueOrBuilder | getTupleValueOrBuilder () Represents a tuple of `Value`. |
TypeSpecProto | getTypeSpecValue () Represents a value for tf.TypeSpec. |
TypeSpecProto.Builder | getTypeSpecValueBuilder () Represents a value for tf.TypeSpec. |
TypeSpecProtoOrBuilder | getTypeSpecValueOrBuilder () Represents a value for tf.TypeSpec. |
booléen | hasBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
booléen | hasDictValue () Represents a dict `Value`. |
booléen | hasListValue () Represents a list of `Value`. |
booléen | hasNamedTupleValue () Represents Python's namedtuple. |
booléen | hasNoneValue () Represents None. |
booléen | hasTensorShapeValue () Represents a TensorShape. |
booléen | hasTensorSpecValue () Represents a value for tf.TensorSpec. |
booléen | hasTupleValue () Represents a tuple of `Value`. |
booléen | hasTypeSpecValue () Represents a value for tf.TypeSpec. |
booléen final | |
StructuredValue.Builder | mergeBoundedTensorSpecValue (valeur BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | |
StructuredValue.Builder | mergeFrom (com.google.protobuf.Message autre) |
StructuredValue.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
StructuredValue.Builder | setBoolValue (valeur booléenne) Represents a boolean value. |
StructuredValue.Builder | setBoundedTensorSpecValue (valeur BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | setBoundedTensorSpecValue ( BoundedTensorSpecProto.Builder builderForValue) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
StructuredValue.Builder | setFloat64Value (valeur double) Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | setInt64Value (valeur longue) Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
StructuredValue.Builder | setStringValue (valeur de chaîne) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | setStringValueBytes (valeur com.google.protobuf.ByteString) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | |
StructuredValue.Builder | setTensorDtypeValueValue (valeur int) Represents an enum value for dtype. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public StructuredValue.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public StructuredValue.Builder clearBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder clearDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder clearFloat64Value ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public StructuredValue.Builder clearInt64Value ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
public StructuredValue.Builder clearListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder clearNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder clearNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder clearStringValue ()
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public StructuredValue.Builder clearTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public StructuredValue.Builder clearTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder clearTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder clearTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder clearTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public booléen getBoolValue ()
Represents a boolean value.
bool bool_value = 14;
public BoundedTensorSpecProto getBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public BoundedTensorSpecProto.Builder getBoundedTensorSpecValueBuilder ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public DictValue.Builder getDictValueBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public DictValueOrBuilder getDictValueOrBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public double getFloat64Value ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public long getInt64Value ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
public ListValue getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public ListValue.Builder getListValueBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public ListValueOrBuilder getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public NamedTupleValue getNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public NamedTupleValue.Builder getNamedTupleValueBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public NoneValue.Builder getNoneValueBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
public NoneValueOrBuilder getNoneValueOrBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
chaîne publique getStringValue ()
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public com.google.protobuf.ByteString getStringValueBytes ()
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
Type de données public getTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public int getTensorDtypeValueValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public TensorShapeProto getTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public TensorShapeProto.Builder getTensorShapeValueBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public TensorShapeProtoOrBuilder getTensorShapeValueOrBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public TensorSpecProto getTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public TensorSpecProto.Builder getTensorSpecValueBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public TupleValue getTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public TupleValue.Builder getTupleValueBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public TupleValueOrBuilder getTupleValueOrBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public TypeSpecProto getTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public TypeSpecProto.Builder getTypeSpecValueBuilder ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public TypeSpecProtoOrBuilder getTypeSpecValueOrBuilder ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public booléen hasBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public booléen hasDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public booléen hasListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public booléen hasNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public booléen hasNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
public booléen hasTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public booléen hasTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public booléen hasTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public booléen hasTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public final booléen isInitialized ()
public StructuredValue.Builder mergeBoundedTensorSpecValue (valeur BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder mergeDictValue (valeur DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public StructuredValue.Builder mergeListValue (valeur ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder mergeNamedTupleValue (valeur NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder mergeNoneValue (valeur NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder mergeTensorShapeValue (valeur TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder mergeTensorSpecValue (valeur TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder mergeTupleValue (valeur TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder mergeTypeSpecValue (valeur TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public final StructuredValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public StructuredValue.Builder setBoolValue (valeur booléenne)
Represents a boolean value.
bool bool_value = 14;
public StructuredValue.Builder setBoundedTensorSpecValue (valeur BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder setBoundedTensorSpecValue ( BoundedTensorSpecProto.Builder builderForValue)
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder setDictValue ( DictValue.Builder builderForValue)
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setDictValue (valeur DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public StructuredValue.Builder setFloat64Value (valeur double)
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public StructuredValue.Builder setInt64Value (valeur longue)
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
public StructuredValue.Builder setListValue ( ListValue.Builder builderForValue)
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder setListValue (valeur ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder setNamedTupleValue ( NamedTupleValue.Builder builderForValue)
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder setNamedTupleValue (valeur NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder setNoneValue ( NoneValue.Builder builderForValue)
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setNoneValue (valeur NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public StructuredValue.Builder setStringValue (valeur de chaîne)
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public StructuredValue.Builder setStringValueBytes (valeur com.google.protobuf.ByteString)
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public StructuredValue.Builder setTensorDtypeValue (valeur DataType )
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public StructuredValue.Builder setTensorDtypeValueValue (valeur int)
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public StructuredValue.Builder setTensorShapeValue ( TensorShapeProto.Builder builderForValue)
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder setTensorShapeValue (valeur TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder setTensorSpecValue ( TensorSpecProto.Builder builderForValue)
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTensorSpecValue (valeur TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTupleValue (valeur TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder setTupleValue ( TupleValue.Builder builderForValue)
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder setTypeSpecValue ( TypeSpecProto.Builder builderForValue)
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public StructuredValue.Builder setTypeSpecValue (valeur TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;