API reference

Functions

array(array, context)

Returns a TensorStore that reads/writes from an in-memory array.

array(array, dtype, context)

Returns a TensorStore that reads/writes from an in-memory array.

cast(store, dtype)

Returns a read/write TensorStore view as the specified data type.

downsample(base, downsample_factors, method)

downsample(base, downsample_factors, method)

open(spec, read, write, open, create, …)

Opens a TensorStore

Classes

Context

Manages shared TensorStore resources, such as caches and credentials.

ContextSpec

Dim

Index interval with optionally-implicit bounds and dimension label.

DimExpression

Future

Index

Array index

IndexDomain

Specifies bounds and dimension labels of an N-dimensional index space.

IndexInterval

Represents an interval of index values, with support for +/-inf bounds.

IndexTransform

Represents a transform between two index spaces.

Indexable()

Abstract base class for types that

OutputIndexMap

Represents an output index map for an index transform.

OutputIndexMaps

View of the output index maps for an index transform.

OutputIndexMethod

Members:

Promise

Spec

Specification for opening or creating a TensorStore.

TensorStore

Transaction

Transactions are used to stage a group of modifications (e.g.

WriteFutures

d

Specifies a dimension selection, a sequence of index space dimensions.

dtype

Represents a TensorStore data type.

Constants

newaxis

Alias for None used in indexing expressions to specify a new singleton dimension.