TensorFlow 1 version | View source on GitHub |
Returns whether the path is a directory or not.
tf.io.gfile.isdir(
path
)
Args | |
---|---|
path
|
string, path to a potential directory |
Returns | |
---|---|
True, if the path is a directory; False otherwise |
TensorFlow 1 version | View source on GitHub |
Returns whether the path is a directory or not.
Compat aliases for migration
See Migration guide for more details.
tf.io.gfile.isdir(
path
)
Args | |
---|---|
path
|
string, path to a potential directory |
Returns | |
---|---|
True, if the path is a directory; False otherwise |
此页内容是否对您有帮助
感谢反馈!