-
#include "tensorstore/array.h"
-
template <typename Source>
auto tensorstore::MakeArrayView(Source&& source); Returns a rank-1 array that references (but does not copy) the specified
span
-compatible array/container.Note
The caller is responsible for ensuring that the returned array is not used after
source
becomes invalid.