StructuredValue

सार्वजनिक अंतिम वर्ग StructuredValue

 `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

नेस्टेड क्लासेस

कक्षा स्ट्रक्चर्डवैल्यू.बिल्डर
 `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. 
enum StructuredValue.KindCase

स्थिरांक

int यहाँ BOOL_VALUE_FIELD_NUMBER
int यहाँ BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER
int यहाँ DICT_VALUE_FIELD_NUMBER
int यहाँ FLOAT64_VALUE_FIELD_NUMBER
int यहाँ INT64_VALUE_FIELD_NUMBER
int यहाँ LIST_VALUE_FIELD_NUMBER
int यहाँ NAMED_TUPLE_VALUE_FIELD_NUMBER
int यहाँ NONE_VALUE_FIELD_NUMBER
int यहाँ STRING_VALUE_FIELD_NUMBER
int यहाँ TENSOR_DTYPE_VALUE_FIELD_NUMBER
int यहाँ TENSOR_SHAPE_VALUE_FIELD_NUMBER
int यहाँ TENSOR_SPEC_VALUE_FIELD_NUMBER
int यहाँ TUPLE_VALUE_FIELD_NUMBER
int यहाँ TYPE_SPEC_VALUE_FIELD_NUMBER

सार्वजनिक तरीके

बूलियन
बराबर (वस्तु obj)
बूलियन
getBoolValue ()
 Represents a boolean value.
बाउंडेडटेन्सरस्पेकप्रोटो
getBoundedTensorSpecValue ()
 Represents a value for tf.BoundedTensorSpec.
बाउंडेडटेन्सरस्पेकप्रोटोऑरबिल्डर
getBoundedTensorSpecValueOrBuilder ()
 Represents a value for tf.BoundedTensorSpec.
स्थैतिक संरचित मूल्य
संरचित मूल्य
अंतिम स्थिर com.google.protobuf.Descriptors.Descriptor
DictValue
getDictValue ()
 Represents a dict `Value`.
DictValueOrBuilder
getDictValueOrBuilder ()
 Represents a dict `Value`.
दोहरा
getFloat64Value ()
 Represents a double-precision floating-point value (a Python `float`).
लंबा
getInt64Value ()
 Represents a signed integer value, limited to 64 bits.
StructuredValue.KindCase
सूची मूल्य
getListValue ()
 Represents a list of `Value`.
ListValueOrBuilder
getListValueOrBuilder ()
 Represents a list of `Value`.
नामांकितटुपलवैल्यू
getNamedTupleValue ()
 Represents Python's namedtuple.
नामांकितTupleValueOrBuilder
getNamedTupleValueOrBuilder ()
 Represents Python's namedtuple.
कोई भी मूल्य नहीं
getNoneValue ()
 Represents None.
NoneValueOrBuilder
getNoneValueOrBuilder ()
 Represents None.
