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.
 
نوع Protobuf tensorflow.StructuredValue

فئات متداخلة

فصل 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. 
التعداد StructuredValue.KindCase

الثوابت

كثافة العمليات BOOL_VALUE_FIELD_NUMBER
كثافة العمليات BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER
كثافة العمليات DICT_VALUE_FIELD_NUMBER
كثافة العمليات FLOAT64_VALUE_FIELD_NUMBER
كثافة العمليات INT64_VALUE_FIELD_NUMBER
كثافة العمليات LIST_VALUE_FIELD_NUMBER
كثافة العمليات NAMED_TUPLE_VALUE_FIELD_NUMBER
كثافة العمليات NONE_VALUE_FIELD_NUMBER
كثافة العمليات STRING_VALUE_FIELD_NUMBER
كثافة العمليات TENSOR_DTYPE_VALUE_FIELD_NUMBER
كثافة العمليات TENSOR_SHAPE_VALUE_FIELD_NUMBER
كثافة العمليات TENSOR_SPEC_VALUE_FIELD_NUMBER
كثافة العمليات TUPLE_VALUE_FIELD_NUMBER
كثافة العمليات TYPE_SPEC_VALUE_FIELD_NUMBER

الأساليب العامة

منطقية
يساوي (كائن كائن)
منطقية
الحصول على قيمة بول ()
 Represents a boolean value.
BoundedTensorSpecProto
getBoundedTensorSpecValue ()
 Represents a value for tf.BoundedTensorSpec.
BoundedTensorSpecProtoOrBuilder
getBoundedTensorSpecValueOrBuilder ()
 Represents a value for tf.BoundedTensorSpec.
القيمة الهيكلية الثابتة
القيمة المنظمة
النهائي الثابت com.google.protobuf.Descriptors.Descriptor
DictValue
الحصول على قيمة ديكت ()
 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`.
ListValueOrBuilder
getListValueOrBuilder ()
 Represents a list of `Value`.
NamedTupleValue
getNamedTupleValue ()
 Represents Python's namedtuple.
NamedTupleValueOrBuilder
getNamedTupleValueOrBuilder ()
 Represents Python's namedtuple.
لا يوجد قيمة
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.
TensorShapeProtoOrBuilder
الحصول على TensorShapeValueOrBuilder ()
 Represents a TensorShape.
TensorSpecProto
الحصول على TensorSpecValue ()
 Represents a value for tf.TensorSpec.
TensorSpecProtoOrBuilder
getTensorSpecValueOrBuilder ()
 Represents a value for tf.TensorSpec.
TupleValue
الحصول على TupleValue ()
 Represents a tuple of `Value`.
TupleValueOrBuilder
getTupleValueOrBuilder ()
 Represents a tuple of `Value`.
TypeSpecProto
الحصول علىTypeSpecValue ()
 Represents a value for tf.TypeSpec.
TypeSpecProtoOrBuilder
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.
منطقية
لا يوجد قيمة ()
 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.
كثافة العمليات
منطقية نهائية
static StructuredValue.Builder
newBuilder (النموذج الأولي للقيمة الهيكلية )
static StructuredValue.Builder
StructuredValue.Builder
القيمة الهيكلية الثابتة
parseDelimitedFrom (إدخال InputStream)
القيمة الهيكلية الثابتة
parseDelimitedFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
القيمة الهيكلية الثابتة
parseFrom (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
القيمة الهيكلية الثابتة
parseFrom (com.google.protobuf.CodedInputStream الإدخال)
القيمة الهيكلية الثابتة
parseFrom (بيانات البايت[]، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
القيمة الهيكلية الثابتة
parseFrom (بيانات ByteBuffer)
القيمة الهيكلية الثابتة
parseFrom (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
القيمة الهيكلية الثابتة
parseFrom (بيانات com.google.protobuf.ByteString)
القيمة الهيكلية الثابتة
parseFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
القيمة الهيكلية الثابتة
parseFrom (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ثابتة
StructuredValue.Builder
فارغ
writeTo (com.google.protobuf.CodedOutputStream الإخراج)

الطرق الموروثة

الثوابت

العدد النهائي الثابت العام BOOL_VALUE_FIELD_NUMBER

القيمة الثابتة: 14

العدد النهائي الثابت العام BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER

القيمة الثابتة: 35

العدد النهائي الثابت العام DICT_VALUE_FIELD_NUMBER

القيمة الثابتة: 53

العدد النهائي الثابت العام FLOAT64_VALUE_FIELD_NUMBER

القيمة الثابتة: 11

العدد النهائي الثابت العام 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

الأساليب العامة

القيمة المنطقية العامة تساوي (Object 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;

public BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()

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

القيمة الهيكلية العامة الثابتة getDefaultInstance ()

public StructuredValue getDefaultInstanceForType ()

النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()

getDictValue العامة getDictValue ()

 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;

public StructuredValue.KindCase getKindCase ()

getListValue العامة getListValue ()

 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;

العامة NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()

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

NonValue العامة getNoneValue ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

GetNoneValueOrBuilder العامة getNoneValueOrBuilder ()

 Represents None.
 
.tensorflow.NoneValue none_value = 1;

عام الحصول على بارسيرفورتايب ()

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

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 العام 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;

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;

public TypeSpecProtoOrBuilder getTypeSpecValueOrBuilder ()

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

النهائي العام com.google.protobuf.UnknownFieldSet getUnknownFields ()

المنطق المنطقي العام يحتوي على 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 newBuilder (النموذج الأولي للقيمة الهيكلية )

public StructuredValue.Builder newBuilderForType ()

تحليل القيمة الهيكلية الثابتة العامة DelimitedFrom (إدخال InputStream)

رميات
IOEException

parseDelimitedFrom الثابت العام الهيكلي (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

parseFrom الثابت العام StructuredValue (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

تحليل القيمة الهيكلية الثابتة العامة (com.google.protobuf.CodedInputStream input)

رميات
IOEException

تحليل القيمة الهيكلية الثابتة العامة (بيانات البايت []، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

تحليل القيمة الهيكلية الثابتة العامة (بيانات ByteBuffer)

رميات
InvalidProtocolBufferException

تحليل القيمة الهيكلية الثابتة العامة (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

تحليل القيمة الهيكلية الثابتة العامة (com.google.protobuf.ByteString data)

رميات
InvalidProtocolBufferException

تحليل القيمة الهيكلية العامة الثابتة (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

تحليل القيمة الهيكلية الثابتة العامة (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

ساكنة عامة محلل ()

القيمة الهيكلية العامة.Builder toBuilder ()

الكتابة إلى الفراغ العام (إخراج com.google.protobuf.CodedOutputStream)

رميات
IOEException