MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / is_close_to

Method is_close_to

examples/gemm_tuner/GemmTuner.py:141–142  ·  view source on GitHub ↗
(self, other, tol)

Source from the content-addressed store, hash-verified

139 return self.opencl_timer_ms_reshape + self.opencl_timer_ms_kernel
140
141 def is_close_to(self, other, tol):
142 return math.fabs(self.get_total_ms() - other.get_total_ms()) < tol
143
144 def is_better_than(self, other, tol):
145 return self.get_total_ms() < other.get_total_ms() and not self.is_close_to(

Callers 2

is_better_thanMethod · 0.95
get_best_gemm_configsMethod · 0.80

Calls 2

get_total_msMethod · 0.95
fabsMethod · 0.45

Tested by

no test coverage detected