Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 11 of 11) sorted by relevance

/test/mlts/benchmark/tools/
Dtensor_utils.py158 diff = self.calc_diff(layer, relative_error=False)
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))
169 diff = cpu_tensor - nnapi_tensor
171 return diff
172 diff = diff.astype(float)
175 relative_diff = np.divide(diff, max_cpu_nnapi_tensor, out=np.zeros_like(diff),\
184 diff = self.calc_diff(layer, relative_error)
186 self.plot_tensor_diff(diff)
190 'min': np.min(diff),
[all …]
/test/mlts/benchmark/results/
Dgenerate_result.py303 diff = [a - b for a, b in zip(val, base)]
305 val=v, diff=d, span=get_diff_span(d, 1.0, positive_is_better=True))
306 for v, d in zip(val, diff)]
326 diff = [a - b for a, b in zip(val, base)]
328 val=v, diff=d, span=get_diff_span(d, 1.0, positive_is_better=False))
329 for v, d in zip(val, diff)]
348 diff = [a - b for a, b in zip(val, base)]
350 val=v, diff=d, span=get_diff_span(d, 1.0, positive_is_better=False))
351 for v, d in zip(val, diff)]
377 diff = (result_avg_ms/baseline_avg_ms - 1.0) * 100.0
[all …]
DChart.bundle.min.js10diff=function(t,e,i){var n,a,r;if(!this.isValid())return NaN;if(!(n=He(t,this)).isValid())return N…
/test/vti/test_serving/gae/frontend/src/app/menu/
Dmenu_base.ts64 let diff = moment().diff(currentTime);
65 let duration = moment.duration(diff);
/test/suite_harness/
DPREUPLOAD.cfg6 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format…
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStat.java67 double diff = average - data[i]; in getStat() local
68 sumOfSquares += diff * diff; in getStat()
/test/framework/harnesses/host_controller/utils/ipc/
Dfile_lock_semaphore.py74 diff = common.MAX_ADB_FASTBOOT_PROCESS - self.sem_max_value
76 max(0, self.sem_value + diff), common.MAX_ADB_FASTBOOT_PROCESS)
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsInactivityJobServlet.java75 long diff = now - lastRunTime; in notifyIfInactive() local
79 if (diff >= TimeUnit.DAYS.toMicros(1) && diff < TimeUnit.DAYS.toMicros(8)) { in notifyIfInactive()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParserTest.java189 int diff = calculateStartDate ? 1 : -1; in getDate() local
191 for (int index = begin; index >= 0 && index < lines.length; index += diff) { in getDate()
/test/vts/compilation_tools/vtsc/test/
Dtest_vtsc.py250 diff = difflib.unified_diff(
255 for line in diff:
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParser.java290 int diff = calculateStartDate ? 1 : -1; in getDate() local
292 for (int index = begin; index >= 0 && index < lines.length; index += diff) { in getDate()