Views
No views yet
dimensionSpecificity:[bool]armnn::MaxNumOfTensorDimensions, which is 5. The provided .armnn artifact is structurally valid FlatBuffers data but sets dimensionSpecificity to 64 booleans on a one-dimensional input tensor. A focused C++ harness mirroring the Arm NN copy loop confirms the verifier/runtime semantic mismatch by trapping on index 5 of bool[5].armnn_dim_specificity_oob.armnn: benign Arm NN FlatBuffers artifact.armnn_dim_specificity_oob.json: source JSON used to build the artifact.ArmnnSchema.fbs: Arm NN schema snapshot used for artifact generation.flatc_roundtrip.json: flatc -t --raw-binary output from the artifact.verify_poc.py: lightweight local verifier for artifact hash, size, and optional flatc roundtrip.verify_armnn_dimension_specificity.cpp: focused C++ harness that mirrors the Arm NN copy loop.harness_stdout.txt / harness_stderr.txt: captured harness result.modelscan_output.txt: captured ModelScan output.results.json: machine-readable summary.python verify_poc.pyflatc is installed:FLATC=/path/to/flatc python verify_poc.py1flatc --cpp -o generated ArmnnSchema.fbs
2python -m ziglang c++ -std=c++17 -w -O0 -I/path/to/flatbuffers/include -Igenerated verify_armnn_dimension_specificity.cpp -o verify_armnn_dimension_specificity
3./verify_armnn_dimension_specificity armnn_dim_specificity_oob.armnn1flatbuffers_verifier=PASS
2dimensions_size=1
3dimensionSpecificity_size=64
4thread ... panic: index 5 out of bounds for type 'bool[5]'.armnn artifact:1"total_issues": 0
2"scanned": {"total_scanned": 0}f8beb5a9d50451dd06c804d6f7bbf8832f958125flatc: 25.12.190.8.83.13.131SHA256: 9d01bfbed64946b533f26dbac0a47957ecb33e75d4a209626e7cdc240f122907
2Size: 500 bytesdimensionSpecificity vectors longer than armnn::MaxNumOfTensorDimensions before copying, and reject tensors whose dimensions and dimensionSpecificity lengths differ when dimensionSpecificity is present.