Searched refs:np (Results 1 – 3 of 3) sorted by relevance
8 import numpy as np namespace138 if np.isnan(np.sum(tensor)):160 self.max_absolute_diff = max(self.max_absolute_diff, np.max(diff))161 self.min_absolute_diff = min(self.min_absolute_diff, np.min(diff))174 max_cpu_nnapi_tensor = np.maximum(np.abs(cpu_tensor), np.abs(nnapi_tensor))175 relative_diff = np.divide(diff, max_cpu_nnapi_tensor, out=np.zeros_like(diff),\190 'min': np.min(diff),191 'max': np.max(diff),192 'mean': np.mean(diff),193 'median': np.median(diff)[all …]
10 import numpy as np namespace16 img_f64 = np.array(Image.open(filename).resize(size)).astype(np.float) / 128 - 1
214 Title: mud-volcano-yellowstone-np-sept-2011-rogermpeterson-001