parameters: (self)
return_statement: return serialized
docstring: Callback to serialize the array.
docstring_summary: Callback to serialize the array.
docstring_tokens: Callback to serialize the array .
function: def serialize(self):
      """Callback to serialize the array."""
      string_file = BytesIO()
      try:
        numpy.save(string_file, self.array, allow_pickle=False)
        serialized = string_file.getvalue()
      finally:
        string_file.close()
      return serialized
function_tokens: def serialize ( self ) : string_file = BytesIO ( ) try : numpy . save ( string_file , self . array , allow_pickle = False ) serialized = string_file . getvalue ( ) finally : string_file . close ( ) return serialized