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

Method size

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

* @brief Number of samples */

Source from the content-addressed store, hash-verified

267 * @brief Number of samples
268 */
269 int size() const noexcept { return shape.size(); }
270 int num_samples() const noexcept { return size(); }
271 ptrdiff_t num_elements() const {
272 return shape.num_elements();

Callers 2

dimMethod · 0.45
make_tensor_listFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected