W3cubDocs

/TensorFlow Python

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.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/proto/encode_proto