阅读(4729) (0)

TensorFlow函数:tf.compat.path_to_str

2018-04-26 10:12:51 更新

tf.compat.path_to_str函数

别名:

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

定义在:tensorflow/python/util/compat.py.

返回PathLike对象的文件系统路径表示形式,否则返回原样.

函数参数:

  • path:可以转换为路径表示的对象.

函数返回值:

tf.compat.path_to_str函数将返回一个str对象.