MCPcopy Create free account
hub / github.com/NVIDIA/DALI / set_contiguous_data

Method set_contiguous_data

include/dali/core/tensor_view.h:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 */
338 template <typename U>
339 void set_contiguous_data(U *data) {
340 detail::check_implicit_conversion<U, DataType>();
341 calculate_pointers(this->data, data, shape);
342 }
343
344 /**
345 * @brief Checks whether the tensors in the list are packed sequentially, without gaps.

Callers 1

RunMethod · 0.80

Calls 1

calculate_pointersFunction · 0.85

Tested by

no test coverage detected