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` 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 স্ট্রাকচার্ড ভ্যালু।কাইন্ডকেস

ধ্রুবক

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

পাবলিক পদ্ধতি

বুলিয়ান
সমান (অবজেক্ট অবজেক্ট)
বুলিয়ান
getBoolValue ()
 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
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.
স্ট্রাকচার্ড ভ্যালু।কাইন্ডকেস
তালিকা মান
getListValue ()
 Represents a list of `Value`.
ListValueOrBuilder
getListValueOrBuilder ()
 Represents a list of `Value`.
নাম দেওয়া হয়েছে TupleValue
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.
TensorShapeProto
getTensorShapeValue ()
 Represents a TensorShape.
TensorShapeProtoOrBuilder
getTensorShapeValueOrBuilder ()
 Represents a TensorShape.
TensorSpecProto
getTensorSpecValue ()
 Represents a value for tf.TensorSpec.
TensorSpecProtoOrBuilder
getTensorSpecValueOrBuilder ()
 Represents a value for tf.TensorSpec.
TupleValue
getTupleValue ()
 Represents a tuple of `Value`.
TupleValueOrBuilder
getTupleValueOrBuilder ()
 Represents a tuple of `Value`.
TypeSpecProto
getTypeSpecValue ()
 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`.
বুলিয়ান
hasListValue ()
 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 (ইনপুটস্ট্রীম ইনপুট, com.google.protobuf.ExtensionRegistryLite এক্সটেনশনরেজিস্ট্রি)
স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু
parseFrom (ByteBuffer ডেটা, 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 এক্সটেনশন রেজিস্ট্রি)
স্থির
স্ট্রাকচার্ড ভ্যালু।বিল্ডার
অকার্যকর
writeTo (com.google.protobuf.CodedOutputStream আউটপুট)

উত্তরাধিকারসূত্রে প্রাপ্ত পদ্ধতি

ধ্রুবক

পাবলিক স্ট্যাটিক ফাইনাল int BOOL_VALUE_FIELD_NUMBER

ধ্রুবক মান: 14

পাবলিক স্ট্যাটিক ফাইনাল int BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER

ধ্রুবক মান: 35

DICT_VALUE_FIELD_NUMBER int পাবলিক স্ট্যাটিক ফাইনাল

ধ্রুবক মান: 53

পাবলিক স্ট্যাটিক ফাইনাল int FLOAT64_VALUE_FIELD_NUMBER

ধ্রুবক মান: 11

পাবলিক স্ট্যাটিক ফাইনাল int INT64_VALUE_FIELD_NUMBER

ধ্রুবক মান: 12

সর্বজনীন স্ট্যাটিক চূড়ান্ত int LIST_VALUE_FIELD_NUMBER

ধ্রুবক মান: 51

পাবলিক স্ট্যাটিক ফাইনাল int NAMED_TUPLE_VALUE_FIELD_NUMBER

ধ্রুবক মান: 54

সর্বজনীন স্ট্যাটিক ফাইনাল int NONE_VALUE_FIELD_NUMBER

ধ্রুবক মান: 1

পাবলিক স্ট্যাটিক ফাইনাল int STRING_VALUE_FIELD_NUMBER

ধ্রুবক মান: 13

পাবলিক স্ট্যাটিক ফাইনাল int TENSOR_DTYPE_VALUE_FIELD_NUMBER

ধ্রুবক মান: 32

পাবলিক স্ট্যাটিক ফাইনাল int TENSOR_SHAPE_VALUE_FIELD_NUMBER

ধ্রুবক মান: 31

পাবলিক স্ট্যাটিক ফাইনাল int TENSOR_SPEC_VALUE_FIELD_NUMBER

ধ্রুবক মান: 33

পাবলিক স্ট্যাটিক ফাইনাল int TUPLE_VALUE_FIELD_NUMBER

ধ্রুবক মান: 52

পাবলিক স্ট্যাটিক ফাইনাল int TYPE_SPEC_VALUE_FIELD_NUMBER

ধ্রুবক মান: 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;

পাবলিক BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()

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

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু 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;

পাবলিক স্ট্রাকচার্ড ভ্যালু। কাইন্ডকেস getKindCase ()

সর্বজনীন তালিকা মান 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;

সর্বজনীন TypeSpecProto getTypeSpecValue ()

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

সর্বজনীন 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;

পাবলিক বুলিয়ানের নামযুক্তটুপলভ্যালু ()

 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;

পাবলিক int হ্যাশকোড ()

সর্বজনীন চূড়ান্ত বুলিয়ান শুরু হয়েছে ()

পাবলিক স্ট্যাটিক StructuredValue.Builder newBuilder ( StructuredValue প্রোটোটাইপ)

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু। বিল্ডার newBuilder ()

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্স ডিলিমিটেডফ্রম (ইনপুটস্ট্রিম ইনপুট)

নিক্ষেপ করে
IOException

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সডিলিমিটেডফ্রম (ইনপুটস্ট্রিম ইনপুট, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
IOException

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সফ্রম (ByteBuffer ডেটা, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
অবৈধ প্রোটোকলবাফার ব্যতিক্রম

পাবলিক স্ট্যাটিক StructuredValue parseFrom (com.google.protobuf.CodedInputStream ইনপুট)

নিক্ষেপ করে
IOException

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সফ্রম (বাইট[] ডেটা, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
অবৈধ প্রোটোকলবাফার ব্যতিক্রম

পাবলিক স্ট্যাটিক StructuredValue parseFrom (ByteBuffer ডেটা)

নিক্ষেপ করে
অবৈধ প্রোটোকলবাফার ব্যতিক্রম

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সফ্রম (com.google.protobuf.CodedInputStream ইনপুট, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
IOException

পাবলিক স্ট্যাটিক StructuredValue parseFrom (com.google.protobuf.ByteString ডেটা)

নিক্ষেপ করে
অবৈধ প্রোটোকলবাফার ব্যতিক্রম

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সফ্রম (ইনপুটস্ট্রিম ইনপুট, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
IOException

পাবলিক স্ট্যাটিক স্ট্রাকচার্ড ভ্যালু পার্সফ্রম (com.google.protobuf.ByteString ডেটা, com.google.protobuf.ExtensionRegistryLite এক্সটেনশন রেজিস্ট্রি)

নিক্ষেপ করে
অবৈধ প্রোটোকলবাফার ব্যতিক্রম

পাবলিক স্ট্যাটিক পার্সার ()

পাবলিক স্ট্রাকচার্ড ভ্যালু। বিল্ডার থেকে বিল্ডার ()

public void writeTo (com.google.protobuf.CodedOutputStream আউটপুট)

নিক্ষেপ করে
IOException