def get_info(name, notfound_action=0): # Special case our custom *_opt_info cls = {'lapack_opt': lapack_opt_info, 'blas_opt': blas_opt_info}.get(name.lower()) if cls is None: return old_get_info(name, notfound_action) return cls().get_info(notfound_action)
def get_info(name, notfound_action=0): # Special case our custom *_opt_info. cls = {'lapack_opt': lapack_opt_info, 'blas_opt': blas_opt_info}.get(name.lower()) if cls is None: return old_get_info(name, notfound_action) return cls().get_info(notfound_action)
def get_info(name, notfound_action=0): print("old numpy: ", np.__version__) # Special case our custom *_opt_info. cls = {'lapack_opt': lapack_opt_info, 'blas_opt': blas_opt_info}.get(name.lower()) if cls is None: return old_get_info(name, notfound_action) return cls().get_info(notfound_action)