Skip to content
TensorStore
tensorstore.Context.__init__(spec)
Initializing search
    google/tensorstore
    google/tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
          • CTensorStore
          • CContext
            • Constructors
              • M__init__(default)
              • M__init__(spec)
                • Parameters
                  • pspec
                  • pparent
              • M__init__(json)
            • Classes
            • Accessors
          • CKvStore
          • CTransaction
          • Fopen
        • Indexing
        • Spec
        • Views
        • Data types
        • Asynchronous support
        • Experimental
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Parameters
      • pspec
      • pparent
    tensorstore.Context(spec: Context.Spec, parent: Context | None = None)

    Constructs a context from a parsed spec.

    Parameters:¶
    spec: Context.Spec¶

    Parsed context spec.

    parent: Context | None = None¶

    Parent context from which to inherit. Defaults to a new default context as returned by tensorstore.Context().

    Back to top
    Previous tensorstore.Context.__init__(default)
    Next tensorstore.Context.__init__(json)