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
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/q8dwconv.h> #include <requantization/runtime-sse2.h> void ...
17,062
41.979849
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/mp8x7p7q-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool_...
10,890
33.907051
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/mp8x7p7q-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool...
13,544
40.805556
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8x7-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool_...
7,272
33.469194
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8x7-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool...
7,851
37.302439
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8xm-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool_...
3,865
30.430894
79
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8xm-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/q8gavgpool.h> void pytorch_q8gavgpool...
2,995
28.96
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/2x4c8-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/q8gemm.h> #include <requantization/runtime-sse2.h> static ...
8,597
36.220779
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x-sumrows-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/q8gemm.h> void pytorch_q8sumrows_ukernel_4x__neon( cons...
4,862
30.374194
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-dq-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/q8gemm.h> #include <requantization/runtime-sse2.h> void py...
11,857
35.042553
86
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/q8gemm.h> #include <requantization/runtime-sse2.h> void py...
13,062
36.216524
91
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8-dq-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/q8gemm.h> #include <requantization/runtime-neon.h> void pyt...
23,664
38.840067
81
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8c2-xzp-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/q8gemm.h> void pytorch_q8gemm_xzp_ukernel_4x8c2__neon( ...
22,120
39.663603
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/6x4-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/q8gemm.h> #include <requantization/runtime-neon.h> void pyt...
23,968
40.468858
81
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/q8gemm_sparse.h> #include <requantization/runtime-sse2.h> ...
2,929
38.066667
89
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c
#define KERNEL_NAME pytorch_q8gemm_dq_sparse_1x4_ukernel_8x4_packedA_w32__sse2 #define W_INDEX_DTYPE uint32_t #include "8x4c1x4-dq-packedA-sse2.h" #undef KERNEL_NAME #undef W_INDEX_DTYPE #define KERNEL_NAME pytorch_q8gemm_dq_sparse_1x4_ukernel_8x4_packedA_w16__sse2 #define W_INDEX_DTYPE uint16_t #include "8x4c1x4-dq-p...
561
30.222222
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8vadd/neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/common.h> #include <qnnpack/q8vadd.h> void pytorch_q8vadd_u...
14,659
37.276762
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8vadd/sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <immintrin.h> #include <qnnpack/common.h> #include <qnnpack/q8vadd.h> #include <qnnpack/sca...
8,872
38.435556
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/AlignedAllocator.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <limits> #include <stdlib.h> template <typename T, size_t...
2,492
22.299065
75
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/common.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 #if defined(__GNUC__) #if defined(__clang__) || (__GNUC__ > 4 || __GNUC__ == 4 && __GNU...
2,489
25.210526
80
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/hgemm.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/params.h> #ifdef __cplusplu...
1,140
29.026316
88
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/indirection.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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<pytorch_qnnpack.h> #include <qnnpack/...
1,090
23.244444
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/isa-checks.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <cpuinfo.h> #define TEST_REQUIRES_X86_SSE2 \ d...
1,284
37.939394
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/log.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <inttypes.h> #include <clog.h> #ifndef PYTORCH_QNNP_LOG_LEVEL #define PYTORC...
822
21.861111
79
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/operator.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/requantization.h> enum pyto...
4,379
26.721519
88
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/params.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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> #include <qnnpack/common....
19,075
26.929722
85
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
2,436
40.305085
86
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8conv.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
1,454
32.837209
81
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
3,619
42.614458
89
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
2,200
39.018182
88
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
4,025
42.290323
105
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
7,636
49.576159
123
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8vadd.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
950
26.171429
77
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/requantization-stubs.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/params.h> #include <pthread...
2,989
38.866667
84
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/requantization.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <math.h> #include <stddef.h> #include <stdint.h> #include...
20,682
36.8117
82
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/scalar-utils.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <limits.h> #include <stdbool.h> #include <stdint.h> #incl...
3,517
28.316667
79
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/sconv.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
1,062
26.973684
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/sdwconv.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
1,686
33.428571
80
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/sgemm.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/params.h> #ifdef __...
1,195
29.666667
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8clamp.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
890
25.205882
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8lut32norm.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
686
21.9
81
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8maxpool.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
1,304
31.625
83
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8rmax.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
686
21.9
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/x8lut.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
661
21.066667
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/x8zip.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/common.h> #include <qnnpack/...
1,253
29.585366
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/fp32-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <arm_neon.h> #include <qnnpack/requantization-stub...
6,633
37.569767
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/fp32-psimd.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <psimd.h> #include <qnnpack/requantization-stubs.h...
4,345
39.240741
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/fp32-scalar.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <stdint.h> #include <fp16/bitcasts.h> #include <qnnpa...
4,031
32.04918
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/fp32-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <emmintrin.h> #include <qnnpack/requantization-stu...
4,169
36.909091
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <arm_neon.h> #include <fp16/bitcasts.h> #include <...
4,345
37.122807
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-scalar.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <fp16/bitcasts.h> #include <qnnpack/requantization-...
2,809
33.268293
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-scalar.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <limits.h> #include <stdint.h> /* * The code below is adapted from Google's ...
1,737
34.469388
80
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-sse.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <limits.h> #include <immintrin.h> /* * The code below is adapted from Googl...
4,591
36.032258
80
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <emmintrin.h> #include <fp16/bitcasts.h> #include ...
2,633
34.594595
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-sse4.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <smmintrin.h> #include <fp16/bitcasts.h> #include ...
2,633
34.594595
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/gemmlowp-ssse3.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <tmmintrin.h> #include <fp16/bitcasts.h> #include ...
2,634
34.608108
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <arm_neon.h> #include <fp16/bitcasts.h> #include <...
8,353
40.562189
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-psimd.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <psimd.h> #include <fp16/bitcasts.h> #include <qnn...
7,397
43.566265
79
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-scalar.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <fp16/bitcasts.h> #include <qnnpack/requantization-...
15,091
40.234973
81
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <emmintrin.h> #include <fp16/bitcasts.h> #include ...
6,367
37.593939
75
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-sse4.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <smmintrin.h> #include <fp16/bitcasts.h> #include ...
4,984
35.925926
74
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/precise-ssse3.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <tmmintrin.h> #include <fp16/bitcasts.h> #include ...
5,696
36.728477
74
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/q31-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <arm_neon.h> #include <fp16/bitcasts.h> #include <...
5,157
34.572414
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/q31-scalar.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <fp16/bitcasts.h> #include <qnnpack/requantization-...
6,949
41.378049
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/q31-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <emmintrin.h> #include <fp16/bitcasts.h> #include ...
10,115
40.801653
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/q31-sse4.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <smmintrin.h> #include <fp16/bitcasts.h> #include ...
6,240
37.288344
74
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/q31-ssse3.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <tmmintrin.h> #include <fp16/bitcasts.h> #include ...
9,943
40.606695
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/runtime-neon.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <arm_neon.h> PYTORCH_QNNP_INLINE uint16x8_t sub_zero_point(const uint8x8_t va...
509
21.173913
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/requantization/runtime-sse2.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <immintrin.h> PYTORCH_QNNP_INLINE __m128i sub_zero_point(const __m128i va, co...
506
21.043478
72
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/sconv/6x8-psimd.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <psimd.h> #include <qnnpack/sconv.h> void pytorch_sconv_ukernel_6x8__psimd( size_t mr,...
6,122
29.014706
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/sdwconv/up4x9-psimd.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <psimd.h> #include <qnnpack/sdwconv.h> void pytorch_sdwconv_ukernel_up4x9__psimd( size...
4,573
28.133758
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/5x8-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/sgemm.h> void pytorch_sgemm_ukernel_5x8__neon( size_t m...
9,104
32.847584
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/6x8-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/sgemm.h> void pytorch_sgemm_ukernel_6x8__neon( size_t m...
10,669
33.642857
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/6x8-psimd.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <psimd.h> #include <qnnpack/sgemm.h> void pytorch_sgemm_ukernel_6x8__psimd( size_t mr,...
6,296
28.152778
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8clamp/neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8clamp.h> void pytorch_u8clamp_ukerne...
2,399
26.586207
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8clamp/sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8clamp.h> void pytorch_u8clamp_ukern...
2,680
31.695122
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8lut32norm/scalar.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8lut32norm.h> static inline uint32_t com...
1,108
21.18
73
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/16x9p8q-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8maxpool.h> void pytorch_u8maxpool_uk...
8,041
30.912698
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/16x9p8q-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8maxpool.h> void pytorch_u8maxpool_u...
8,939
34.058824
76
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/sub16-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8maxpool.h> void pytorch_u8maxpool_uk...
2,404
25.141304
77
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/sub16-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8maxpool.h> void pytorch_u8maxpool_u...
2,291
25.344828
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8rmax/neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8rmax.h> uint8_t pytorch_u8rmax_ukern...
1,295
25.44898
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8rmax/sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <qnnpack/u8rmax.h> uint8_t pytorch_u8rmax_uker...
1,312
26.354167
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x2-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x2__neon(size_t n, const v...
1,131
23.085106
79
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x2-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <emmintrin.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x2__sse2(size_t n, const ...
1,594
29.09434
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x3-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x3__neon(size_t n, const v...
1,247
23
77
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x3-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <emmintrin.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x3__sse2(size_t n, const ...
8,837
41.902913
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x4-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x4__neon(size_t n, const v...
1,433
23.724138
77
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x4-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <emmintrin.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_x4__sse2(size_t n, const ...
3,043
35.674699
78
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/xm-neon.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <arm_neon.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_xm__neon( size_t n, ...
6,025
32.853933
80
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/xm-sse2.c
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <emmintrin.h> #include <qnnpack/x8zip.h> void pytorch_qnnp_x8zip_xm__sse2( size_t n, ...
8,669
40.483254
72
c
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/add-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <cmath> #include <cstddef> #include <cstdlib> #include <f...
7,147
24.347518
77
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/avgpool-microkernel-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <c...
12,512
28.1
80
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/channel-shuffle-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 ...
4,253
25.924051
79
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/clamp-microkernel-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 ...
3,011
24.310924
78
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/clamp-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 ...
4,964
26.893258
79
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/deconvolution-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <c...
21,019
31.042683
96
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/dwconv-microkernel-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <c...
18,463
32.509982
98
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/fully-connected-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <cmath> #include <cstddef> #include <cstdlib> #include <f...
12,678
31.344388
89
h
null
pytorch-main/aten/src/ATen/native/quantized/cpu/qnnpack/test/fully-connected-sparse-operator-tester.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * 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 <cmath> #include <cstddef> #include <cstdlib> #include <f...
21,081
33.335505
101
h