NVIDIA / DALI

A GPU-accelerated library containing highly optimized building blocks and an execution engine for data processing to accelerate deep learning training and inference applications.
https://docs.nvidia.com/deeplearning/dali/user-guide/docs/index.html
Apache License 2.0
5.09k stars 615 forks source link

Tasking: Test returning a collection of std::any. #5529

Closed mzient closed 4 weeks ago

mzient commented 3 months ago

Category:

Other Test

Description:

Test handling of multiple outputs of type std::any. The desired behavior is that passing an iterable object with element type std::any doesn't wrap any into another layer of any, but rather forwards the contained object.

When returning:

return vector<any>{ 1, 2.5f, string("cat") };

When getting the results:

int integer = task->GetInputValue<int>(0);
float fraction = task->GetInputValue<float>(1);
string mammal = task->GetInputValue<string>(2);

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

Checklist

Documentation

DALI team only

Requirements

REQ IDs: N/A

JIRA TASK: N/A

dali-automaton commented 3 months ago

CI MESSAGE: [15892818]: BUILD STARTED

dali-automaton commented 1 month ago

CI MESSAGE: [17363798]: BUILD STARTED

dali-automaton commented 1 month ago

CI MESSAGE: [17363798]: BUILD FAILED

dali-automaton commented 4 weeks ago

CI MESSAGE: [18061439]: BUILD STARTED

dali-automaton commented 4 weeks ago

CI MESSAGE: [18061439]: BUILD PASSED