parameters: (self, ann)
return_statement: return m
docstring: Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
          :return: binary mask (numpy 2D array)
docstring_summary: Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
          :return: binary mask (numpy 2D array)
docstring_tokens: Convert annotation which can be polygons uncompressed RLE or RLE to binary mask . : return : binary mask ( numpy 2D array )
function: def annToMask(self, ann):
          """
          Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
          :return: binary mask (numpy 2D array)
          """
          rle = self.annToRLE(ann)
          m = maskUtils.decode(rle)
          return m
function_tokens: def annToMask ( self , ann ) : rle = self . annToRLE ( ann ) m = maskUtils . decode ( rle ) return m