class_docstr: Coarse grained mask for a given tensor, here tensor could be weights,
  input tensor, or output tensor
class_docstr_tok: ["Coarse","grained","mask","for","a","given","tensor",",","here","tensor","could","be","weights",",","input","tensor",",","or","output","tensor"]
docstr: Return if self's mask is less or equal to other's mask.
docstr_tok: ["Return","if","self","'s","mask","is","less","or","equal","to","other","'s","mask","."]
code: def __le__(self, other):
      """
      Return if self's mask is less or equal to other's mask.
      """
      assert isinstance(other, CoarseMask)
      if self.__lt__(other) or self.__eq__(other):
          return True
      return False
  
imports: import logging
  import torch
label_desc: Use image node_id 9 for calling the CoarseMask obj's underlying member method code with example usage: obj.__le__(other) and returns: False, True