repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-scalar-c4.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/ibil... | 4,633 | 35.488189 | 77 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-sse2-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#... | 10,240 | 47.306604 | 99 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-sse2-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#... | 6,265 | 41.62585 | 99 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-sse41-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#... | 8,496 | 45.431694 | 99 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-sse41-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#... | 5,378 | 40.061069 | 99 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-wasmsimd-dot16x2-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/wasmsimd-dot16x2.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wa... | 8,337 | 45.322222 | 132 | c |
XNNPACK | XNNPACK-master/src/s8-ibilinear/gen/s8-ibilinear-wasmsimd-dot16x2-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/wasmsimd-dot16x2.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wa... | 5,235 | 39.589147 | 132 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-2p2x-minmax-neon-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/maxpool.h>
void xnn_s8_maxpool_minmax_ukernel_2p2x__neon_c16(
size_t output_pixels,
... | 4,081 | 29.462687 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-4p3x-minmax-neon-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/maxpool.h>
void xnn_s8_maxpool_minmax_ukernel_4p3x__neon_c16(
size_t output_pixels,
... | 5,158 | 31.043478 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-9p8x-minmax-neon-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/maxpool.h>
void xnn_s8_maxpool_minmax_ukernel_9p8x__neon_c16(
size_t output_pixels,
... | 8,603 | 33.278884 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-9p8x-minmax-scalar-c1.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/math.h>
#include <xnnpack/maxpool.h>
void xnn_s8_maxpool_minmax_ukernel_9p8x__scalar_c1(
size_t output_pixels,... | 5,588 | 30.755682 | 74 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-9p8x-minmax-sse2-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/maxpool.h>
#include <xnnpack/unaligned.h>
void xnn_s8_maxpool_minmax_ukernel_9p8x__sse2_c1... | 10,960 | 37.868794 | 100 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-9p8x-minmax-sse41-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#include <xnnpack/maxpool.h>
#include <xnnpack/unaligned.h>
void xnn_s8_maxpool_minmax_ukernel_9p8x__sse41_c... | 9,653 | 36.130769 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-maxpool/s8-maxpool-9p8x-minmax-wasmsimd-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wasm_simd128.h>
#include <xnnpack/maxpool.h>
void xnn_s8_maxpool_minmax_ukernel_9p8x__wasmsimd_c16(
size_t output_pix... | 8,994 | 31.59058 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-vclamp/s8-vclamp-neon-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/vunary.h>
void xnn_s8_vclamp_ukernel__neon_x64(
size_t batch,
const int8_t* input,
... | 2,212 | 28.506667 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-vclamp/s8-vclamp-scalar-x4.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/math.h>
#include <xnnpack/vunary.h>
void xnn_s8_vclamp_ukernel__scalar_x4(
size_t batch,
const int8_t* inp... | 1,612 | 25.442623 | 74 | c |
XNNPACK | XNNPACK-master/src/s8-vclamp/s8-vclamp-sse2-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/unaligned.h>
#include <xnnpack/vunary.h>
void xnn_s8_vclamp_ukernel__sse2_x64(
size_t ... | 3,357 | 32.247525 | 100 | c |
XNNPACK | XNNPACK-master/src/s8-vclamp/s8-vclamp-sse41-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#include <xnnpack/unaligned.h>
#include <xnnpack/vunary.h>
void xnn_s8_vclamp_ukernel__sse41_x64(
size_t... | 2,636 | 29.662791 | 88 | c |
XNNPACK | XNNPACK-master/src/s8-vclamp/s8-vclamp-wasmsimd-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wasm_simd128.h>
#include <xnnpack/vunary.h>
void xnn_s8_vclamp_ukernel__wasmsimd_x64(
size_t batch,
const int8_t*... | 2,407 | 27.329412 | 88 | c |
XNNPACK | XNNPACK-master/src/subgraph/abs.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 5,931 | 29.111675 | 125 | c |
XNNPACK | XNNPACK-master/src/subgraph/add2.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 11,965 | 34.090909 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/argmax-pooling-2d.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 8,203 | 34.362069 | 122 | c |
XNNPACK | XNNPACK-master/src/subgraph/average-pooling-2d.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/... | 10,495 | 34.221477 | 118 | c |
XNNPACK | XNNPACK-master/src/subgraph/bankers-rounding.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,276 | 30.542714 | 125 | c |
XNNPACK | XNNPACK-master/src/subgraph/batch-matrix-multiply.c | // Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 12,961 | 36.900585 | 119 | c |
XNNPACK | XNNPACK-master/src/subgraph/ceiling.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,042 | 29.366834 | 116 | c |
XNNPACK | XNNPACK-master/src/subgraph/clamp.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 9,203 | 31.522968 | 116 | c |
XNNPACK | XNNPACK-master/src/subgraph/concatenate.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/params.h>
#include <... | 24,210 | 31.89538 | 122 | c |
XNNPACK | XNNPACK-master/src/subgraph/copy.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/subgraph.h>
#include... | 7,974 | 30.031128 | 115 | c |
XNNPACK | XNNPACK-master/src/subgraph/depth-to-space.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/... | 11,296 | 33.129909 | 114 | c |
XNNPACK | XNNPACK-master/src/subgraph/divide.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h... | 8,905 | 32.607547 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/elu.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 7,668 | 30.302041 | 125 | c |
XNNPACK | XNNPACK-master/src/subgraph/even-split.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stdint.h> // For size_t.
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/para... | 24,490 | 32.50342 | 117 | c |
XNNPACK | XNNPACK-master/src/subgraph/floor.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 5,990 | 29.105528 | 114 | c |
XNNPACK | XNNPACK-master/src/subgraph/global-average-pooling.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 13,108 | 33.497368 | 126 | c |
XNNPACK | XNNPACK-master/src/subgraph/global-sum-pooling.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 8,145 | 30.210728 | 126 | c |
XNNPACK | XNNPACK-master/src/subgraph/hardswish.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,094 | 29.628141 | 118 | c |
XNNPACK | XNNPACK-master/src/subgraph/max-pooling-2d.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 15,217 | 36.026764 | 118 | c |
XNNPACK | XNNPACK-master/src/subgraph/maximum2.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 8,536 | 32.743083 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/minimum2.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 8,536 | 32.743083 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/multiply2.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 12,275 | 34.174785 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/negate.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,016 | 29.236181 | 115 | c |
XNNPACK | XNNPACK-master/src/subgraph/prelu.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 7,625 | 30.643154 | 115 | c |
XNNPACK | XNNPACK-master/src/subgraph/rope.c | // Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 7,050 | 31.795349 | 123 | c |
XNNPACK | XNNPACK-master/src/subgraph/sigmoid.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 8,358 | 30.543396 | 119 | c |
XNNPACK | XNNPACK-master/src/subgraph/softmax.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,315 | 29.512077 | 116 | c |
XNNPACK | XNNPACK-master/src/subgraph/space-to-depth-2d.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/... | 9,144 | 31.895683 | 111 | c |
XNNPACK | XNNPACK-master/src/subgraph/square-root.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,241 | 30.054726 | 120 | c |
XNNPACK | XNNPACK-master/src/subgraph/square.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 6,016 | 29.236181 | 115 | c |
XNNPACK | XNNPACK-master/src/subgraph/squared-difference.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 8,824 | 33.881423 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-constant-pad.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <xnnpack/operator.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <fp16/fp16.h>
#include <xnnpack.h>
#... | 8,975 | 30.94306 | 115 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-mean.c | // Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h... | 7,835 | 31.786611 | 127 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-reshape.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 8,154 | 30.365385 | 125 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-resize-bilinear-2d.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 12,413 | 33.198347 | 125 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-slice.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
#include <xnnpack/subgraph.h>
#include... | 9,955 | 33.811189 | 124 | c |
XNNPACK | XNNPACK-master/src/subgraph/static-transpose.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h... | 8,623 | 29.58156 | 116 | c |
XNNPACK | XNNPACK-master/src/subgraph/subtract.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <... | 12,193 | 34.654971 | 129 | c |
XNNPACK | XNNPACK-master/src/subgraph/tanh.c | // Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/operator.h>
... | 8,250 | 30.135849 | 119 | c |
XNNPACK | XNNPACK-master/src/subgraph/unpooling-2d.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/params.h>
#i... | 7,996 | 33.619048 | 121 | c |
XNNPACK | XNNPACK-master/src/subgraph/validation.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <math.h>
#include <xnnpack.h>
#include <xnnpack/log.h>
#include <xnnpack/params.h>
#include <xnnpack/subgraph.h>
#include <xn... | 8,780 | 36.365957 | 119 | c |
XNNPACK | XNNPACK-master/src/tables/exp2-k-over-64.c | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <xnnpack/common.h>
// Table of exp2(k / 64) values, k = 0..63
XNN_INTERNAL const float xnn_table_exp2_k_over_64[64] = {
0x1.000000p+0f, 0x1.02... | 1,355 | 47.428571 | 72 | c |
XNNPACK | XNNPACK-master/src/tables/exp2minus-k-over-16.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <stdint.h>
#include <xnnpack/common.h>
// Table of exp2(k / 16) values decremented (as integer) by (k << 19), k = 0..15
XNN_INTERNAL const uint... | 562 | 34.1875 | 97 | c |
XNNPACK | XNNPACK-master/src/tables/exp2minus-k-over-32.c | // Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <stdint.h>
#include <xnnpack/common.h>
// Table of exp2(k / 32) values decremented (as integer) by (k << 18), k = 0..31
XNN_INTERNAL const uint... | 758 | 41.166667 | 97 | c |
XNNPACK | XNNPACK-master/src/tables/exp2minus-k-over-64.c | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <stdint.h>
#include <xnnpack/common.h>
// Table of exp2(k / 64) values decremented (as integer) by (k << 17), k = 0..63
XNN_INTERNAL const uint... | 1,150 | 51.318182 | 97 | c |
XNNPACK | XNNPACK-master/src/tables/vlog.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <stdint.h>
#include <xnnpack/common.h>
// Log2 table of 128 fractional segments.
XNN_INTERNAL const uint16_t xnn_table_vlog[129] = {
0, 22... | 1,100 | 46.869565 | 97 | c |
XNNPACK | XNNPACK-master/src/u32-filterbank-accumulate/gen/u32-filterbank-accumulate-neon-x1.c | // Auto-generated file. Do not edit!
// Template: src/u32-filterbank-accumulate/neon.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <st... | 1,792 | 27.460317 | 100 | c |
XNNPACK | XNNPACK-master/src/u32-filterbank-accumulate/gen/u32-filterbank-accumulate-neon-x2.c | // Auto-generated file. Do not edit!
// Template: src/u32-filterbank-accumulate/neon.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <st... | 2,181 | 29.305556 | 100 | c |
XNNPACK | XNNPACK-master/src/u32-filterbank-accumulate/gen/u32-filterbank-accumulate-scalar-x1.c | // Auto-generated file. Do not edit!
// Template: src/u32-filterbank-accumulate/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <... | 1,737 | 23.478873 | 72 | c |
XNNPACK | XNNPACK-master/src/u32-filterbank-subtract/u32-filterbank-subtract-scalar-x2.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <xnnpack/math.h>
#include <xnnpack/filterbank.h>
void xnn_u32_filterbank_subtract_u... | 2,516 | 35.478261 | 134 | c |
XNNPACK | XNNPACK-master/src/u32-vlog/gen/u32-vlog-scalar-x1.c | // Auto-generated file. Do not edit!
// Template: src/u32-vlog/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 2,178 | 29.690141 | 99 | c |
XNNPACK | XNNPACK-master/src/u32-vlog/gen/u32-vlog-scalar-x2.c | // Auto-generated file. Do not edit!
// Template: src/u32-vlog/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 2,887 | 31.088889 | 100 | c |
XNNPACK | XNNPACK-master/src/u32-vlog/gen/u32-vlog-scalar-x3.c | // Auto-generated file. Do not edit!
// Template: src/u32-vlog/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 3,204 | 32.385417 | 100 | c |
XNNPACK | XNNPACK-master/src/u32-vlog/gen/u32-vlog-scalar-x4.c | // Auto-generated file. Do not edit!
// Template: src/u32-vlog/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 3,521 | 33.529412 | 100 | c |
XNNPACK | XNNPACK-master/src/u64-u32-vsqrtshift/u64-u32-vsqrtshift-scalar-cvtu32-sqrt-cvtu32f64-x1.c | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <math.h>
#include <xnnpack/math.h>
#include <xnnpack/vunary.h>
void xnn_u64_u32_vsq... | 1,807 | 26.393939 | 94 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-scalar-c1.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/ibil... | 2,001 | 28.441176 | 79 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-scalar-c2.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/ibil... | 3,406 | 32.07767 | 79 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-scalar-c4.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/ibil... | 4,652 | 35.637795 | 79 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-sse2-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#... | 9,990 | 45.469767 | 99 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-sse2-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#... | 6,169 | 40.409396 | 99 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-sse41-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#... | 8,517 | 45.546448 | 99 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-sse41-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <smmintrin.h>
#... | 5,396 | 40.198473 | 99 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-wasmsimd-dot16x2-c16.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/wasmsimd-dot16x2.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wa... | 8,355 | 45.422222 | 132 | c |
XNNPACK | XNNPACK-master/src/u8-ibilinear/gen/u8-ibilinear-wasmsimd-dot16x2-c8.c | // Auto-generated file. Do not edit!
// Template: src/s8-ibilinear/wasmsimd-dot16x2.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wa... | 5,251 | 39.713178 | 132 | c |
XNNPACK | XNNPACK-master/src/u8-lut32norm/u8-lut32norm-scalar.c | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <fxdiv.h>
#include <xnnpack/lut.h>
static i... | 1,116 | 20.480769 | 85 | c |
XNNPACK | XNNPACK-master/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/maxpool.h>
v... | 8,797 | 34.192 | 88 | c |
XNNPACK | XNNPACK-master/src/u8-maxpool/u8-maxpool-9p8x-minmax-scalar-c1.c | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/math.h>
#include <xnnpack/maxpool.h>
void xnn_u8_maxpool_minmax_ukernel_9p8x__scalar_c1(
size_t output_pixels,... | 5,661 | 31.170455 | 74 | c |
XNNPACK | XNNPACK-master/src/u8-maxpool/u8-maxpool-9p8x-minmax-sse2-c16.c | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/maxpool.h>
#i... | 9,772 | 36.159696 | 88 | c |
XNNPACK | XNNPACK-master/src/u8-maxpool/u8-maxpool-9p8x-minmax-wasmsimd-c16.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wasm_simd128.h>
#include <xnnpack/maxpool.h>
void xnn_u8_maxpool_minmax_ukernel_9p8x__wasmsimd_c16(
size_t output_pix... | 9,033 | 31.731884 | 88 | c |
XNNPACK | XNNPACK-master/src/u8-rmax/u8-rmax-neon.c | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/rmax.h>
void... | 1,437 | 26.132075 | 72 | c |
XNNPACK | XNNPACK-master/src/u8-rmax/u8-rmax-scalar.c | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/rmax.h>
void xnn_u8_rmax_ukernel__scalar(
size_t batch,
const uint8_t* input,
uint8_t* output)
{
ass... | 868 | 21.868421 | 72 | c |
XNNPACK | XNNPACK-master/src/u8-rmax/u8-rmax-sse2.c | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/rmax.h>
voi... | 1,469 | 26.222222 | 72 | c |
XNNPACK | XNNPACK-master/src/u8-vclamp/u8-vclamp-neon-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h>
#include <xnnpack/vunary.h>
void xnn_u8_vclamp_ukernel__neon_x64(
size_t batch,
const uint8_t* input,... | 2,223 | 28.653333 | 88 | c |
XNNPACK | XNNPACK-master/src/u8-vclamp/u8-vclamp-scalar-x4.c | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/math.h>
#include <xnnpack/vunary.h>
void xnn_u8_vclamp_ukernel__scalar_x4(
size_t batch,
const uint8_t* in... | 1,635 | 25.819672 | 74 | c |
XNNPACK | XNNPACK-master/src/u8-vclamp/u8-vclamp-sse2-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/unaligned.h>
#include <xnnpack/vunary.h>
void xnn_u8_vclamp_ukernel__sse2_x64(
size_t ... | 2,639 | 29.697674 | 88 | c |
XNNPACK | XNNPACK-master/src/u8-vclamp/u8-vclamp-wasmsimd-x64.c | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wasm_simd128.h>
#include <xnnpack/vunary.h>
void xnn_u8_vclamp_ukernel__wasmsimd_x64(
size_t batch,
const uint8_t... | 2,410 | 27.364706 | 88 | c |
XNNPACK | XNNPACK-master/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-x4-prfm.c | // Auto-generated file. Do not edit!
// Template: src/x16-packw/neon.c.in
// Generator: tools/xngen
//
// Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 23,585 | 46.648485 | 84 | c |
XNNPACK | XNNPACK-master/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-x4.c | // Auto-generated file. Do not edit!
// Template: src/x16-packw/neon.c.in
// Generator: tools/xngen
//
// Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 20,301 | 46.104408 | 84 | c |
XNNPACK | XNNPACK-master/src/x16-packw/gen/x16-packw-x16-gemm-goi-scalar-int-x4.c | // Auto-generated file. Do not edit!
// Template: src/x32-packw/scalar.c.in
// Generator: tools/xngen
//
// Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#incl... | 14,523 | 25.552102 | 72 | c |
XNNPACK | XNNPACK-master/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-x12-prfm.c | // Auto-generated file. Do not edit!
// Template: src/x16-packw/neon.c.in
// Generator: tools/xngen
//
// Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 18,677 | 46.047859 | 84 | c |
XNNPACK | XNNPACK-master/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-x12.c | // Auto-generated file. Do not edit!
// Template: src/x16-packw/neon.c.in
// Generator: tools/xngen
//
// Copyright 2023 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <stddef.h>
#includ... | 17,056 | 45.731507 | 84 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.