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.