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

Method CocoReaderOpSpec

dali/operators/reader/coco_reader_op_test.cc:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 OpSpec CocoReaderOpSpec(bool polygon_masks = false, bool pixelwise_masks = false,
98 bool polygon_masks_legacy = false) {
99 return BasicCocoReaderOpSpec(polygon_masks, pixelwise_masks, polygon_masks_legacy)
100 .AddArg("annotations_file", annotations_filename_);
101 }
102
103 int SmallCocoSize(bool masks) { return masks ? 4 : 64; }
104 int EmptyImages() { return 2; }

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected