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

Method GetOutputBatchSize

dali/pipeline/workspace/workspace.h:291–293  ·  view source on GitHub ↗

* Returns batch size for a given output */

Source from the content-addressed store, hash-verified

289 * Returns batch size for a given output
290 */
291 int GetOutputBatchSize(int output_idx) const {
292 return GetBufferProperty(outputs_, output_idx, [](auto &buf) { return buf->num_samples(); });
293 }
294
295 /**
296 * Returns number of dimensions for a given input

Callers 2

RunMethod · 0.80

Calls 2

GetBufferPropertyFunction · 0.85
num_samplesMethod · 0.45

Tested by

no test coverage detected