parameters: (self, hash_name='md5', coerce_mmap=False)
docstring: Parameters
              ----------
              hash_name: string
                  The hash algorithm to be used
              coerce_mmap: boolean
                  Make no difference between np.memmap and np.ndarray
                  objects.
docstring_summary: Parameters
              ----------
              hash_name: string
                  The hash algorithm to be used
              coerce_mmap: boolean
                  Make no difference between np.memmap and np.ndarray
                  objects.
docstring_tokens: Parameters ---------- hash_name : string The hash algorithm to be used coerce_mmap : boolean Make no difference between np . memmap and np . ndarray objects .
function: def __init__(self, hash_name='md5', coerce_mmap=False):
          """
              Parameters
              ----------
              hash_name: string
                  The hash algorithm to be used
              coerce_mmap: boolean
                  Make no difference between np.memmap and np.ndarray
                  objects.
          """
          self.coerce_mmap = coerce_mmap
          Hasher.__init__(self, hash_name=hash_name)
          # delayed import of numpy, to avoid tight coupling
          import numpy as np
          self.np = np
          if hasattr(np, 'getbuffer'):
              self._getbuffer = np.getbuffer
          else:
              self._getbuffer = memoryview
function_tokens: def __init__ ( self , hash_name = 'md5' , coerce_mmap = False ) : self . coerce_mmap = coerce_mmap Hasher . __init__ ( self , hash_name = hash_name ) # delayed import of numpy, to avoid tight coupling import numpy as np self . np = np if hasattr ( np , 'getbuffer' ) : self . _getbuffer = np . getbuffer else : self . _getbuffer = memoryview