TensorFlow 2.0 Beta is available Learn more

tf.contrib.cloud.configure_gcs

View source on GitHub

Configures the GCS file system for a given a session.

tf.contrib.cloud.configure_gcs(
    session,
    credentials=None,
    block_cache=None,
    device=None
)

Args:

  • session: A tf.compat.v1.Session session that should be used to configure the GCS file system.
  • credentials: [Optional.] A JSON string
  • block_cache: [Optional.] A BlockCacheParams to configure the block cache .
  • device: [Optional.] The device to place the configure ops.