parameters: (self, model_dir, model_filename=None, params_filename=None)
docstring: This class quantizes the weight of some ops to reduce the size of model
          or improve the perforemace.
  
          Args:
              model_dir(str): The path of the fp32 model that will be quantized,
                  and the model and params files are under the path.
              model_filename(str, optional): The name of file to load the inference
                  program. If it is None, the default filename '__model__' will
                  be used. Default is 'None'.
              params_filename(str, optional): The name of file to load all parameters.
                  When all parameters were saved in a single binary file, set it
                  as the real filename. If parameters were saved in separate files,
                  set it as 'None'. Default is 'None'.
docstring_summary: This class quantizes the weight of some ops to reduce the size of model
          or improve the perforemace.
docstring_tokens: This class quantizes the weight of some ops to reduce the size of model or improve the perforemace .
function: def __init__(self, model_dir, model_filename=None, params_filename=None):
          '''
          This class quantizes the weight of some ops to reduce the size of model
          or improve the perforemace.
  
          Args:
              model_dir(str): The path of the fp32 model that will be quantized,
                  and the model and params files are under the path.
              model_filename(str, optional): The name of file to load the inference
                  program. If it is None, the default filename '__model__' will
                  be used. Default is 'None'.
              params_filename(str, optional): The name of file to load all parameters.
                  When all parameters were saved in a single binary file, set it
                  as the real filename. If parameters were saved in separate files,
                  set it as 'None'. Default is 'None'.
          '''
          self._model_dir = model_dir
          self._model_filename = model_filename
          self._params_filename = params_filename
function_tokens: def __init__ ( self , model_dir , model_filename = None , params_filename = None ) : self . _model_dir = model_dir self . _model_filename = model_filename self . _params_filename = params_filename