Spec-Zone.ru › TensorFlow

tf.io.gfile.makedirs

Creates a directory and all parent/intermediate directories.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.io.gfile.makedirs

tf.io.gfile.makedirs(
    path
)

Used in the notebooks

Used in the tutorials
  • Custom training loop with Keras and MultiWorkerMirroredStrategy
  • Multi-worker training with Keras
  • Federated Reconstruction for Matrix Factorization
  • Generalized Linear Models
  • Optimizers in TensorFlow Probability

It succeeds if path already exists and is writable.

Args
path string, name of the directory to be created
Raises
errors.OpError If the operation fails.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/io/gfile/makedirs

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API