-
#include "tensorstore/spec.h"
-
Result<IndexTransform<>>
tensorstore::Spec::GetTransformForIndexingOperation() const; Returns a transform that may be used for apply a DimExpression.
If
transform().valid()
, returnstransform()
.If
rank() != dynamic_rank
, returnsIdentityTransform(rank())
.Otherwise, returns an error.