kelas akhir statis publik 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.Tipe protobuf
tensorflow.StructuredValue
Metode Publik
Nilai Terstruktur.Pembangun | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Nilai Terstruktur | membangun () |
Nilai Terstruktur | |
Nilai Terstruktur.Pembangun | jernih () |
Nilai Terstruktur.Pembangun | jelasBoolValue () Represents a boolean value. |
Nilai Terstruktur.Pembangun | clearBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
Nilai Terstruktur.Pembangun | hapusDictValue () Represents a dict `Value`. |
Nilai Terstruktur.Pembangun | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
Nilai Terstruktur.Pembangun | hapusFloat64Nilai () Represents a double-precision floating-point value (a Python `float`). |
Nilai Terstruktur.Pembangun | clearInt64Value () Represents a signed integer value, limited to 64 bits. |
Nilai Terstruktur.Pembangun | jelasJenis () |
Nilai Terstruktur.Pembangun | jelasListValue () Represents a list of `Value`. |
Nilai Terstruktur.Pembangun | clearNamedTupleValue () Represents Python's namedtuple. |
Nilai Terstruktur.Pembangun | hapusTidak AdaNilai () Represents None. |
Nilai Terstruktur.Pembangun | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Nilai Terstruktur.Pembangun | hapusStringValue () Represents a string of Unicode characters stored in a Python `str`. |
Nilai Terstruktur.Pembangun | hapusTensorDtypeValue () Represents an enum value for dtype. |
Nilai Terstruktur.Pembangun | jelasTensorShapeValue () Represents a TensorShape. |
Nilai Terstruktur.Pembangun | jelasTensorSpecValue () Represents a value for tf.TensorSpec. |
Nilai Terstruktur.Pembangun | hapusTupleValue () Represents a tuple of `Value`. |
Nilai Terstruktur.Pembangun | clearTypeSpecValue () Represents a value for tf.TypeSpec. |
Nilai Terstruktur.Pembangun | klon () |
boolean | dapatkanBoolValue () 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. |
Nilai Terstruktur | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Nilai Dict | dapatkanDictValue () Represents a dict `Value`. |
DictValue.Builder | dapatkanDictValueBuilder () Represents a dict `Value`. |
DictValueOrBuilder | dapatkanDictValueOrBuilder () Represents a dict `Value`. |
dobel | dapatkanFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
panjang | dapatkanInt64Nilai () Represents a signed integer value, limited to 64 bits. |
Nilai Terstruktur.KindCase | |
DaftarNilai | dapatkanNilaiDaftar () Represents a list of `Value`. |
ListValue.Builder | dapatkanListValueBuilder () Represents a list of `Value`. |
ListValueOrBuilder | dapatkanListValueOrBuilder () Represents a list of `Value`. |
BernamaTupleValue | getNamedTupleValue () Represents Python's namedtuple. |
BernamaTupleValue.Builder | getNamedTupleValueBuilder () Represents Python's namedtuple. |
BernamaTupleValueOrBuilder | getNamedTupleValueOrBuilder () Represents Python's namedtuple. |
Tidak Ada Nilai | dapatkanNoneValue () Represents None. |
NoneValue.Builder | dapatkanNoneValueBuilder () Represents None. |
NoneValueOrBuilder | dapatkanNoneValueOrBuilder () Represents None. |
Rangkaian | dapatkanStringValue () Represents a string of Unicode characters stored in a Python `str`. |
com.google.protobuf.ByteString | dapatkanStringValueBytes () Represents a string of Unicode characters stored in a Python `str`. |
Tipe Data | dapatkanTensorDtypeValue () Represents an enum value for dtype. |
ke dalam | dapatkanTensorDtypeValueValue () Represents an enum value for dtype. |
TensorBentukProto | dapatkanTensorShapeValue () Represents a TensorShape. |
TensorShapeProto.Builder | dapatkanTensorShapeValueBuilder () Represents a TensorShape. |
TensorShapeProtoOrBuilder | dapatkanTensorShapeValueOrBuilder () Represents a TensorShape. |
TensorSpecProto | dapatkanTensorSpecValue () Represents a value for tf.TensorSpec. |
TensorSpecProto.Builder | dapatkanTensorSpecValueBuilder () Represents a value for tf.TensorSpec. |
TensorSpecProtoOrBuilder | dapatkanTensorSpecValueOrBuilder () Represents a value for tf.TensorSpec. |
Nilai Tuple | dapatkanTupleValue () Represents a tuple of `Value`. |
TupleValue.Builder | dapatkanTupleValueBuilder () Represents a tuple of `Value`. |
TupleValueOrBuilder | dapatkanTupleValueOrBuilder () 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. |
boolean | hasBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
boolean | hasDictValue () Represents a dict `Value`. |
boolean | hasListValue () Represents a list of `Value`. |
boolean | hasNamedTupleValue () Represents Python's namedtuple. |
boolean | memilikiNoneValue () Represents None. |
boolean | hasTensorShapeValue () Represents a TensorShape. |
boolean | hasTensorSpecValue () Represents a value for tf.TensorSpec. |
boolean | hasTupleValue () Represents a tuple of `Value`. |
boolean | hasTypeSpecValue () Represents a value for tf.TypeSpec. |
boolean terakhir | |
Nilai Terstruktur.Pembangun | mergeBoundedTensorSpecValue (nilai BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | mergeFrom (com.google.protobuf.Pesan lainnya) |
Nilai Terstruktur.Pembangun | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
StructuredValue.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Nilai Terstruktur.Pembangun | setBoolValue (nilai boolean) Represents a boolean value. |
Nilai Terstruktur.Pembangun | setBoundedTensorSpecValue (nilai BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
Nilai Terstruktur.Pembangun | setBoundedTensorSpecValue ( BoundedTensorSpecProto.Pembuat pembangunForValue) Represents a value for tf.BoundedTensorSpec. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Nilai Terstruktur.Pembangun | setFloat64Value (nilai ganda) Represents a double-precision floating-point value (a Python `float`). |
Nilai Terstruktur.Pembangun | setInt64Value (nilai panjang) Represents a signed integer value, limited to 64 bits. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
Nilai Terstruktur.Pembangun | setStringValue (Nilai string) Represents a string of Unicode characters stored in a Python `str`. |
Nilai Terstruktur.Pembangun | setStringValueBytes (nilai com.google.protobuf.ByteString) Represents a string of Unicode characters stored in a Python `str`. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | setTensorDtypeValueValue (nilai int) Represents an enum value for dtype. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | setTensorSpecValue ( TensorSpecProto.Pembuat pembangunForValue) Represents a value for tf.TensorSpec. |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
Nilai Terstruktur.Pembangun | |
StructuredValue.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public StructuredValue.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
Public StructuredValue.Builder clearBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
StructuredValue publik.Builder clearDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
StructuredValue publik.Builder clearFloat64Value ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
StructuredValue publik.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;
StructuredValue publik.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;
StructuredValue publik.Builder clearNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
StructuredValue publik.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;
StructuredValue publik.Builder clearTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
StructuredValue publik.Builder clearTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
StructuredValue publik.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;
getBoolValue boolean publik ()
Represents a boolean value.
bool bool_value = 14;
publik BoundedTensorSpecProto getBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
publik BoundedTensorSpecProto.Builder getBoundedTensorSpecValueBuilder ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
publik BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
DictValue.Builder publik getDictValueBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
DictValueOrBuilder publik getDictValueOrBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
getFloat64Value ganda publik ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
getInt64Value panjang publik ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
ListValue publik getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
ListValue.Builder publik getListValueBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
ListValueOrBuilder publik getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
NamedTupleValue publik getNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
publik NamedTupleValue.Builder getNamedTupleValueBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
publik NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
publik NoneValue.Builder getNoneValueBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
publik NoneValueOrBuilder getNoneValueOrBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
String publik 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;
com.google.protobuf.ByteString publik 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;
Tipe Data publik getTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
int publik getTensorDtypeValueValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
TensorShapeProto publik untuk mendapatkanTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorShapeProto.Builder publik getTensorShapeValueBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorShapeProtoOrBuilder publik getTensorShapeValueOrBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorSpecProto publik dapatkanTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TensorSpecProto.Builder publik getTensorSpecValueBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TensorSpecProtoOrBuilder publik getTensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TupleValue publik getTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
publik TupleValue.Builder getTupleValueBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
publik TupleValueOrBuilder getTupleValueOrBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
TypeSpecProto publik getTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
publik TypeSpecProto.Builder getTypeSpecValueBuilder ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
TypeSpecProtoOrBuilder publik getTypeSpecValueOrBuilder ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
boolean publik hasBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
boolean publik hasDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
boolean publik hasListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
boolean publik hasNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
boolean publik hasNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
boolean publik hasTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
boolean publik hasTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
boolean publik hasTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
boolean publik hasTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
boolean akhir publik diinisialisasi ()
Public StructuredValue.Builder mergeBoundedTensorSpecValue (nilai BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
StructuredValue publik.Builder mergeDictValue (nilai DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
Public StructuredValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
Public StructuredValue.Builder mergeListValue (nilai ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
Public StructuredValue.Builder mergeNamedTupleValue (nilai NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
Public StructuredValue.Builder mergeNoneValue (nilai NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
Public StructuredValue.Builder mergeTensorShapeValue (nilai TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
Public StructuredValue.Builder mergeTensorSpecValue (nilai TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
Public StructuredValue.Builder mergeTupleValue (nilai TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
Public StructuredValue.Builder mergeTypeSpecValue (nilai TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
StructuredValue.Builder mergeUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)
Public StructuredValue.Builder setBoolValue (nilai boolean)
Represents a boolean value.
bool bool_value = 14;
public StructuredValue.Builder setBoundedTensorSpecValue (nilai 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;
StructuredValue.Builder setDictValue publik ( DictValue.Builder builderForValue)
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
StructuredValue.Builder publik setDictValue (nilai DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public StructuredValue.Builder setFloat64Value (nilai ganda)
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public StructuredValue.Builder setInt64Value (nilai panjang)
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
StructuredValue.Builder setListValue publik ( ListValue.Builder builderForValue)
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
Public StructuredValue.Builder setListValue (nilai 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 (nilai NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
StructuredValue.Builder setNoneValue publik ( NoneValue.Builder builderForValue)
Represents None.
.tensorflow.NoneValue none_value = 1;
Public StructuredValue.Builder setNoneValue (nilai NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
public StructuredValue.Builder setStringValue (Nilai string)
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;
StructuredValue.Builder publik setStringValueBytes (nilai 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 (nilai Tipe Data )
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
Public StructuredValue.Builder setTensorDtypeValueValue (nilai int)
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
StructuredValue.Builder setTensorShapeValue publik ( TensorShapeProto.Builder builderForValue)
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
Public StructuredValue.Builder setTensorShapeValue (nilai TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
StructuredValue.Builder setTensorSpecValue publik ( TensorSpecProto.Builder builderForValue)
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
Public StructuredValue.Builder setTensorSpecValue (nilai TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
Public StructuredValue.Builder setTupleValue (nilai TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
StructuredValue.Builder setTupleValue publik ( TupleValue.Builder builderForValue)
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
StructuredValue.Builder setTypeSpecValue publik ( TypeSpecProto.Builder builderForValue)
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
StructuredValue.Builder publik setTypeSpecValue (nilai TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;