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

Method sample_dim

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

Source from the content-addressed store, hash-verified

129 */
130 DALI_NO_EXEC_CHECK
131 DALI_HOST_DEV size_type sample_dim() const noexcept { return shape.size(); }
132 DALI_NO_EXEC_CHECK
133 DALI_HOST_DEV constexpr bool empty() const noexcept { return size() == 0; }
134

Callers 15

SetLayoutFunction · 0.45
ExposeTensorListCPUFunction · 0.45
ExposeTesorListGPUFunction · 0.45
daliTensorGetShapeFunction · 0.45
daliTensorListGetShapeFunction · 0.45
GetDescMethod · 0.45
AttachBufferMethod · 0.45
AttachSamplesMethod · 0.45
SetLayoutMethod · 0.45
GetTensorDescMethod · 0.45
ViewAsTensorMethod · 0.45
CompareTensorListsFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 15

CompareTensorListsFunction · 0.36
TESTFunction · 0.36
FillTensorListFunction · 0.36
FillSeqFunction · 0.36
getInputMethod · 0.36
CheckRearrangeFunction · 0.36
SetupImplMethod · 0.36
SetupImplMethod · 0.36
SetupImplMethod · 0.36
RunImplMethod · 0.36
VerifyShapeImplMethod · 0.36
ExtendRoiFunction · 0.36