Skip to content
TensorStore
tensorstore.CodecSpec
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
        • Indexing
        • Spec
          • C Spec
          • C Schema
          • C CodecSpec
            • Constructors
              • M __init__
            • Public members
              • M to_json
          • C CodecSpec
            • Constructors
              • M __init__
            • Public members
              • M to_json
          • C OpenMode
          • C ChunkLayout
          • C Unit
          • V RecheckCacheOption
        • 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
    • Public members
    class tensorstore.CodecSpec

    Specifies driver-specific encoding/decoding parameters.

    Constructors¶

    CodecSpec(json: Any)

    Constructs from the JSON representation.

    Public members¶

    to_json(include_defaults: bool = False) → Any

    Converts to the JSON representation.