публичный статический конечный класс 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 | очиститьBoolValue () 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 | очиститьFloat64Value () 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 | очиститьноневалуе () 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 | очиститьTensorShapeValue () Represents a TensorShape. |
StructuredValue.Builder | очиститьTensorSpecValue () 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 | клон () |
логическое значение | getBoolValue () Represents a boolean value. |
ОграниченныйTensorSpecProto | getBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
ОграниченныйTensorSpecProto.Builder | getBoundedTensorSpecValueBuilder () Represents a value for tf.BoundedTensorSpec. |
ОграниченныйTensorSpecProtoOrBuilder | getBoundedTensorSpecValueOrBuilder () Represents a value for tf.BoundedTensorSpec. |
Структурированное значение | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Диктвалуе | getDictValue () 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`). |
длинный | getInt64Value () Represents a signed integer value, limited to 64 bits. |
СтруктурированноеValue.KindCase | getKindCase () |
ListValue | получитьСписокЗначения () 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. |
НетЗначение | getNoneValue () Represents None. |
NoneValue.Builder | getNoneValueBuilder () Represents None. |
NoneValueOrBuilder | getNoneValueOrBuilder () Represents None. |
Нить | получитьСтроковоеЗначение () 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. |
интервал | getTensorDtypeValueValue () Represents an enum value for dtype. |
TensorShapeProto | getTensorShapeValue () Represents a TensorShape. |
TensorShapeProto.Builder | getTensorShapeValueBuilder () Represents a TensorShape. |
TensorShapeProtoOrBuilder | getTensorShapeValueOrBuilder () Represents a TensorShape. |
ТензорСпецПрото | getTensorSpecValue () Represents a value for tf.TensorSpec. |
TensorSpecProto.Builder | getTensorSpecValueBuilder () Represents a value for tf.TensorSpec. |
TensorSpecProtoOrBuilder | getTensorSpecValueOrBuilder () Represents a value for tf.TensorSpec. |
Туплевалуе | getTupleValue () Represents a tuple of `Value`. |
TupleValue.Builder | getTupleValueBuilder () Represents a tuple of `Value`. |
TupleValueOrBuilder | getTupleValueOrBuilder () Represents a tuple of `Value`. |
ТипСпецификацияПрото | получитьТипСпецЗначение () Represents a value for tf.TypeSpec. |
ТипСпецПрото.Builder | getTypeSpecValueBuilder () Represents a value for tf.TypeSpec. |
ТипСпецПротоОрБилдер | getTypeSpecValueOrBuilder () Represents a value for tf.TypeSpec. |
логическое значение | имеетBoundedTensorSpecValue () Represents a value for tf.BoundedTensorSpec. |
логическое значение | имеетDictValue () Represents a dict `Value`. |
логическое значение | имеетСписокЗначения () Represents a list of `Value`. |
логическое значение | имеетNamedTupleValue () Represents Python's namedtuple. |
логическое значение | имеетНонеЗначение () Represents None. |
логическое значение | имеетTensorShapeValue () Represents a TensorShape. |
логическое значение | имеетTensorSpecValue () Represents a value for tf.TensorSpec. |
логическое значение | имеетТуплевалуе () Represents a tuple of `Value`. |
логическое значение | имеетТипСпецЗначение () Represents a value for tf.TypeSpec. |
последнее логическое значение | |
StructuredValue.Builder | mergeBoundedTensorSpecValue (значение BoundedTensorSpecProto ) Represents a value for tf.BoundedTensorSpec. |
StructuredValue.Builder | |
StructuredValue.Builder | mergeFrom (com.google.protobuf.Message другое) |
StructuredValue.Builder | mergeFrom (ввод 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 | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
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 (целое значение) Represents an enum value for dtype. |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
StructuredValue.Builder | |
окончательный StructuredValue.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
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.BuilderclearDictValue ( )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.BuilderclearFloat64Value ( )
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;
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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public DictValue.Builder getDictValueBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public 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;
общедоступное значение ListValue getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
общедоступный ListValue.Builder getListValueBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
общедоступный ListValueOrBuilder getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public 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;
public NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
общедоступный NoneValue.Builder getNoneValueBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
общедоступный NoneValueOrBuilder 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;
public 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;
public 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;
общедоступный TensorShapeProto.Builder getTensorShapeValueBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public 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;
public TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public 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;
public 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;
общедоступный TypeSpecProto.Builder getTypeSpecValueBuilder ()
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;
общедоступное логическое значение 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;
публичное финальное логическое значение isInitialized ()
public StructuredValue.Builder mergeBoundedTensorSpecValue (значение BoundedTensorSpecProto )
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public StructuredValue.Builder mergeDictValue (значение DictValue )
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public StructuredValue.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public StructuredValue.Builder mergeListValue (значение ListValue )
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public StructuredValue.Builder mergeNamedTupleValue (значение NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder mergeNoneValue (значение NoneValue )
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder mergeTensorShapeValue (значение TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder mergeTensorSpecValue (значение TensorSpecProto )
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder mergeTupleValue (значение TupleValue )
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public StructuredValue.Builder mergeTypeSpecValue (значение TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
общедоступный окончательный StructuredValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public StructuredValue.Builder setBoolValue (логическое значение)
Represents a boolean value.
bool bool_value = 14;
public StructuredValue.Builder setBoundedTensorSpecValue (значение 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;
public StructuredValue.Builder setDictValue ( 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;
public StructuredValue.Builder setNamedTupleValue ( NamedTupleValue.Builder builderForValue)
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder setNamedTupleValue (значение NamedTupleValue )
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public StructuredValue.Builder setNoneValue ( NoneValue.Builder builderForValue)
Represents None.
.tensorflow.NoneValue none_value = 1;
public StructuredValue.Builder setNoneValue (значение NoneValue )
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;
public StructuredValue.Builder setStringValueBytes (значение 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;
public StructuredValue.Builder setTensorDtypeValueValue (целое значение)
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public StructuredValue.Builder setTensorShapeValue ( TensorShapeProto.Builder builderForValue)
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder setTensorShapeValue (значение TensorShapeProto )
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public StructuredValue.Builder setTensorSpecValue ( TensorSpecProto.Builder builderForValue)
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public StructuredValue.Builder setTensorSpecValue (значение 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;
public StructuredValue.Builder setTypeSpecValue ( TypeSpecProto.Builder builderForValue)
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public StructuredValue.Builder setTypeSpecValue (значение TypeSpecProto )
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;