الفئة النهائية العامة الثابتة 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.نوع Protobuf
tensorflow.StructuredValue
الأساليب العامة
StructuredValue.Builder | addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
القيمة المنظمة | يبني () |
القيمة المنظمة | بناء جزئي () |
StructuredValue.Builder | واضح () |
StructuredValue.Builder | قيمة واضحة () Represents a boolean value. |
StructuredValue.Builder | ClearBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | قيمة واضحة () Represents a dict `Value`. |
StructuredValue.Builder | ClearField (حقل com.google.protobuf.Descriptors.FieldDescriptor) |
StructuredValue.Builder | ClearFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | كليرInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | كلير كيند () |
StructuredValue.Builder | قيمة واضحة () 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 | قيمة واضحة () 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 | استنساخ () |
منطقية | الحصول على قيمة بول () 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. |
القيمة المنظمة | |
النهائي الثابت com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
DictValue | الحصول على قيمة ديكت () Represents a dict `Value`. |
DictValue.Builder | getDictValueBuilder () Represents a dict `Value`. |
DictValueOrBuilder | getDictValueOrBuilder () Represents a dict `Value`. |
مزدوج | getFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
طويل | الحصول علىInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.KindCase | جيتكيند كيس () |
قيمة القائمة | الحصول على قيمة القائمة () Represents a list of `Value`. |
ListValue.Builder | getListValueBuilder () Represents a list of `Value`. |
ListValueOrBuilder | getListValueOrBuilder () Represents a list of `Value`. |
NamedTupleValue | getNamedTupleValue () Represents Python's namedtuple. |
NamedTupleValue.Builder | getNamedTupleValueBuilder () Represents Python's namedtuple. |
NamedTupleValueOrBuilder | getNamedTupleValueOrBuilder () Represents Python's namedtuple. |
لا يوجد قيمة | الحصول على القيمة () Represents None. |
لا شيءValue.Builder | getNoneValueBuilder () Represents None. |
NoValueOrBuilder | getNoneValueOrBuilder () Represents None. |
خيط | الحصول على قيمة السلسلة () Represents a string of Unicode characters stored in a Python `str`. |
com.google.protobuf.ByteString | الحصول على StringValueBytes () Represents a string of Unicode characters stored in a Python `str`. |
نوع البيانات | الحصول على TensorDtypeValue () Represents an enum value for dtype. |
كثافة العمليات | الحصول على TensorDtypeValueValue () Represents an enum value for dtype. |
TensorShapeProto | الحصول على TensorShapeValue () Represents a TensorShape. |
TensorShapeProto.Builder | الحصول على TensorShapeValueBuilder () Represents a TensorShape. |
TensorShapeProtoOrBuilder | الحصول على TensorShapeValueOrBuilder () Represents a TensorShape. |
TensorSpecProto | الحصول على TensorSpecValue () Represents a value for tf.TensorSpec. |
TensorSpecProto.Builder | الحصول على TensorSpecValueBuilder () Represents a value for tf.TensorSpec. |
TensorSpecProtoOrBuilder | getTensorSpecValueOrBuilder () Represents a value for tf.TensorSpec. |
TupleValue | الحصول على TupleValue () Represents a tuple of `Value`. |
TupleValue.Builder | getTupleValueBuilder () Represents a tuple of `Value`. |
TupleValueOrBuilder | getTupleValueOrBuilder () Represents a tuple of `Value`. |
TypeSpecProto | الحصول علىTypeSpecValue () Represents a value for tf.TypeSpec. |
TypeSpecProto.Builder | getTypeSpecValueBuilder () Represents a value for tf.TypeSpec. |
TypeSpecProtoOrBuilder | getTypeSpecValueOrBuilder () Represents a value for tf.TypeSpec. |
منطقية | hasBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
منطقية | hasDictValue () Represents a dict `Value`. |
منطقية | قيمة القائمة () Represents a list of `Value`. |
منطقية | hasNamedTupleValue () Represents Python's namedtuple. |
منطقية | لا يوجد قيمة () Represents None. |
منطقية | hasTensorShapeValue () Represents a TensorShape. |
منطقية | hasTensorSpecValue () Represents a value for tf.TensorSpec. |
منطقية | hasTupleValue () Represents a tuple of `Value`. |
منطقية | hasTypeSpecValue () Represents a value for tf.TypeSpec. |
منطقية نهائية | تمت التهيئة () |
StructuredValue.Builder | mergeBoundedTensorSpecValue (قيمة BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | |
StructuredValue.Builder | دمج من (com.google.protobuf.Message أخرى) |
StructuredValue.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
القيمة الهيكلية النهائية.Builder | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
StructuredValue.Builder | setBoolValue (قيمة منطقية) Represents a boolean value. |
StructuredValue.Builder | setBoundedTensorSpecValue (قيمة 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 (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
StructuredValue.Builder | setFloat64Value (قيمة مزدوجة) Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | setInt64Value (قيمة طويلة) Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | setRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، فهرس int، قيمة الكائن) |
StructuredValue.Builder | setStringValue (قيمة السلسلة) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | setStringValueBytes (قيمة com.google.protobuf.ByteString) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | |
StructuredValue.Builder | setTensorDtypeValueValue (قيمة int) Represents an enum value for dtype. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
القيمة الهيكلية النهائية.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
الطرق الموروثة
الأساليب العامة
public StructuredValue.Builder addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
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;
getBoolValue () المنطقية العامة
Represents a boolean value.
bool bool_value = 14;
BoundedTensorSpecProto العامة getBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
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;
النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام
getDictValue العامة getDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
DictValue.Builder العامة getDictValueBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
getDictValueOrBuilder العامة getDictValueOrBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
getFloat64Value () مزدوج عام
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
getInt64Value العامة الطويلة ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
getListValue العامة getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
ListValue.Builder العامة getListValueBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
getListValueOrBuilder العامة getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
NamedTupleValue العامة getNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
NamedTupleValue.Builder العامة getNamedTupleValueBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
العامة NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public NonValue.Builder getNoneValueBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
GetNoneValueOrBuilder العامة getNoneValueOrBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
سلسلة عامة 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 العامة 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;
نوع البيانات العام getTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
int public getTensorDtypeValueValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
TensorShapeProto العام getTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorShapeProto.Builder العام getTensorShapeValueBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorShapeProtoOrBuilder العام getTensorShapeValueOrBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
TensorSpecProto getTensorSpecValue () العامة
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TensorSpecProto.Builder العامة getTensorSpecValueBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
الحصول على TensorSpecProtoOrBuilder العام TensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TupleValue العامة getTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
TupleValue.Builder العامة getTupleValueBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
getTupleValueOrBuilder العامة getTupleValueOrBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
العامة TypeSpecProto getTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
العامة 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;
المنطق المنطقي العام يحتوي على BoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
القيمة المنطقية العامة hasDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
hasListValue () المنطقية العامة
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
القيمة المنطقية العامة NamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
القيمة المنطقية العامة hasNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
القيمة المنطقية العامة TensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
القيمة المنطقية العامة TensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
القيمة المنطقية العامة hasTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
hasTypeSpecValue () المنطقية العامة
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
تمت تهيئة القيمة المنطقية النهائية العامة ()
عام StructuredValue.Builder mergeBoundedTensorSpecValue (قيمة BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
عام StructuredValue.Builder mergeDictValue (قيمة DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
عام StructuredValue.Builder mergeListValue (قيمة ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
عام StructuredValue.Builder mergeNamedTupleValue (قيمة NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
عام StructuredValue.Builder mergeNoneValue (قيمة NonValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
عام StructuredValue.Builder mergeTensorShapeValue (قيمة TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
العامة StructuredValue.Builder mergeTensorSpecValue (قيمة TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
عام StructuredValue.Builder mergeTupleValue (قيمة TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
عام StructuredValue.Builder mergeTypeSpecValue (قيمة TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
النهائي العام StructuredValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)
public StructuredValue.Builder setBoolValue (قيمة منطقية)
Represents a boolean value.
bool bool_value = 14;
مجموعة StructuredValue.Builder العامة BoundedTensorSpecValue (قيمة BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
مجموعة StructuredValue.Builder العامة BoundedTensorSpecValue ( BoundedTensorSpecProto.Builder builderForValue)
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
مجموعة StructuredValue.Builder العامة DictValue ( DictValue.Builder builderForValue)
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setDictValue (قيمة DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
public StructuredValue.Builder setFloat64Value (قيمة مزدوجة)
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public StructuredValue.Builder setInt64Value (قيمة طويلة)
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 (قيمة ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
مجموعة StructuredValue.Builder العامة NamedTupleValue ( NamedTupleValue.Builder builderForValue)
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
مجموعة StructuredValue.Builder العامة NamedTupleValue (قيمة NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
مجموعة StructuredValue.Builder العامة NoneValue ( NoneValue.Builder builderForValue)
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setNoneValue (قيمة NonValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، مؤشر int، قيمة الكائن)
public StructuredValue.Builder setStringValue (قيمة السلسلة)
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 العامة StringValueBytes (قيمة 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 (قيمة DataType )
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
مجموعة StructuredValue.Builder العامة TensorDtypeValueValue (قيمة int)
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
مجموعة StructuredValue.Builder العامة TensorShapeValue ( TensorShapeProto.Builder builderForValue)
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
مجموعة StructuredValue.Builder العامة TensorShapeValue (قيمة TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
مجموعة StructuredValue.Builder العامة TensorSpecValue ( TensorSpecProto.Builder builderForValue)
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
مجموعة StructuredValue.Builder العامة TensorSpecValue (قيمة TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTupleValue (قيمة 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;
مجموعة StructuredValue.Builder العامة TypeSpecValue ( TypeSpecProto.Builder builderForValue)
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
مجموعة StructuredValue.Builder العامة TypeSpecValue (قيمة TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;