int यहाँ
डोरी
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`.
डेटा प्रकार
getTensorDtypeValue ()
 Represents an enum value for dtype.
int यहाँ
getTensorDtypeValueValue ()
 Represents an enum value for dtype.
टेंसरशेपप्रोटो
getTensorShapeValue ()
 Represents a TensorShape.
TensorShapeProtoOrBuilder
getTensorShapeValueOrBuilder ()
 Represents a TensorShape.
टेंसरस्पेकप्रोटो
getTensorSpecValue ()
 Represents a value for tf.TensorSpec.
TensorSpecProtoOrBuilder
getTensorSpecValueOrBuilder ()
 Represents a value for tf.TensorSpec.
टुपलवैल्यू
getTupleValue ()
 Represents a tuple of `Value`.
TupleValueOrBuilder
getTupleValueOrBuilder ()
 Represents a tuple of `Value`.
टाइपस्पेकप्रोटो
getTypeSpecValue ()
 Represents a value for tf.TypeSpec.
टाइपस्पेकप्रोटोऑरबिल्डर
getTypeSpecValueOrBuilder ()
 Represents a value for tf.TypeSpec.
अंतिम com.google.protobuf.UnknownFieldSet
बूलियन
hasBoundedTensorSpecValue ()
 Represents a value for tf.BoundedTensorSpec.
बूलियन
hasDictValue ()
 Represents a dict `Value`.
बूलियन
हैलिस्टवैल्यू ()
 Represents a list of `Value`.
बूलियन
hasNamedTupleValue ()
 Represents Python's namedtuple.
बूलियन
hasNoneValue ()
 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.
int यहाँ
अंतिम बूलियन
स्टेटिक स्ट्रक्चर्डवैल्यू.बिल्डर
स्टेटिक स्ट्रक्चर्डवैल्यू.बिल्डर
स्ट्रक्चर्डवैल्यू.बिल्डर
स्थैतिक संरचित मूल्य
parseDelimitedFrom (इनपुटस्ट्रीम इनपुट)
स्थैतिक संरचित मूल्य
parseDelimitedFrom (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थैतिक संरचित मूल्य
पार्सफ्रॉम (बाइटबफ़र डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थैतिक संरचित मूल्य
parseFrom (com.google.protobuf.CodedInputStream इनपुट)
स्थैतिक संरचित मूल्य
पार्सफ्रॉम (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थैतिक संरचित मूल्य
पार्सफ्रॉम (बाइटबफ़र डेटा)
स्थैतिक संरचित मूल्य
parseFrom (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थैतिक संरचित मूल्य
parseFrom (com.google.protobuf.ByteString डेटा)
स्थैतिक संरचित मूल्य
पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थैतिक संरचित मूल्य
parseFrom (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
स्थिर
स्ट्रक्चर्डवैल्यू.बिल्डर
खालीपन
राइटटू (com.google.protobuf.CodedOutputStream आउटपुट)

विरासत में मिली विधियाँ

स्थिरांक

सार्वजनिक स्थैतिक अंतिम int BOOL_VALUE_FIELD_NUMBER

स्थिर मान: 14

सार्वजनिक स्थैतिक अंतिम पूर्णांक BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER

स्थिर मान: 35

सार्वजनिक स्थैतिक अंतिम int DICT_VALUE_FIELD_NUMBER

स्थिर मान: 53

सार्वजनिक स्थैतिक अंतिम int FLOAT64_VALUE_FIELD_NUMBER

स्थिर मान: 11

सार्वजनिक स्थैतिक अंतिम int INT64_VALUE_FIELD_NUMBER

स्थिर मान: 12

सार्वजनिक स्थैतिक अंतिम पूर्णांक LIST_VALUE_FIELD_NUMBER

स्थिर मान: 51

सार्वजनिक स्थैतिक अंतिम पूर्णांक NAMED_TUPLE_VALUE_FIELD_NUMBER

स्थिर मान: 54

सार्वजनिक स्थैतिक अंतिम पूर्णांक NONE_VALUE_FIELD_NUMBER

स्थिर मान: 1

सार्वजनिक स्थैतिक अंतिम पूर्णांक STRING_VALUE_FIELD_NUMBER

स्थिर मान: 13

सार्वजनिक स्थैतिक अंतिम पूर्णांक TENSOR_DTYPE_VALUE_FIELD_NUMBER

स्थिर मान: 32

सार्वजनिक स्थैतिक अंतिम पूर्णांक TENSOR_SHAPE_VALUE_FIELD_NUMBER

स्थिर मान: 31

सार्वजनिक स्थैतिक अंतिम पूर्णांक TENSOR_SPEC_VALUE_FIELD_NUMBER

स्थिर मान: 33

सार्वजनिक स्थैतिक अंतिम पूर्णांक TUPLE_VALUE_FIELD_NUMBER

स्थिर मान: 52

सार्वजनिक स्थैतिक अंतिम पूर्णांक TYPE_SPEC_VALUE_FIELD_NUMBER

स्थिर मान: 34

सार्वजनिक तरीके

सार्वजनिक बूलियन बराबर (ऑब्जेक्ट obj)

सार्वजनिक बूलियन getBoolValue ()

 Represents a boolean value.
 
bool bool_value = 14;

सार्वजनिक BoundedTensorSpecProto getBoundedTensorSpecValue ()

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

सार्वजनिक BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()

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

सार्वजनिक स्थैतिक StructuredValue getDefaultInstance ()

सार्वजनिक संरचित वैल्यू getDefaultInstanceForType ()

सार्वजनिक स्थैतिक अंतिम com.google.protobuf.Descriptors.Descriptor getDescriptor ()

सार्वजनिक DictValue getDictValue ()

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

सार्वजनिक DictValueOrBuilder 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;

सार्वजनिक StructuredValue.KindCase getKindCase ()

सार्वजनिक ListValue getListValue ()

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

सार्वजनिक ListValueOrBuilder getListValueOrBuilder ()

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

सार्वजनिक NamedTupleValue getNamedTupleValue ()

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

सार्वजनिक NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()

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

सार्वजनिक NoneValue getNoneValue ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

सार्वजनिक NoneValueOrBuilder getNoneValueOrBuilder ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

जनता getParserForType ()

सार्वजनिक int getSerializedSize ()

सार्वजनिक स्ट्रिंग 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 getTensorDtypeValueValue ()

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

सार्वजनिक TensorShapeProto getTensorShapeValue ()

 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;

सार्वजनिक TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder ()

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

सार्वजनिक TupleValue getTupleValue ()

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

सार्वजनिक TupleValueOrBuilder getTupleValueOrBuilder ()

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

सार्वजनिक टाइपस्पेकप्रोटो गेटटाइपस्पेकवैल्यू ()

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

सार्वजनिक टाइपSpecProtoOrBuilder getTypeSpecValueOrBuilder ()

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

सार्वजनिक अंतिम com.google.protobuf.UnknownFieldSet getUnknownFields ()

सार्वजनिक बूलियन hasBoundedTensorSpecValue ()

 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;

सार्वजनिक बूलियन hasNamedTupleValue ()

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

सार्वजनिक बूलियन hasNoneValue ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

सार्वजनिक बूलियन hasTensorShapeValue ()

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

सार्वजनिक बूलियन hasTensorSpecValue ()

 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 newBuilder ( StructuredValue प्रोटोटाइप)

सार्वजनिक स्थैतिक StructuredValue.Builder newBuilder ()

सार्वजनिक StructuredValue.Builder newBuilderForType ()

सार्वजनिक स्थैतिक StructuredValue parseDelimitedFrom (इनपुटस्ट्रीम इनपुट)

फेंकता
आईओ अपवाद

सार्वजनिक स्थैतिक StructuredValue parseDelimitedFrom (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
आईओ अपवाद

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (बाइटबफ़र डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (com.google.protobuf.CodedInputStream इनपुट)

फेंकता
आईओ अपवाद

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन

सार्वजनिक स्थैतिक संरचित वैल्यू पार्सफ्रॉम (बाइटबफ़र डेटा)

फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
आईओ अपवाद

सार्वजनिक स्थैतिक StructuredValue parseFrom (com.google.protobuf.ByteString डेटा)

फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
आईओ अपवाद

सार्वजनिक स्थैतिक स्ट्रक्चर्डवैल्यू पार्सफ्रॉम (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)

फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन

सार्वजनिक स्थैतिक पार्सर ()

सार्वजनिक StructuredValue.Builder toBuilder ()

सार्वजनिक शून्य राइटटू (com.google.protobuf.CodedOutputStream आउटपुट)

फेंकता
आईओ अपवाद