Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ updateVolume
Method
updateVolume
samples/common/sampleInference.h:134–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
int64_t vol{-1};
133
134
void updateVolume(int32_t batch)
135
{
136
vol = volume(dims, strides, vectorDimIndex, comps, batch);
137
}
138
};
139
140
class Bindings
Callers
1
fillAllBindings
Method · 0.80
Calls
1
volume
Function · 0.70
Tested by
no test coverage detected