parameters: (library_base_dir='')
return_statement: return _quantized_kernels
docstring: Load the quantized ops library and return the loaded module.
docstring_summary: Load the quantized ops library and return the loaded module.
docstring_tokens: Load the quantized ops library and return the loaded module .
function: def Load(library_base_dir=''):
    """Load the quantized ops library and return the loaded module."""
    with _kernels_lock:
      global _quantized_kernels
      if not _quantized_kernels:
        data_files_path = os.path.join(library_base_dir,
                                       tf.resource_loader.get_data_files_path())
        tf.logging.info('data path: %s', data_files_path)
        _quantized_kernels = tf.load_op_library(os.path.join(
            data_files_path, QUANTIZED_KERNELS_FILE))
  
        assert _quantized_kernels, 'Could not load _quantized_kernels.so'
    return _quantized_kernels
function_tokens: def Load ( library_base_dir = '' ) : with _kernels_lock : global _quantized_kernels if not _quantized_kernels : data_files_path = os . path . join ( library_base_dir , tf . resource_loader . get_data_files_path ( ) ) tf . logging . info ( 'data path: %s' , data_files_path ) _quantized_kernels = tf . load_op_library ( os . path . join ( data_files_path , QUANTIZED_KERNELS_FILE ) ) assert _quantized_kernels , 'Could not load _quantized_kernels.so' return _quantized_kernels