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: ATensorof 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: ATensorof typeint32.values: A list ofTensorobjects of typeoutput_types.