Skip to content
TensorStore
tensorstore.OpenMode
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
        • Indexing
        • Spec
          • CSpec
          • CSchema
          • CCodecSpec
          • COpenMode
            • Constructors
              • M__init__
            • Accessors
              • Popen
              • Pcreate
              • Pdelete_existing
              • Passume_metadata
              • Passume_cached_metadata
          • COpenMode
            • Constructors
              • M__init__
            • Accessors
              • Popen
              • Pcreate
              • Pdelete_existing
              • Passume_metadata
              • Passume_cached_metadata
          • CChunkLayout
          • CUnit
          • VRecheckCacheOption
        • Views
        • Data types
        • Asynchronous support
        • OCDBT
        • Experimental
      • API reference
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Constructors
    • Accessors
    class tensorstore.OpenMode

    Specifies the mode to use when opening a TensorStore.

    Constructors¶

    OpenMode(*, open: bool = False, create: bool = False, ...)

    Constructs an open mode.

    Accessors¶

    open : bool

    Allow opening an existing TensorStore.

    create : bool

    Allow creating a new TensorStore.

    delete_existing : bool

    Delete any existing data before creating a new array.

    assume_metadata : bool

    Don’t access the stored metadata.

    assume_cached_metadata : bool

    Skip reading the metadata when opening.

    Back to top
    Previous tensorstore.CodecSpec.to_json
    Next tensorstore.OpenMode.__init__