lớp cuối cùng tĩnh công khai 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 loại
tensorflow.StructuredValue
Phương pháp công khai
StructuredValue.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Giá trị có cấu trúc | xây dựng () |
Giá trị có cấu trúc | |
StructuredValue.Builder | thông thoáng () |
StructuredValue.Builder | ClearBoolValue () Represents a boolean value. |
StructuredValue.Builder | clearBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | ClearDictValue () Represents a dict `Value`. |
StructuredValue.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
StructuredValue.Builder | ClearFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | ClearInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | ClearKind () |
StructuredValue.Builder | ClearListValue () 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 | ClearStringValue () 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 | dòng vô tính () |
boolean | getBoolValue () Represents a boolean value. |
Giới hạn TensorSpecProto | getBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
BoundedTensorSpecProto.Builder | getBoundedTensorSpecValueBuilder () Represents a value for tf.BoundedTensorSpec. |
BoundedTensorSpecProtoOrBuilder | getBoundedTensorSpecValueOrBuilder () Represents a value for tf.BoundedTensorSpec. |
Giá trị có cấu trúc | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Giá trị Dict | getDictValue () Represents a dict `Value`. |
DictValue.Builder | getDictValueBuilder () Represents a dict `Value`. |
DictValueOrBuilder | getDictValueOrBuilder () Represents a dict `Value`. |
gấp đôi | getFloat64Value () Represents a double-precision floating-point value (a Python `float`). |
dài | getInt64Value () Represents a signed integer value, limited to 64 bits. |
StructuredValue.KindCase | getKindCase () |
Danh sách Giá trị | getListValue () Represents a list of `Value`. |
ListValue.Builder | getListValueBuilder () Represents a list of `Value`. |
ListValueOrBuilder | getListValueOrBuilder () Represents a list of `Value`. |
Được đặt tênTupleValue | getNamedTupleValue () Represents Python's namedtuple. |
Được đặt tênTupleValue.Builder | getNamedTupleValueBuilder () Represents Python's namedtuple. |
Được đặt tênTupleValueOrBuilder | getNamedTupleValueOrBuilder () Represents Python's namedtuple. |
Không có giá trị | getNoneValue () Represents None. |
NoneValue.Builder | getNoneValueBuilder () Represents None. |
NoneValueOrBuilder | getNoneValueOrBuilder () Represents None. |
Sợi dây | 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`. |
Kiểu dữ liệu | getTensorDtypeValue () Represents an enum value for dtype. |
int | getTensorDtypeValueValue () Represents an enum value for dtype. |
TensorShapeProto | getTensorShapeValue () Represents a TensorShape. |
TensorShapeProto.Builder | getTensorShapeValueBuilder () Represents a TensorShape. |
TensorShapeProtoOrBuilder | getTensorShapeValueOrBuilder () Represents a TensorShape. |
TensorSpecProto | getTensorSpecValue () Represents a value for tf.TensorSpec. |
TensorSpecProto.Builder | getTensorSpecValueBuilder () Represents a value for tf.TensorSpec. |
TensorSpecProtoOrBuilder | getTensorSpecValueOrBuilder () Represents a value for tf.TensorSpec. |
TupleValue | getTupleValue () Represents a tuple of `Value`. |
TupleValue.Builder | getTupleValueBuilder () Represents a tuple of `Value`. |
TupleValueOrBuilder | getTupleValueOrBuilder () Represents a tuple of `Value`. |
LoạiSpecProto | getTypeSpecValue () Represents a value for tf.TypeSpec. |
TypeSpecProto.Builder | getTypeSpecValueBuilder () Represents a value for tf.TypeSpec. |
LoạiSpecProtoOrBuilder | 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 | hasNoneValue () 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 cuối cùng | |
StructuredValue.Builder | mergeBoundedTensorSpecValue (giá trị BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | |
StructuredValue.Builder | mergeFrom (com.google.protobuf.Message other) |
StructuredValue.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
StructuredValue.Builder | setBoolValue (giá trị boolean) Represents a boolean value. |
StructuredValue.Builder | setBoundedTensorSpecValue (giá trị 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 (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
StructuredValue.Builder | setFloat64Value (giá trị kép) Represents a double-precision floating-point value (a Python `float`). |
StructuredValue.Builder | setInt64Value (giá trị dài) Represents a signed integer value, limited to 64 bits. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
StructuredValue.Builder | setStringValue (Giá trị chuỗi) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | setStringValueBytes (giá trị com.google.protobuf.ByteString) Represents a string of Unicode characters stored in a Python `str`. |
StructuredValue.Builder | |
StructuredValue.Builder | setTensorDtypeValueValue (giá trị int) Represents an enum value for dtype. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
public StructuredValue.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai StructuredValue.Builder clearBoolValue ()
Represents a boolean value.
bool bool_value = 14;
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;
công khai 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;
công khai StructuredValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
công khai 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;
công khai StructuredValue.Builder clearTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
công khai StructuredValue.Builder clearTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
boolean công khai getBoolValue ()
Represents a boolean value.
bool bool_value = 14;
public BoundedTensorSpecProto getBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public 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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
DictValue công khai getDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
công khai DictValue.Builder getDictValueBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
công khai DictValueOrBuilder getDictValueOrBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
công khai gấp đôi getFloat64Value ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
công khai getInt64Value ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
Danh sách công khai getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
ListValue.Builder công khai getListValueBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
ListValueOrBuilder công khai getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
công khai NamedTupleValue getNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
công khai NamedTupleValue.Builder getNamedTupleValueBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
công khai NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
công khai NoneValue.Builder getNoneValueBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
công khai NoneValueOrBuilder getNoneValueOrBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
Chuỗi công khai 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 () công khai
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;
DataType công khai getTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
int công khai getTensorDtypeValueValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
công khai TensorShapeProto getTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
công khai TensorShapeProto.Builder getTensorShapeValueBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
công khai TensorShapeProtoOrBuilder getTensorShapeValueOrBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
công khai TensorSpecProto getTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
công khai TensorSpecProto.Builder getTensorSpecValueBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
công khai TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
TupleValue công khai getTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
công khai TupleValue.Builder getTupleValueBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
công khai TupleValueOrBuilder getTupleValueOrBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public TypeSpecProto getTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public 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;
boolean công khai hasBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
boolean công khai hasDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
boolean công khai hasListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
boolean công khai hasNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
boolean công khai hasNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
boolean công khai hasTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
boolean công khai hasTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
boolean công khai hasTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
boolean công khai hasTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
boolean cuối cùng công khai được khởi tạo ()
public StructuredValue.Builder mergeBoundedTensorSpecValue (giá trị BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder mergeDictValue (giá trị DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
công khai StructuredValue.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
public StructuredValue.Builder mergeListValue (giá trị ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder mergeNamedTupleValue (giá trị NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder mergeNoneValue (giá trị NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder mergeTensorShapeValue (giá trị TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder mergeTensorSpecValue (giá trị TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder mergeTupleValue (giá trị TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder mergeTypeSpecValue (giá trị TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
công khai cuối cùng StructuredValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai StructuredValue.Builder setBoolValue (giá trị boolean)
Represents a boolean value.
bool bool_value = 14;
public StructuredValue.Builder setBoundedTensorSpecValue (giá trị 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;
công khai StructuredValue.Builder setDictValue ( DictValue.Builder builderForValue)
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setDictValue (giá trị DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public StructuredValue.Builder setFloat64Value (giá trị kép)
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
công khai StructuredValue.Builder setInt64Value (giá trị dài)
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
công khai StructuredValue.Builder setListValue ( ListValue.Builder builderForValue)
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder setListValue (giá trị ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
công khai StructuredValue.Builder setNamedTupleValue ( NamedTupleValue.Builder builderForValue)
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder setNamedTupleValue (giá trị NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
công khai StructuredValue.Builder setNoneValue ( NoneValue.Builder builderForValue)
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setNoneValue (giá trị NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
công khai StructuredValue.Builder setStringValue (Giá trị chuỗi)
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;
công khai StructuredValue.Builder setStringValueBytes (giá trị 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 (giá trị DataType )
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
công khai StructuredValue.Builder setTensorDtypeValueValue (giá trị int)
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
công khai StructuredValue.Builder setTensorShapeValue ( TensorShapeProto.Builder builderForValue)
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder setTensorShapeValue (giá trị TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
công khai StructuredValue.Builder setTensorSpecValue ( TensorSpecProto.Builder builderForValue)
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTensorSpecValue (giá trị TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTupleValue (giá trị TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
công khai StructuredValue.Builder setTupleValue ( TupleValue.Builder builderForValue)
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
công khai StructuredValue.Builder setTypeSpecValue ( TypeSpecProto.Builder builderForValue)
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public StructuredValue.Builder setTypeSpecValue (giá trị TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;