-
#include "tensorstore/tensorstore.h"
-
template <typename StoreResult>
Future<UnwrapResultType<StoreResult>>
tensorstore::ResolveBounds(StoreResult store,
ResolveBoundsOptions options); -
template <typename StoreResult, typename... Option>
requires IsCompatibleOptionSequence<ResolveBoundsOptions, Option...>
Future<UnwrapResultType<StoreResult>>
tensorstore::ResolveBounds(StoreResult store, Option&&... option); Returns a new
TensorStore
that is equivalent tostore
but has implicit bounds resolved if possible, and explicit bounds checked.Options compatible with
ResolveBoundsOptions
are specified in any order afterstore
. The meaning of each option is determined by its type.Supported option types are:
Example:
TensorStore<int32_t, 3> store = ...; store = ResolveBounds(store).value();
- Parameters:¶
- StoreResult store¶
The TensorStore to resolve. May be
Result
-wrapped.- ResolveBoundsOptions options¶
Any option compatible with
ResolveBoundsOptions
.
Related Types¶
- enum class tensorstore::ResolveBoundsMode;
Bitvector specifying options for resolving TensorStore bounds.
- struct tensorstore::ResolveBoundsOptions;
Specifies options for TensorStore ResolveBounds operations.