Home
last modified time | relevance | path

Searched refs:np (Results 1 – 3 of 3) sorted by relevance

/test/mlts/benchmark/tools/
Dtensor_utils.py8 import numpy as np namespace
138 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 …]
Dgen_mobilenet_input.py10 import numpy as np namespace
16 img_f64 = np.array(Image.open(filename).resize(size)).astype(np.float) / 128 - 1
/test/mlts/models/assets/image_classification/
DLICENSE214 Title: mud-volcano-yellowstone-np-sept-2011-rogermpeterson-001