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/xnnpack/packb.h
// 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. #pragma once #include <stdint.h> #include <stddef.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
1,605
39.15
88
h
XNNPACK
XNNPACK-master/src/xnnpack/packw.h
// 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. #pragma once #include <stdint.h> #include <stddef.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
10,935
68.21519
102
h
XNNPACK
XNNPACK-master/src/xnnpack/packx.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_X32_PACKX_UKER...
1,643
35.533333
78
h
XNNPACK
XNNPACK-master/src/xnnpack/pad.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_PAD_UKERNEL_FU...
1,076
26.615385
72
h
XNNPACK
XNNPACK-master/src/xnnpack/params.h
// 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. #pragma once #include <stdbool.h> #include <stddef.h> #include <stdint.h> ...
916
24.472222
74
h
XNNPACK
XNNPACK-master/src/xnnpack/pavgpool.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
5,882
55.567308
110
h
XNNPACK
XNNPACK-master/src/xnnpack/post-operation.h
// 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. #pragma once #include <stddef.h> // Operators that can be applied post convolution. enum xnn_post_operation_type { xnn_post_operation_type_none, xnn_...
1,055
26.076923
84
h
XNNPACK
XNNPACK-master/src/xnnpack/ppmm.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
3,463
50.701493
110
h
XNNPACK
XNNPACK-master/src/xnnpack/prefetch.h
// 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. #pragma once #ifdef _MSC_VER #include <intrin.h> #endif #include <xnnpack/common.h> XNN_INLINE static void xnn_prefetch_to_l1(const void* address) { ...
952
24.756757
82
h
XNNPACK
XNNPACK-master/src/xnnpack/prelu.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_F16_PRELU_UKER...
6,215
50.8
90
h
XNNPACK
XNNPACK-master/src/xnnpack/quantization.h
// 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. #pragma once #include <assert.h> #include <stdint.h> #include <math.h> #include <xnnpack/math.h> #include <xnnpack/microparams.h> static inline struct x...
1,397
33.097561
92
h
XNNPACK
XNNPACK-master/src/xnnpack/raddexpminusmax.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_F32_RADDEXPMINU...
3,071
56.962264
106
h
XNNPACK
XNNPACK-master/src/xnnpack/raddextexp.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_F32_RADDEXTEXP_...
2,749
50.886792
96
h
XNNPACK
XNNPACK-master/src/xnnpack/raddstoreexpminusmax.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
19,702
90.64186
120
h
XNNPACK
XNNPACK-master/src/xnnpack/reduce.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
11,653
61.994595
88
h
XNNPACK
XNNPACK-master/src/xnnpack/requantization-stubs.h
// 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. #pragma once #include <stdint.h> #include <stddef.h> #ifdef __cplusplus ex...
4,731
41.630631
80
h
XNNPACK
XNNPACK-master/src/xnnpack/rmax.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/com...
1,873
30.233333
72
h
XNNPACK
XNNPACK-master/src/xnnpack/rmaxabs.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_S16_RMAXABS_UK...
1,163
29.631579
72
h
XNNPACK
XNNPACK-master/src/xnnpack/spmm.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
10,898
71.66
101
h
XNNPACK
XNNPACK-master/src/xnnpack/subgraph-validation.h
// 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. #pragma once #include <xnnpack.h> #include <xnnpack/subgraph.h> #ifdef __cplusplus extern "C" { #endif enum xnn_status xnn_subgraph_check_xnnpack_initia...
2,332
32.328571
119
h
XNNPACK
XNNPACK-master/src/xnnpack/subgraph.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack.h> #include <xnnpack/common.h> #include <xnnpack/cache.h> #include <xnnpack/node-t...
15,400
30.366599
120
h
XNNPACK
XNNPACK-master/src/xnnpack/transpose.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
17,178
69.987603
94
h
XNNPACK
XNNPACK-master/src/xnnpack/unaligned.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> XNN_INLINE static uint16_t unaligned_load_u16(const void* address) { ...
3,127
34.545455
97
h
XNNPACK
XNNPACK-master/src/xnnpack/unpool.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_X32_UNPOOL_UKE...
1,015
27.222222
72
h
XNNPACK
XNNPACK-master/src/xnnpack/vadd.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/com...
13,620
58.480349
97
h
XNNPACK
XNNPACK-master/src/xnnpack/vhswish.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
1,901
36.294118
72
h
XNNPACK
XNNPACK-master/src/xnnpack/vlog.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_U32_VLOG_UKERN...
945
26.028571
72
h
XNNPACK
XNNPACK-master/src/xnnpack/vlrelu.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
6,140
45.522727
84
h
XNNPACK
XNNPACK-master/src/xnnpack/vlshift.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_I16_VLSHIFT_UK...
1,217
30.230769
72
h
XNNPACK
XNNPACK-master/src/xnnpack/vmul.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
8,668
55.292208
100
h
XNNPACK
XNNPACK-master/src/xnnpack/vmulcaddc.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
3,971
49.278481
106
h
XNNPACK
XNNPACK-master/src/xnnpack/vscaleexpminusmax.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_F32_VSCALEEXPMI...
3,156
57.462963
105
h
XNNPACK
XNNPACK-master/src/xnnpack/vscaleextexp.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_F32_VSCALEEXTEX...
2,897
52.666667
95
h
XNNPACK
XNNPACK-master/src/xnnpack/vsquareabs.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_CS16_VSQUAREAB...
1,781
38.6
90
h
XNNPACK
XNNPACK-master/src/xnnpack/wasmsimd-gemm-igemm-loadsplat-commons.h
#include <algorithm> #include <wasm_simd128.h> #include <xnnpack/microparams.h> #include <xnnpack/post-operation.h> #include <xnnpack/wasm-assembler.h> namespace xnnpack { namespace internal { class PostOps : public WasmAssembler { public: using WasmAssembler::WasmAssembler; void InitPostOps(const jit_gemm_p...
5,676
31.255682
118
h
XNNPACK
XNNPACK-master/src/xnnpack/window.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/common.h> #ifdef __cplusplus extern "C" { #endif #define DECLARE_S16_WINDOW_UKE...
1,930
36.862745
77
h
XNNPACK
XNNPACK-master/src/xnnpack/zerob.h
// 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. #pragma once #include <stdint.h> #include <stddef.h> #include <xnnpack/common.h> #include <xnnpack/microparams.h> #ifdef __cplusplus extern "C" { #endif...
1,543
38.589744
88
h
XNNPACK
XNNPACK-master/src/xnnpack/zip.h
// 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. #pragma once #include <stddef.h> #include <stdint.h> #include <xnnpack/com...
3,247
36.767442
72
h
XNNPACK
XNNPACK-master/src/xx-fill/xx-fill-neon-x64.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 <arm_neon.h> #include <xnnpack/fill.h> void xnn_xx_fill_ukernel__neon_x64( size_t rows, size_t channels, void*...
2,006
34.839286
106
c
XNNPACK
XNNPACK-master/src/xx-fill/xx-fill-scalar-x16.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 <xnnpack/fill.h> #include <xnnpack/unaligned.h> void xnn_xx_fill_ukernel__scalar_x16( size_t rows, size_t channels,...
1,789
30.403509
72
c
XNNPACK
XNNPACK-master/src/xx-fill/xx-fill-sse2-x64.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 <emmintrin.h> #include <xnnpack/fill.h> #include <xnnpack/unaligned.h> void xnn_xx_fill_ukernel__sse2_x64( size_t rows...
1,972
30.31746
100
c
XNNPACK
XNNPACK-master/src/xx-fill/xx-fill-wasmsimd-x64.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 <wasm_simd128.h> #include <xnnpack/fill.h> #include <xnnpack/unaligned.h> void xnn_xx_fill_ukernel__wasmsimd_x64( size...
1,974
30.349206
72
c
XNNPACK
XNNPACK-master/src/xx-pad/xx-pad-neon.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 <arm_neon.h> #include <xnnpack/pad.h> void xnn_xx_pad_ukernel__neon( size_t rows, size_t channels, size_t pre_...
3,905
36.557692
104
c
XNNPACK
XNNPACK-master/src/xx-pad/xx-pad-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/pad.h> #include <xnnpack/unaligned.h> void xnn_xx_pad_ukernel__scalar( size_t rows, size_t channels, s...
3,544
32.443396
90
c
XNNPACK
XNNPACK-master/src/xx-pad/xx-pad-sse2.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 <emmintrin.h> #include <xnnpack/pad.h> #include <xnnpack/unaligned.h> void xnn_xx_pad_ukernel__sse2( size_t rows, ...
4,071
32.377049
114
c
XNNPACK
XNNPACK-master/src/xx-pad/xx-pad-wasmsimd.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 <wasm_simd128.h> #include <xnnpack/pad.h> #include <xnnpack/unaligned.h> void xnn_xx_pad_ukernel__wasmsimd( size_t row...
3,886
31.123967
90
c
XNNPACK
XNNPACK-master/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.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 <string.h> #include <xnnpack/common.h> #include <xnnpack/math.h> #include <xnnpack/transpose.h> void xnn_xx_transposev_ukern...
1,211
27.186047
87
c
XNNPACK
XNNPACK-master/test/abs-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <memory> #i...
7,785
32.560345
109
h
XNNPACK
XNNPACK-master/test/assembler-helpers.h
// 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. #pragma once #include <algorithm> // clang-format off #define EXPECT_INSTR(expected, actual) ...
1,249
31.894737
111
h
XNNPACK
XNNPACK-master/test/batch-matrix-multiply-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <limits> #i...
5,122
29.313609
117
h
XNNPACK
XNNPACK-master/test/bfly4-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <random> #i...
9,320
35.69685
132
h
XNNPACK
XNNPACK-master/test/channel-shuffle-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
6,689
30.556604
133
h
XNNPACK
XNNPACK-master/test/convolution-test-helpers.h
// 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. #pragma once #include <cstdint> #include <cstddef> #include <vector> namespace xnnpack { void compute_convolution_qs8_reference_results( size_t batch...
6,507
27.924444
72
h
XNNPACK
XNNPACK-master/test/copy-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <limits> #include <random> #...
9,776
34.423913
111
h
XNNPACK
XNNPACK-master/test/elu-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <random> #i...
12,948
33.530667
119
h
XNNPACK
XNNPACK-master/test/fftr-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <random> #i...
5,723
31.896552
103
h
XNNPACK
XNNPACK-master/test/fill-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <array> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional...
3,708
29.401639
119
h
XNNPACK
XNNPACK-master/test/filterbank-accumulate-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <numeric> #...
3,029
29.918367
107
h
XNNPACK
XNNPACK-master/test/filterbank-subtract-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <numeric> #...
5,103
36.529412
124
h
XNNPACK
XNNPACK-master/test/gemm-microkernel-tester.h
// 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. #pragma once #include <cstddef> #include <cstdint> #include <vector> #incl...
9,344
25.398305
115
h
XNNPACK
XNNPACK-master/test/leaky-relu-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
17,305
38.692661
123
h
XNNPACK
XNNPACK-master/test/lut-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <array...
2,714
25.359223
102
h
XNNPACK
XNNPACK-master/test/lut-norm-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
2,662
24.854369
113
h
XNNPACK
XNNPACK-master/test/mock-allocator.h
// 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. #pragma once #include <xnnpack/allocator.h> #include <gmock/gmock.h> namespace xnnpack { class MockAllocator : public xnn_allocator { public: MockAll...
3,229
35.292135
80
h
XNNPACK
XNNPACK-master/test/negate-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <random> #include <vector> ...
7,892
33.168831
115
h
XNNPACK
XNNPACK-master/test/pack-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
2,952
22.814516
95
h
XNNPACK
XNNPACK-master/test/packb-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <numeric> #include <vector> ...
8,146
33.965665
118
h
XNNPACK
XNNPACK-master/test/pad-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <array> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional...
5,972
32.9375
118
h
XNNPACK
XNNPACK-master/test/prelu-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <random> #i...
6,301
31.484536
116
h
XNNPACK
XNNPACK-master/test/prelu-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <fp16/fp16.h> #include <algorithm> #include <cmath> #include <cstddef> #include <cstdlib> #include <funct...
12,472
32.986376
129
h
XNNPACK
XNNPACK-master/test/raddexpminusmax-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
2,117
27.24
92
h
XNNPACK
XNNPACK-master/test/raddextexp-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
1,989
26.260274
98
h
XNNPACK
XNNPACK-master/test/raddstoreexpminusmax-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <random> #include <vector> ...
4,827
35.854962
126
h
XNNPACK
XNNPACK-master/test/reduce-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <functional...
2,657
25.058824
123
h
XNNPACK
XNNPACK-master/test/reduce-normalization-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <xnnpack.h> #include <xnnpack/normalization.h> class ReduceNormalizationTester { public: inline Reduc...
2,340
26.541176
95
h
XNNPACK
XNNPACK-master/test/rmax-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
3,431
25.8125
99
h
XNNPACK
XNNPACK-master/test/rmaxabs-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <random> #i...
1,939
24.194805
85
h
XNNPACK
XNNPACK-master/test/rope-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <cassert> #include <cstddef> #include <cstdlib> #include <algorithm> #include <cmath> #include <limits> #i...
6,445
31.887755
111
h
XNNPACK
XNNPACK-master/test/rsum-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <numer...
4,658
30.693878
116
h
XNNPACK
XNNPACK-master/test/runtime-tester.h
// 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. #pragma once #include <algorithm> #include <cstddef> #include <cstdlib> #include <cstring> #include <vector> #include <xnnpack.h> #include <xnnpack/subgr...
2,669
28.021739
115
h
XNNPACK
XNNPACK-master/test/sigmoid-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
14,906
35.270073
119
h
XNNPACK
XNNPACK-master/test/slice-normalization-tester.h
// 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. #pragma once #include <algorithm> #include <cassert> #include <cstddef> #include <vector> #include <xnnpack.h> #include <xnnpack/normalization.h> #inclu...
3,969
33.824561
79
h
XNNPACK
XNNPACK-master/test/slice-operator-tester.h
// 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. #pragma once #include <iostream> #include <algorithm> #include <array> #include <cstddef> #include <cstdlib> #include <functional> #include <initializer_l...
13,267
34.571046
113
h
XNNPACK
XNNPACK-master/test/softmax-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
10,931
34.493506
121
h
XNNPACK
XNNPACK-master/test/space-to-depth-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <functional...
15,104
39.387701
131
h
XNNPACK
XNNPACK-master/test/square-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <random> #include <vector> ...
8,169
33.472574
115
h
XNNPACK
XNNPACK-master/test/square-root-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <random> #include <vector> ...
8,275
33.919831
115
h
XNNPACK
XNNPACK-master/test/subgraph-binary-tester.h
// 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. #pragma once #include <algorithm> #include <array> #include <functional> #include <limits> #include <memory> #include <numeric> #include <random> #include...
4,621
37.198347
120
h
XNNPACK
XNNPACK-master/test/subgraph-tester.h
// 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. #pragma once #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <unordered_map> #include <numeric> #i...
17,718
35.837838
122
h
XNNPACK
XNNPACK-master/test/subgraph-unary-tester.h
// 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 <algorithm> #include <array> #include <cstdint> #include <cstddef> #include <limits> #include <memory> #include <numeric> #include <random> #incl...
3,374
32.088235
119
h
XNNPACK
XNNPACK-master/test/tanh-operator-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <functional...
14,147
34.547739
119
h
XNNPACK
XNNPACK-master/test/transpose-microkernel-tester.h
// 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. #pragma once #include <cassert> #include <cstddef> #include <cstdlib> #include <cstring> #include <numeric> #include <vector> #include <gtest/gtest.h> #...
10,378
34.544521
122
h
XNNPACK
XNNPACK-master/test/transpose-normalization-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <xnnpack.h> #include <xnnpack/normalization.h> class TransposeNormalizationTester { public: inline Tr...
5,725
35.941935
117
h
XNNPACK
XNNPACK-master/test/transpose-operator-tester.h
// 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. #pragma once #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <numeric> #include <vector> #in...
10,573
36.363958
119
h
XNNPACK
XNNPACK-master/test/unpool-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
3,162
24.304
105
h
XNNPACK
XNNPACK-master/test/vadd-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
9,407
32.126761
123
h
XNNPACK
XNNPACK-master/test/vaddc-microkernel-tester.h
// Copyright (c) Facebook, Inc. and its affiliates. // All rights reserved. // // 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <casse...
8,752
31.418519
123
h
XNNPACK
XNNPACK-master/test/vbinary-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
16,834
36.245575
128
h
XNNPACK
XNNPACK-master/test/vbinaryc-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <functional> #include <rando...
16,215
34.252174
129
h
XNNPACK
XNNPACK-master/test/vhswish-microkernel-tester.h
// 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. #pragma once #include <gtest/gtest.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <stdio.h> #include <cstdlib> #...
7,263
35.686869
99
h