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

Method CheckAnswersForCocoOnCpu

dali/operators/ssd/box_encoder_test.cc:1087–1091  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1085 }
1086
1087 void CheckAnswersForCocoOnCpu(Workspace *ws, bool offset = false) {
1088 TensorList<CPUBackend> &boxes = ws->Output<dali::CPUBackend>(0);
1089 TensorList<CPUBackend> &labels = ws->Output<dali::CPUBackend>(1);
1090 CheckAnswersForCoco(&boxes, &labels, offset);
1091 }
1092
1093 void CheckAnswersForCocoOnGpu(Workspace *ws, bool offset = false) {
1094 auto boxes = this->CopyTensorListToHost(ws->Output<dali::GPUBackend>(0));

Callers 1

RunForCocoCpuMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected