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

Method num_samples

include/dali/core/tensor_shape.h:663–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661 constexpr bool empty() const { return size() == 0; }
662 constexpr int size() const { return nsamples; }
663 constexpr int num_samples() const { return size(); }
664
665 ptrdiff_t num_elements() const {
666 ptrdiff_t n = 0;

Callers 8

appendMethod · 0.45
operator==Function · 0.45
is_degenerate_dimFunction · 0.45
collapse_dimFunction · 0.45
collapse_dimsFunction · 0.45
permute_samplesFunction · 0.45
permute_dimsFunction · 0.45
sample_rangeFunction · 0.45

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected