StructuredValue.Builder

classe finale statica pubblica 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.
 
Tipo protobuf tensorflow.StructuredValue

Metodi pubblici

StructuredValue.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
Valore strutturato
Valore strutturato
StructuredValue.Builder
chiaro ()
StructuredValue.Builder
clearBoolValue ()
 Represents a boolean value.
StructuredValue.Builder
clearBoundedTensorSpecValue ()
 Represents a value for tf.BoundedTensorSpec.
StructuredValue.Builder
clearDictValue ()
 Represents a dict `Value`.
StructuredValue.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
StructuredValue.Builder
clearFloat64Value ()
 Represents a double-precision floating-point value (a Python `float`).
StructuredValue.Builder
clearInt64Valore ()
 Represents a signed integer value, limited to 64 bits.
StructuredValue.Builder
StructuredValue.Builder
valoreelencochiaro ()
 Represents a list of `Value`.
StructuredValue.Builder
clearNamedTupleValue ()
 Represents Python's namedtuple.
StructuredValue.Builder
clearNoneValue ()
 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
clone ()
booleano
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.
Valore strutturato
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
DictValue
getDictValue ()
 Represents a dict `Value`.
DictValue.Builder
getDictValueBuilder ()
 Represents a dict `Value`.
DictValueOrBuilder
getDictValueOrBuilder ()
 Represents a dict `Value`.
Doppio
getFloat64Value ()
 Represents a double-precision floating-point value (a Python `float`).
lungo
getInt64Valore ()
 Represents a signed integer value, limited to 64 bits.
StructuredValue.KindCase
Valoreelenco
getListValue ()
 Represents a list of `Value`.
ListValue.Builder
getListValueBuilder ()
 Represents a list of `Value`.
ListValueOrBuilder
getListValueOrBuilder ()
 Represents a list of `Value`.
NomeTupleValue
getNamedTupleValue ()
 Represents Python's namedtuple.
NamedTupleValue.Builder
getNamedTupleValueBuilder ()
 Represents Python's namedtuple.
NomeTupleValueOrBuilder
getNamedTupleValueOrBuilder ()
 Represents Python's namedtuple.
NessunoValore
getNoneValue ()
 Represents None.
NoneValue.Builder
getNoneValueBuilder ()
 Represents None.
NoneValueOrBuilder
getNoneValueOrBuilder ()
 Represents None.
Corda
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`.
Tipo di dati
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.
TupleValue
getTupleValue ()
 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.
booleano
haBoundedTensorSpecValue ()
 Represents a value for tf.BoundedTensorSpec.
booleano
hasDictValue ()
 Represents a dict `Value`.
booleano
hasListValue ()
 Represents a list of `Value`.
booleano
hasNamedTupleValue ()
 Represents Python's namedtuple.
booleano
hasNoneValue ()
 Represents None.
booleano
hasTensorShapeValue ()
 Represents a TensorShape.
booleano
hasTensorSpecValue ()
 Represents a value for tf.TensorSpec.
booleano
hasTupleValue ()
 Represents a tuple of `Value`.
booleano
hasTypeSpecValue ()
 Represents a value for tf.TypeSpec.
booleano finale
StructuredValue.Builder
mergeBoundedTensorSpecValue (valore BoundedTensorSpecProto )
 Represents a value for tf.BoundedTensorSpec.
StructuredValue.Builder
mergeDictValue (valore DictValue )
 Represents a dict `Value`.
StructuredValue.Builder
mergeFrom (com.google.protobuf.Message altro)
StructuredValue.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
StructuredValue.Builder
mergeListValue (valore ListValue )
 Represents a list of `Value`.
StructuredValue.Builder
mergeNamedTupleValue (valore NamedTupleValue )
 Represents Python's namedtuple.
StructuredValue.Builder
mergeNoneValue (valore NoneValue )
 Represents None.
StructuredValue.Builder
mergeTensorShapeValue (valore TensorShapeProto )
 Represents a TensorShape.
StructuredValue.Builder
mergeTensorSpecValue (valore TensorSpecProto )
 Represents a value for tf.TensorSpec.
StructuredValue.Builder
mergeTupleValue (valore TupleValue )
 Represents a tuple of `Value`.
StructuredValue.Builder
mergeTypeSpecValue (valore TypeSpecProto )
 Represents a value for tf.TypeSpec.
finale StructuredValue.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
StructuredValue.Builder
setBoolValue (valore booleano)
 Represents a boolean value.
StructuredValue.Builder
setBoundedTensorSpecValue (valore BoundedTensorSpecProto )
 Represents a value for tf.BoundedTensorSpec.
StructuredValue.Builder
setBoundedTensorSpecValue ( BoundedTensorSpecProto.Builder builderForValue)
 Represents a value for tf.BoundedTensorSpec.
StructuredValue.Builder
setDictValue ( DictValue.BuilderbuilderForValue )
 Represents a dict `Value`.
StructuredValue.Builder
setDictValue (valore DictValue )
 Represents a dict `Value`.
StructuredValue.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
StructuredValue.Builder
setFloat64Value (doppio valore)
 Represents a double-precision floating-point value (a Python `float`).
StructuredValue.Builder
setInt64Value (valore lungo)
 Represents a signed integer value, limited to 64 bits.
StructuredValue.Builder
setListValue ( ListValue.Builder builderForValue)
 Represents a list of `Value`.
StructuredValue.Builder
setListValue (valore ListValue )
 Represents a list of `Value`.
StructuredValue.Builder
setNamedTupleValue ( NamedTupleValue.Builder builderForValue)
 Represents Python's namedtuple.
StructuredValue.Builder
setNamedTupleValue (valore NamedTupleValue )
 Represents Python's namedtuple.
StructuredValue.Builder
setNoneValue ( NoneValue.Builder builderForValue)
 Represents None.
StructuredValue.Builder
setNoneValue (valore NoneValue )
 Represents None.
StructuredValue.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
StructuredValue.Builder
setStringValue (valore stringa)
 Represents a string of Unicode characters stored in a Python `str`.
StructuredValue.Builder
setStringValueBytes (valore com.google.protobuf.ByteString)
 Represents a string of Unicode characters stored in a Python `str`.
StructuredValue.Builder
setTensorDtypeValue (valore del tipo di dati )
 Represents an enum value for dtype.
StructuredValue.Builder
setTensorDtypeValueValue (valore int)
 Represents an enum value for dtype.
StructuredValue.Builder
setTensorShapeValue ( TensorShapeProto.Builder builderForValue)
 Represents a TensorShape.
StructuredValue.Builder
setTensorShapeValue (valore TensorShapeProto )
 Represents a TensorShape.
StructuredValue.Builder
setTensorSpecValue ( TensorSpecProto.Builder builderForValue)
 Represents a value for tf.TensorSpec.
StructuredValue.Builder
setTensorSpecValue (valore TensorSpecProto )
 Represents a value for tf.TensorSpec.
StructuredValue.Builder
setTupleValue (valore TupleValue )
 Represents a tuple of `Value`.
StructuredValue.Builder
setTupleValue ( TupleValue.Builder builderForValue)
 Represents a tuple of `Value`.
StructuredValue.Builder
setTypeSpecValue ( TypeSpecProto.Builder builderForValue)
 Represents a value for tf.TypeSpec.
StructuredValue.Builder
setTypeSpecValue (valore TypeSpecProto )
 Represents a value for tf.TypeSpec.
finale StructuredValue.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public StructuredValue.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build pubblica di valore strutturato ()

public StructuredValue buildPartial ()

pubblico StructuredValue.Builder chiaro ()

public StructuredValue.Builder clearBoolValue ()

 Represents a boolean value.
 
bool bool_value = 14;

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 clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

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;

pubblico StructuredValue.Builder clearKind ()

public StructuredValue.Builder clearListValue ()

 Represents a list of `Value`.
 
.tensorflow.ListValue list_value = 51;

pubblico 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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

pubblico 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;

pubblico 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;

clone pubblico StructuredValue.Builder ()

booleano pubblico 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 StructuredValue getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

pubblico DictValue getDictValue ()

 Represents a dict `Value`.
 
.tensorflow.DictValue dict_value = 53;

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;

pubblico doppio getFloat64Value ()

 Represents a double-precision floating-point value (a Python `float`).
 
double float64_value = 11;

pubblico lungo 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 StructuredValue.KindCase getKindCase ()

public ListValue getListValue ()

 Represents a list of `Value`.
 
.tensorflow.ListValue list_value = 51;

pubblico 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;

pubblico NamedTupleValue getNamedTupleValue ()

 Represents Python's namedtuple.
 
.tensorflow.NamedTupleValue named_tuple_value = 54;

pubblico NamedTupleValue.Builder getNamedTupleValueBuilder ()

 Represents Python's namedtuple.
 
.tensorflow.NamedTupleValue named_tuple_value = 54;

pubblico NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()

 Represents Python's namedtuple.
 
.tensorflow.NamedTupleValue named_tuple_value = 54;

pubblico NoneValue getNoneValue ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

pubblico NoneValue.Builder getNoneValueBuilder ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

public NoneValueOrBuilder getNoneValueOrBuilder ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

stringa pubblica 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;

pubblico 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;

public DataType 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;

pubblico TypeSpecProto getTypeSpecValue ()

 Represents a value for tf.TypeSpec.
 
.tensorflow.TypeSpecProto type_spec_value = 34;

pubblico 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;

booleano pubblico hasBoundedTensorSpecValue ()

 Represents a value for tf.BoundedTensorSpec.
 
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;

pubblico booleano hasDictValue ()

 Represents a dict `Value`.
 
.tensorflow.DictValue dict_value = 53;

hasListValue booleano pubblico ()

 Represents a list of `Value`.
 
.tensorflow.ListValue list_value = 51;

booleano pubblico hasNamedTupleValue ()

 Represents Python's namedtuple.
 
.tensorflow.NamedTupleValue named_tuple_value = 54;

hasNoneValue pubblico booleano ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

pubblico booleano hasTensorShapeValue ()

 Represents a TensorShape.
 
.tensorflow.TensorShapeProto tensor_shape_value = 31;

pubblico booleano hasTensorSpecValue ()

 Represents a value for tf.TensorSpec.
 
.tensorflow.TensorSpecProto tensor_spec_value = 33;

pubblico booleano hasTupleValue ()

 Represents a tuple of `Value`.
 
.tensorflow.TupleValue tuple_value = 52;

pubblico booleano hasTypeSpecValue ()

 Represents a value for tf.TypeSpec.
 
.tensorflow.TypeSpecProto type_spec_value = 34;

public final booleano isInitialized ()

public StructuredValue.Builder mergeBoundedTensorSpecValue (valore BoundedTensorSpecProto )

 Represents a value for tf.BoundedTensorSpec.
 
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;

public StructuredValue.Builder mergeDictValue (valore DictValue )

 Represents a dict `Value`.
 
.tensorflow.DictValue dict_value = 53;

public StructuredValue.Builder mergeFrom (com.google.protobuf.Message altro)

public StructuredValue.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

public StructuredValue.Builder mergeListValue (valore ListValue )

 Represents a list of `Value`.
 
.tensorflow.ListValue list_value = 51;

public StructuredValue.Builder mergeNamedTupleValue (valore NamedTupleValue )

 Represents Python's namedtuple.
 
.tensorflow.NamedTupleValue named_tuple_value = 54;

public StructuredValue.Builder mergeNoneValue (valore NoneValue )

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

public StructuredValue.Builder mergeTensorShapeValue (valore TensorShapeProto )

 Represents a TensorShape.
 
.tensorflow.TensorShapeProto tensor_shape_value = 31;

public StructuredValue.Builder mergeTensorSpecValue (valore TensorSpecProto )

 Represents a value for tf.TensorSpec.
 
.tensorflow.TensorSpecProto tensor_spec_value = 33;

public StructuredValue.Builder mergeTupleValue (valore TupleValue )

 Represents a tuple of `Value`.
 
.tensorflow.TupleValue tuple_value = 52;

pubblico StructuredValue.Builder mergeTypeSpecValue (valore 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 (valore booleano)

 Represents a boolean value.
 
bool bool_value = 14;

public StructuredValue.Builder setBoundedTensorSpecValue (valore 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 (valore DictValue )

 Represents a dict `Value`.
 
.tensorflow.DictValue dict_value = 53;

public StructuredValue.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public StructuredValue.Builder setFloat64Value (doppio valore)

 Represents a double-precision floating-point value (a Python `float`).
 
double float64_value = 11;

public StructuredValue.Builder setInt64Value (valore lungo)

 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 (valore 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 (valore 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 (valore NoneValue )

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

public StructuredValue.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

public StructuredValue.Builder setStringValue (valore stringa)

 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;

pubblico StructuredValue.Builder setStringValueBytes (valore 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 (valore DataType )

 Represents an enum value for dtype.
 
.tensorflow.DataType tensor_dtype_value = 32;

public StructuredValue.Builder setTensorDtypeValueValue (valore 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 (valore 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 (valore TensorSpecProto )

 Represents a value for tf.TensorSpec.
 
.tensorflow.TensorSpecProto tensor_spec_value = 33;

public StructuredValue.Builder setTupleValue (valore 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;

pubblico StructuredValue.Builder setTypeSpecValue (valore TypeSpecProto )

 Represents a value for tf.TypeSpec.
 
.tensorflow.TypeSpecProto type_spec_value = 34;

public final StructuredValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)