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

Function empty

include/dali/core/dev_array.h:68–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 DALI_HOST_DEV constexpr const_iterator cend() const noexcept { return data_ + N; }
67 DALI_HOST_DEV constexpr size_t size() const noexcept { return N; }
68 DALI_HOST_DEV constexpr bool empty() const noexcept { return N == 0; }
69 DALI_HOST_DEV inline pointer data() noexcept { return data_; }
70 DALI_HOST_DEV constexpr const_pointer data() const noexcept { return data_; }
71 DALI_HOST_DEV inline reference front() noexcept { return *data_; }

Callers 5

appendMethod · 0.85
TensorListViewBaseClass · 0.85
pop_backMethod · 0.85
appendMethod · 0.85
sample_layoutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected