W3cubDocs

/TensorFlow Python

tf.compat.path_to_str

Aliases:

  • tf.compat.path_to_str
  • tf.contrib.meta_graph_transform.meta_graph_transform.compat.path_to_str
tf.compat.path_to_str(path)

Defined in tensorflow/python/util/compat.py.

Returns the file system path representation of a PathLike object, else as it is.

Args:

  • path: An object that can be converted to path representation.

Returns:

A str object.

© 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/compat/path_to_str