tf.contrib.proto.encode_proto

tf.contrib.proto.encode_proto(
    sizes,
    values,
    field_names,
    message_type,
    descriptor_source='local://',
    name=None
)

Defined in tensorflow/contrib/proto/python/ops/gen_encode_proto_op.py.

TODO: add doc.

Args:

  • sizes: A Tensor of type int32.
  • values: A list of Tensor objects.
  • field_names: A list of strings.
  • message_type: A string.
  • descriptor_source: An optional string. Defaults to "local://".
  • name: A name for the operation (optional).

Returns:

A Tensor of type string.