tf.contrib.proto.decode_proto(
bytes,
message_type,
field_names,
output_types,
descriptor_source='local://',
message_format='binary',
sanitize=False,
name=None
)
Defined in generated file: tensorflow/contrib/proto/python/ops/gen_decode_proto_op.py
.
TODO: add doc.
Args:
bytes
: ATensor
of typestring
.message_type
: Astring
.field_names
: A list ofstrings
.output_types
: A list oftf.DTypes
.descriptor_source
: An optionalstring
. Defaults to"local://"
.message_format
: An optionalstring
. Defaults to"binary"
.sanitize
: An optionalbool
. Defaults toFalse
.name
: A name for the operation (optional).
Returns:
A tuple of Tensor
objects (sizes, values).
sizes
: ATensor
of typeint32
.values
: A list ofTensor
objects of typeoutput_types
.