tensorstore.IndexTransform

class tensorstore.IndexTransform

Represents a transform between two index spaces.

Methods

__init__(self, input_rank, …)

__init__(self, domain, output)

__init__(self, json)

to_json(self)

Returns the JSON representation of the transform.

Attributes

T: tensorstore.IndexTransform

View with transposed domain (reversed dimension order).

domain: tensorstore.IndexDomain

implicit_lower_bounds: numpy.ndarray

Implicit lower bounds

implicit_upper_bounds: numpy.ndarray

Implicit upper bounds

input_exclusive_max: numpy.ndarray

Exclusive upper bound of the input domain.

input_inclusive_max: numpy.ndarray

Inclusive upper bound of the input domain.

input_inclusive_min: numpy.ndarray

Inclusive lower bound of the input domain.

input_labels: tuple

Input dimension labels

input_origin: numpy.ndarray

Inclusive lower bound of the input domain.

input_rank: int

Rank of input space

input_shape: numpy.ndarray

Shape of the input domain.

ndim: int

Alias for input_rank.

oindex: tensorstore.IndexTransform._Oindex

origin: numpy.ndarray

Inclusive lower bound of the domain.

output: tensorstore.OutputIndexMaps

Returns the output index maps.

output_rank: int

Rank of output space

shape: numpy.ndarray

Shape of the domain.

size: int

Total number of elements in the domain.

vindex: tensorstore.IndexTransform._Vindex