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

Method GetOutputDim

dali/pipeline/workspace/workspace.h:305–307  ·  view source on GitHub ↗

* Returns number of dimensions for a given output */

Source from the content-addressed store, hash-verified

303 * Returns number of dimensions for a given output
304 */
305 int GetOutputDim(int output_idx) const {
306 return GetBufferProperty(outputs_, output_idx, [](auto &buf) { return buf->sample_dim(); });
307 }
308
309 /**
310 * Returns batch size that the Operator is expected to produce on a given output

Callers 2

daliMaxDimTensorsFunction · 0.80
ValidateOutputsMethod · 0.80

Calls 2

GetBufferPropertyFunction · 0.85
sample_dimMethod · 0.45

Tested by

no test coverage detected