High-efficiency floating-point neural network inference operators for mobile, server, and Web
This report presents the forensic synthetic code analysis of google/XNNPACK, a C project with 2,391 GitHub stars. SynthScan v2.0 examined 2,501,440 lines of code across 9554 source files, recording 10230 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 10230 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/utils.h | 1 | // Copyright 2019-2025 Google LLC | COMMENT |
| LOW | bench/gemm.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | bench/dconv.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | bench/f16-gemm-minmax.c | 1 | // clang-format off | COMMENT |
| LOW | bench/packw-benchmark.h | 1 | // Copyright 2023-2025 Google LLC | COMMENT |
| LOW | bench/dwconv.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | bench/packq-benchmark.h | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | bench/gemm-benchmark.h | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | bench/conv.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | bench/subgraph/simple_scheduler.h | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | tools/generate-ibilinear-test.py | 281 | raise ValueError("expected a list of micro-kernels in the spec") | COMMENT |
| LOW | tools/generate-reduce-discontiguous-test.py | 441 | // Copyright 2024 Google LLC | COMMENT |
| LOW | tools/generate-argmaxpool-test.py | 661 | // This source code is licensed under the BSD-style license found in the | COMMENT |
| LOW | tools/generate-vunary-test.py | 241 | // | COMMENT |
| LOW | tools/generate-conv-hwc-test.py | 481 | with codecs.open(options.spec, "r", encoding="utf-8") as spec_file: | COMMENT |
| LOW | tools/generate-ibilinear-chw-test.py | 201 | with codecs.open(options.spec, "r", encoding="utf-8") as spec_file: | COMMENT |
| LOW | tools/generate-reduce-test.py | 241 | }[options.tester] | COMMENT |
| LOW | tools/generate-dwconv-test.py | 261 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | tools/generate-gemm-test.py | 941 | // Specification: {specification} | COMMENT |
| LOW | tools/generate-gemm-test.py | 961 | #include "test/gemm-microkernel-tester.h" | COMMENT |
| LOW | test/maxpool-microkernel-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/conv-hwc2chw-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/unary-ops.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/unary-ops.h | 21 | #include "src/xnnpack/common.h" | COMMENT |
| LOW | test/unpool-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/lut-microkernel-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/conv-hwc-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/vcmul-microkernel-tester.h | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | test/f16-conv-hwc2chw.yaml | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | test/packq-microkernel-tester.h | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | test/replicable_random_device.h | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | test/dwconv-microkernel-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/dwconv2d-microkernel-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/vunary-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/vunary-microkernel-tester.h | 21 | COMMENT | |
| LOW | test/raddstoreexpminusmax-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/ibilinear-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/packw-microkernel-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/pack-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/vmulcaddc-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/packb-microkernel-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/argmaxpool-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/raddexpminusmax-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/f32-argmaxpool.yaml | 1 | # Copyright 2019 Google LLC | COMMENT |
| LOW | test/gemm-microkernel-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/vbinary-microkernel-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/operators/transpose-normalization-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/operators/resize-bilinear-operator-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/operators/max-pooling-operator-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/operators/slice-normalization-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/operators/unpooling-operator-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/operators/transpose-operator-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/operators/slice-operator-tester.h | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | test/operators/depth-to-space-operator-tester.h | 1 | // Copyright 2020 Google LLC | COMMENT |
| LOW | test/operators/argmax-pooling-operator-tester.h | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | test/operators/rope-operator-tester.h | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | test/operators/fully-connected-operator-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/operators/fully-connected-operator-tester.h | 21 | COMMENT | |
| LOW | test/operators/deconvolution-operator-tester.h | 1 | // Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | test/operators/deconvolution-operator-tester.h | 21 | #include <random> | COMMENT |
| 9998 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/generate-dwconv2d-chw-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-raddstoreexpminusmax-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-ibilinear-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-raddexpminusmax-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-reduce-discontiguous-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-argmaxpool-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-conv-hwc2chw-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-conv-hwc-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-ibilinear-chw-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-reduce-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | tools/generate-lut-test.py | 0 | \ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int4_int32.py | 0 | int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int2_int32.py | 0 | int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int8_int32.py | 0 | int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int4_int32.py | 0 | c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{j | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int2_int32.py | 0 | c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{j | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int8_int32.py | 0 | c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{j | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int4_int32.py | 0 | c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32 | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int2_int32.py | 0 | c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32 | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int8_int32.py | 0 | c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32 | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int4_int32.py | 0 | vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j}); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int2_int32.py | 0 | vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j}); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int8_int32.py | 0 | vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j}); | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int4_int32.py | 0 | int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32( | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int2_int32.py | 0 | int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32( | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_int8_int8_int32.py | 0 | int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32( | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_fp32_k4.py | 0 | specializations for fp32 x86 dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_fp32.py | 0 | specializations for fp32 x86 dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_fp32_k2.py | 0 | specializations for fp32 x86 dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_bf16_bf16_fp32.py | 0 | specializations for fp32 arm dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_fp32.py | 0 | specializations for fp32 arm dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm_bf16_bf16_fp32_k2.py | 0 | specializations for fp32 arm dot kernel generators. | STRING |
| HIGH | …npack/kernels/dot/generator/x86_int8_int8_int32_k16.py | 0 | specializations for int8 x86 dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_int8_int8_int32.py | 0 | specializations for int8 x86 dot kernel generators. | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_int8_int8_int32_k1.py | 0 | specializations for int8 x86 dot kernel generators. | STRING |
| HIGH | …npack/kernels/dot/generator/x86_int8_int8_int32_k16.py | 0 | namespace { ynn_intrinsic int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(int | STRING |
| HIGH | …pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py | 0 | namespace { ynn_intrinsic int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(int | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86_int8_int8_int32.py | 0 | namespace { ynn_intrinsic int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(int | STRING |
| HIGH | ynnpack/kernels/dot/generator/arm.py | 0 | base class for x86 dot kernel generators. handles accumulating c tiles to the output. | STRING |
| HIGH | ynnpack/kernels/dot/generator/wasm.py | 0 | base class for x86 dot kernel generators. handles accumulating c tiles to the output. | STRING |
| HIGH | ynnpack/kernels/dot/generator/x86.py | 0 | base class for x86 dot kernel generators. handles accumulating c tiles to the output. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generate-raddstoreexpminusmax-test.py | 9 | CODE | |
| LOW | tools/generate-raddexpminusmax-test.py | 9 | CODE | |
| LOW | tools/generate-vbinary-test.py | 8 | CODE | |
| LOW | tools/generate-vbinary-test.py | 9 | CODE | |
| LOW | tools/generate-vbinary-test.py | 11 | CODE | |
| LOW | tools/generate-vbinary-test.py | 13 | CODE | |
| LOW | tools/generate-reduce-discontiguous-test.py | 9 | CODE | |
| LOW | tools/xngen.py | 11 | CODE | |
| LOW | tools/generate-argmaxpool-test.py | 9 | CODE | |
| LOW | tools/generate-reduce-test.py | 9 | CODE | |
| LOW | tools/generate-lut-test.py | 9 | CODE | |
| LOW | gemm_compiler/generate_f32_gemm_microkernels.py | 8 | CODE | |
| LOW | gemm_compiler/generate.py | 7 | CODE | |
| LOW | gemm_compiler/generate.py | 8 | CODE | |
| LOW | scripts/generate-build-identifier.py | 13 | CODE | |
| LOW | scripts/generate-build-identifier.py | 14 | CODE | |
| LOW | ynnpack/kernels/ternary/convert.py | 4 | CODE | |
| LOW | ynnpack/kernels/ternary/generator.py | 14 | CODE | |
| LOW | ynnpack/kernels/ternary/generator.py | 15 | CODE | |
| LOW | ynnpack/kernels/ternary/kernels.py | 4 | CODE | |
| LOW | ynnpack/kernels/unary/tanh.py | 10 | CODE | |
| LOW | ynnpack/kernels/unary/log.py | 5 | CODE | |
| LOW | ynnpack/kernels/unary/convert.py | 4 | CODE | |
| LOW | ynnpack/kernels/unary/erf.py | 5 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 14 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 15 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 16 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 17 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 18 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 19 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 20 | CODE | |
| LOW | ynnpack/kernels/unary/generator.py | 21 | CODE | |
| LOW | ynnpack/kernels/unary/kernels.py | 3 | CODE | |
| LOW | ynnpack/kernels/unary/kernels.py | 7 | CODE | |
| LOW | ynnpack/kernels/unary/sigmoid.py | 5 | CODE | |
| LOW | ynnpack/kernels/unary/exp.py | 5 | CODE | |
| LOW | ynnpack/kernels/unary/sine_cosine.py | 14 | CODE | |
| LOW | ynnpack/kernels/elementwise/hexagon.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/hexagon.py | 5 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler_test.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 11 | CODE | |
| LOW | ynnpack/kernels/elementwise/rules.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/arm.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/arm.py | 5 | CODE | |
| LOW | ynnpack/kernels/elementwise/generator.py | 7 | CODE | |
| LOW | ynnpack/kernels/elementwise/generator.py | 8 | CODE | |
| LOW | ynnpack/kernels/elementwise/generator.py | 9 | CODE | |
| LOW | ynnpack/kernels/elementwise/generator.py | 10 | CODE | |
| LOW | ynnpack/kernels/elementwise/wasm.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/wasm.py | 5 | CODE | |
| LOW | ynnpack/kernels/elementwise/x86.py | 4 | CODE | |
| LOW | ynnpack/kernels/elementwise/x86.py | 5 | CODE | |
| LOW | ynnpack/kernels/binary/generator.py | 13 | CODE | |
| LOW | ynnpack/kernels/binary/kernels.py | 4 | CODE | |
| LOW | ynnpack/base/simd/rational_approximation.py | 194 | CODE | |
| LOW | ynnpack/base/simd/rational_approximation.py | 213 | CODE | |
| LOW | ynnpack/base/simd/rational_approximation.py | 231 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/parse-microkernel-bench.py | 55 | CODE | |
| LOW | tools/parse-microkernel-bench.py | 93 | CODE | |
| LOW | tools/xnncommon.py | 181 | CODE | |
| LOW | tools/update-microkernels.py | 160 | CODE | |
| LOW | tools/generate-gemm-test.py | 700 | CODE | |
| LOW | tools/generate-gemm-test.py | 905 | CODE | |
| LOW | gemm_compiler/x64_template.py | 469 | CODE | |
| LOW | gemm_compiler/aarch32_template.py | 114 | CODE | |
| LOW | scripts/check_files_changed.py | 7 | CODE | |
| LOW | scripts/check_config.py | 29 | CODE | |
| LOW | scripts/sort-filenames.py | 22 | CODE | |
| LOW | ynnpack/kernels/dot/generator/arm.py | 98 | CODE | |
| LOW | ynnpack/kernels/dot/generator/wasm.py | 98 | CODE | |
| LOW | ynnpack/kernels/dot/generator/dot_base.py | 273 | CODE | |
| LOW | ynnpack/kernels/dot/generator/x86.py | 204 | CODE | |
| LOW | ynnpack/kernels/dot/generator/x86.py | 262 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 944 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 40 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 77 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1114 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1189 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1271 | CODE | |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1417 | CODE | |
| LOW | ynnpack/kernels/elementwise/x86.py | 37 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/xnncommon.py | 50 | "neondotfp16arith": "XNN_ENABLE_ARM_DOTPROD && XNN_ENABLE_ARM_FP16_VECTOR", | CODE |
| HIGH | tools/xnncommon.py | 52 | "neoni8mmbf16": "XNN_ENABLE_ARM_I8MM && XNN_ENABLE_ARM_BF16", | CODE |
| HIGH | ynnpack/kernels/dot/generator/dot_base.py | 148 | assert(B_stride_k1 % {self.b_tile_stride_k()} == 0 || K1 == 1); | CODE |
| HIGH | ynnpack/kernels/elementwise/compiler.py | 1628 | f"stride_{b.name}_n == 0 || stride_{b.name}_n == {b.ty.size // 8}" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/xngen.py | 46 | def extract_leading_whitespace(line): | CODE |
| LOW | tools/xnncommon.py | 15 | def _remove_duplicate_newlines(text): | CODE |
| LOW | tools/update-microkernels.py | 138 | def write_grouped_microkernels_bzl(file, key, microkernels, prefix, suffix): | CODE |
| LOW | tools/update-microkernels.py | 149 | def write_grouped_microkernels_cmake(file, key, microkernels, prefix, suffix): | CODE |
| LOW | tools/update-microkernels.py | 465 | def non_prod_asm_srcs_for_arch(arch): | STRING |
| LOW | gemm_compiler/x64_template.py | 203 | def quantization_params_offset(self): | CODE |
| LOW | gemm_compiler/x64_template.py | 212 | def input_output_register_setup(self): | CODE |
| LOW | gemm_compiler/base_architecture.py | 193 | def input_output_register_setup(self): | CODE |
| LOW | gemm_compiler/arm_template.py | 29 | def input_output_register_setup(self): | CODE |
| LOW | gemm_compiler/generate.py | 13 | def generate_gemm_microkernel( | CODE |
| LOW | gemm_compiler/aarch32_template.py | 169 | def extend_inputs_and_weights(self): | CODE |
| LOW | gemm_compiler/neonmlal_aarch32_template.py | 79 | def quantization_params_register(self): | CODE |
| LOW | gemm_compiler/neondot_template.py | 76 | def quantization_params_register(self): | CODE |
| LOW | gemm_compiler/avx512vnni_template.py | 81 | def quantization_params_register(self): | CODE |
| LOW | gemm_compiler/avx512vnni_template.py | 149 | def quantization_params_offset(self): | STRING |
| LOW | gemm_compiler/avx512vnni_template.py | 399 | def quantization_params_offset(self): | CODE |
| LOW | ynnpack/kernels/dot/generator/dot_base.py | 552 | def generate_dot_kernels_impl( | CODE |
| LOW | ynnpack/kernels/elementwise/compiler.py | 612 | def rounding_narrowing_shift_right(x, shift): | CODE |
| LOW | ynnpack/kernels/elementwise/rules.py | 23 | def add_saturating_cast_rules(): | CODE |
| LOW | ynnpack/kernels/elementwise/generator.py | 33 | def generate_elementwise_kernels( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gemm_compiler/avx512vnni_template.py | 405 | # mask register is unused here, just use that one. | COMMENT |
| MEDIUM | test/operators/batch-matrix-multiply-operator-tester.h | 1260 | // equal. For a more nuanced estimate, we could/should compute and apply the | COMMENT |
| LOW | ynnpack/kernels/dot/generator/dot_base.py | 219 | # We assume that we can just use load_a_tile. | COMMENT |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1460 | # If there is no broadcasting for this b we can just use | COMMENT |
| MEDIUM | ynnpack/base/half.h | 15 | // known to be at least a robust f16<->f32 conversion, which generally means a | COMMENT |
| MEDIUM | src/xnnpack/math.h | 512 | // known to be at least a robust f16<->f32 conversion, which generally means a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | litert/tensor/backends/testing/README.md | 30 | ### Step 1: Implement `TestBackendBridge` | COMMENT |
| LOW | litert/tensor/backends/testing/README.md | 83 | ### Step 2: Define Backend Traits | COMMENT |
| LOW | litert/tensor/backends/testing/README.md | 97 | ### Step 3: Instantiate the Suite | COMMENT |
| LOW | litert/tensor/backends/testing/README.md | 113 | ### Step 4: Update the BUILD target | COMMENT |
| LOW⚡ | src/subgraph.c | 693 | // Step 1: detect NCHW-compatible Nodes | COMMENT |
| LOW⚡ | src/subgraph.c | 694 | // Step 2: detect NCHW-compatible clusters (run connected components graph | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ynnpack/kernels/reduce/sum.h | 205 | // In this implementation, there are some details to the above: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gemm_compiler/avx512f_template.py | 384 | # Check if channels are odd. | COMMENT |
| LOW | gemm_compiler/avx512bf16_template.py | 66 | # Check if channels are odd. | COMMENT |
| LOW | ynnpack/kernels/elementwise/compiler.py | 1193 | # Check if we already lifted this constant. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/subgraph.c | 693 | // Step 1: detect NCHW-compatible Nodes | COMMENT |
| LOW⚡ | src/subgraph.c | 694 | // Step 2: detect NCHW-compatible clusters (run connected components graph | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/replicable_random_device.h | 147 | // Usage example: | COMMENT |
| LOW | ynnpack/base/test/fuzz_test.h | 99 | // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/run-gn-tests.py | 182 | # Create the list of tests to run, sharding the long ones. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/operators/fingerprint_id.h | 75 | // ├─────┼─────┼─────┼─────┼───────┤ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/parse-microkernel-bench.py | 103 | except Exception: | CODE |
| MEDIUM | tools/generate-gemm-test.py | 1043 | print(f"Error: k_block ({k_block}) must be >= kr * sr ({kr} * {sr}) for kernel {name} in {options.spec}") | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …npack/kernels/dot/generator/x86_int8_int8_int32_k16.py | 57 | CODE | |
| LOW | …pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py | 53 | CODE |