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

Method dim

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

Source from the content-addressed store, hash-verified

102struct TensorViewBase {
103 using element_type = DataType;
104 int dim() const { return shape.size(); }
105
106 /**
107 * @brief Utility to calculate pointer to element at given coordinates

Callers 2

make_tensor_listFunction · 0.45
subtensorFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected