tensorstore.Context

class tensorstore.Context

Manages shared TensorStore resources, such as caches and credentials.

Methods

__init__(self)

Returns a default context

__init__(self, spec, parent)

Constructs a context.

__init__(self, json, parent, allow_unregistered)

Constructs a context from a JSON spec.

Attributes

parent: tensorstore.Context

spec: tensorstore.ContextSpec