Lines Matching +full:traces +full:- +full:db
2 # SPDX-License-Identifier: Apache-2.0
3 # -----------------------------------------------------------------------------
10 # http://www.apache.org/licenses/LICENSE-2.0
17 # -----------------------------------------------------------------------------
22 product, so traces and their associated tools are volatile and may change
200 # Special case - None candidates for 0 partition
236 # Special case for constant color blocks - no trial candidates
241 errorval = candidate.refinement_errors[-1]
351 # -------------------------------------------------------------------------
358 print(" - Block size: %ux%ux%u" % dat)
361 print(" - Block size: %ux%u" % dat)
365 # -------------------------------------------------------------------------
374 ranges.append(block.ldr_max[i] - block.ldr_min[i])
385 dat = (key, key + RANGE_QUANT - 1, result[key])
386 print(" - %3u-%3u dynamic range = %6u blocks" % dat)
390 # -------------------------------------------------------------------------
404 print(" - %u partition(s) = %6u blocks / %4u indicies" % dat)
408 # -------------------------------------------------------------------------
426 print(" - %u partition(s) %u plane(s) = %6u blocks" % dat)
431 print(" - %s plane = %6u blocks" % dat)
435 # -------------------------------------------------------------------------
461 print(" - Note: data merging grid rotations")
470 print(" - %ux%u weights = %6u blocks" % dat)
476 print(" - %2u quant range = %6u blocks" % dat)
480 # -------------------------------------------------------------------------
491 # Ignore zero partition blocks - they don't use refinement
497 end_error = candidate.refinement_errors[-1]
499 rpf = float(start_error - end_error) / float(len(candidate.refinement_errors))
518 print(" - %u refinements(s)" % total_count)
519 print(" - %u refinements(s) improved" % better_count)
520 print(" - %u refinements(s) worsened" % (total_count - better_count))
521 print(" - %u refinements(s) could hit target, but didn't" % could_have_count)
522 print(" - %u refinements(s) hit target" % success_count)
523 print(" - %f mean step improvement" % np.mean(refinement_step))
551 db = generate_database(data)
552 filter_database(db)
554 generate_feature_statistics(db)