Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
102
struct 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_list
Function · 0.45
subtensor
Function · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected