class_docstr: DALI partial pipeline with COCO Reader and loader. To be passed as
  a parameter of a DALI transform pipeline.
  
  Parameters
  ----------
  num_shards: int
       DALI pipeline arg - Number of auto used, indicating to the reader
       how to split/shard the dataset.
  shard_id: int
       DALI pipeline arg - Shard id of the pipeline must be in [0, num_shards).
  file_root
      Directory containing the COCO dataset.
  annotations_file
      The COCO annotation file to read from.
  device_id: int
       GPU device used for the DALI pipeline.
class_docstr_tok: ["DALI","partial","pipeline","with","COCO","Reader","and","loader",".","To","be","passed","as","a","parameter","of","a","DALI","transform","pipeline",".","Parameters","--","--","--","--","--","num_shards",":","int","DALI","pipeline","arg","-","Number","of","auto","used",",","indicating","to","the","reader","how","to","split\/shard","the","dataset",".","shard_id",":","int","DALI","pipeline","arg","-","Shard","id","of","the","pipeline","must","be","in","[","0",",","num_shards",")",".","file_root","Directory","containing","the","COCO","dataset",".","annotations_file","The","COCO","annotation","file","to","read","from",".","device_id",":","int","GPU","device","used","for","the","DALI","pipeline","."]
docstr: Returns size of COCO dataset
          
docstr_tok: ["Returns","size","of","COCO","dataset"]
code: def size(self):
      """Returns size of COCO dataset"""
      return self._size
  
imports: from __future__ import absolute_import
  from __future__ import division
  import os
  import numpy
  from PIL import Image
  import mxnet
  from .utils import try_import_pycocotools
  from ..base import VisionDataset
  from ...utils import try_import_dali
  from ...utils.bbox import bbox_xywh_to_xyxy, bbox_clip_xyxy
label_desc: Use image node_id 3 for calling the COCODetectionDALI obj's underlying member method code with example usage: obj.size() and returns: self