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

Method RunTest

dali/test/dali_operator_test.h:227–231  ·  view source on GitHub ↗

* Runs defined test. * * Call this method within GTest's testing macro (TEST_F, TEST_P, etc...). * The method will set up a testing pipeline, * push data through it and call output verification routines. * Every RunTest call will set up its own pipeline. * * @param inputs all inputs to the pipeline * @param outputs placeholder for outputs from pipeline * @param operator_

Source from the content-addressed store, hash-verified

225 * @param verify function, that will be used for test verification
226 */
227 void RunTest(const std::vector<TensorListWrapper> &inputs,
228 std::vector<TensorListWrapper> &outputs, const Arguments &operator_arguments,
229 const Verify &verify) {
230 // TODO(mszolucha) implement
231 }
232
233 /**
234 * Convenient overload, for specific, single-input/single-output graph

Callers

nothing calls this directly

Calls 8

GetOpDeviceFunction · 0.85
CreatePipelineFunction · 0.85
AddInputToPipelineFunction · 0.85
verifyFunction · 0.85
has_cpuMethod · 0.80
num_samplesMethod · 0.45
cpuMethod · 0.45
gpuMethod · 0.45

Tested by

no test coverage detected