Home
last modified time | relevance | path

Searched +full:- +full:qy (Results 1 – 25 of 266) sorted by relevance

1234567891011

/external/cronet/tot/third_party/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/
DECDSA.bz2 ... 1[ 2 { 3 "time": "2021-04-22T09:54:23-07:00
/external/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/
DECDSA.bz2 ... 1[ 2 { 3 "time": "2021-04-22T09:54:23-07:00
/external/cronet/stable/third_party/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/
DECDSA.bz2 ... 1[ 2 { 3 "time": "2021-04-22T09:54:23-07:00
/external/tcpdump/
D.cirrus.yml3 LIBPCAP_GIT: https://github.com/the-tcpdump-group/libpcap.git
6 name: freebsd-amd64
13 image_family: freebsd-13-3
18 - pkg install -qy git autoconf gcc13 llvm17
19 - pkg install -qy cmake-core # for build_matrix.sh and build.sh
20 - pkg install -qy pkgconf # for cmake, replaces pkg-config
21 - pkg install -qy sudo # for some tcpdump commands
22 - echo '$ git clone [...] libpcap.git'
23 - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
24 - ./build_matrix.sh
[all …]
/external/pytorch/aten/src/ATen/native/quantized/cpu/
Dqclamp.cpp11 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
67 Tensor qy = at::_empty_affine_quantized( in qnnpack_clamp() local
78 (uint8_t*)qy.data_ptr<c10::quint8>(), // output_data in qnnpack_clamp()
91 return qy; in qnnpack_clamp()
100 Tensor qy; in quantized_clamp_impl() local
108 qclamp_stub(qx.device().type(), qx, *min, *max, qy); in quantized_clamp_impl()
117 qclamp_max_stub(qx.device().type(), qx, *max, qy); in quantized_clamp_impl()
119 qclamp_min_stub(qx.device().type(), qx, *min, qy); in quantized_clamp_impl()
124 return qy; in quantized_clamp_impl()
133 Tensor qy; in clamp_quantized_cpu() local
[all …]
Dqrelu.cpp12 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
40 Tensor qy; in qnnpack_relu() local
76 qy = at::_empty_affine_quantized( in qnnpack_relu()
88 (uint8_t*)qy.data_ptr<c10::quint8>() /* output data */, in qnnpack_relu()
102 return qy; in qnnpack_relu()
112 Tensor qy; in relu_quantized_cpu() local
113 qrelu_stub(qx.device().type(), qx, qy); in relu_quantized_cpu()
114 return qy; in relu_quantized_cpu()
124 [&](scalar_t value) -> scalar_t { in relu_quantized_cpu_()
127 [&](Vec value) -> Vec { return value.relu(zero_point_vec); }); in relu_quantized_cpu_()
[all …]
DNormalization.cpp39 // = (input(n, c, h, w) - mean(c)) / sqrt(var(c) + eps) * weight(c) in compute_fused_params()
43 // NOLINTNEXTLINE(bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions) in compute_fused_params()
47 // NOLINTNEXTLINE(bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions) in compute_fused_params()
49 // NOLINTNEXTLINE(bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions) in compute_fused_params()
50 beta_data[c] = (bias_v - mean_data[c] * inv_sigma * weight_v) / output_scale; in compute_fused_params()
99 qx = qx.unsqueeze(-1).unsqueeze(-1); in q_batch_norm1d_impl()
102 qx = qx.unsqueeze(-1); in q_batch_norm1d_impl()
107 Tensor qy = at::_empty_affine_quantized( in q_batch_norm1d_impl() local
138 qy); in q_batch_norm1d_impl()
150 qy); in q_batch_norm1d_impl()
[all …]
DPooling.cpp14 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
60 T* oData) { // output arrays (data and max-index) in spatial_dilated_max_pooling()
63 // NOLINTNEXTLINE(cppcoreguidelines-init-variables) in spatial_dilated_max_pooling()
68 int64_t h_start = row * sH - pH; in spatial_dilated_max_pooling()
69 int64_t w_start = col * sW - pW; in spatial_dilated_max_pooling()
70 int64_t h_end = std::min(h_start + (kH - 1) * dH + 1, iH); in spatial_dilated_max_pooling()
71 int64_t w_end = std::min(w_start + (kW - 1) * dW + 1, iW); in spatial_dilated_max_pooling()
83 // NOLINTNEXTLINE(cppcoreguidelines-init-variables) in spatial_dilated_max_pooling()
88 auto val = (i_p + tcntr)->val_; in spatial_dilated_max_pooling()
124 T* qyd) { // output arrays (data and max-index) in spatial_dilated_max_pooling3d()
[all …]
Dqhardswish.cpp8 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
26 Tensor qnnpack_hardswish(const Tensor& qx, Tensor& qy) { in qnnpack_hardswish() argument
38 const auto o_zero_point = qy.q_zero_point(); in qnnpack_hardswish()
39 const auto o_scale = qy.q_scale(); in qnnpack_hardswish()
64 (uint8_t*)qy.data_ptr<c10::quint8>(), // output data in qnnpack_hardswish()
77 return qy; in qnnpack_hardswish()
84 Tensor qy = at::_empty_affine_quantized( in quantized_hardswish() local
94 qnnpack_hardswish(qx_contig, qy); in quantized_hardswish()
95 return qy; in quantized_hardswish()
98 qhardswish_stub(qx.device().type(), qx, qy); in quantized_hardswish()
[all …]
Dqsigmoid.cpp10 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
38 Tensor qy; in qnnpack_sigmoid() local
56 // NOLINTNEXTLINE(cppcoreguidelines-narrowing-conversions,bugprone-narrowing-conversions) in qnnpack_sigmoid()
68 qy = at::_empty_affine_quantized( in qnnpack_sigmoid()
80 (uint8_t*)qy.data_ptr<c10::quint8>() /* output data */, in qnnpack_sigmoid()
93 return qy; in qnnpack_sigmoid()
99 // The zero_point is 0 for qint32 and quint8, but -128 for qint8.
109 Tensor qy; in sigmoid_quantized_cpu() local
112 // - Output scale is set to 1.0 / 2^(BIT_NUM) in sigmoid_quantized_cpu()
113 // - For signed types output zero point is set to 0 in sigmoid_quantized_cpu()
[all …]
Dqhardsigmoid.cpp7 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
60 Tensor qy = at::_empty_affine_quantized( in qnnpack_hardsigmoid() local
72 (uint8_t*)qy.data_ptr<c10::quint8>(), // output data in qnnpack_hardsigmoid()
85 return qy; in qnnpack_hardsigmoid()
97 Tensor qy; in hardsigmoid_quantized_cpu() local
98 qhardsigmoid_stub(qx.device().type(), qx, qy); in hardsigmoid_quantized_cpu()
99 return qy; in hardsigmoid_quantized_cpu()
107 Tensor qy = hardsigmoid_quantized_cpu(qx); in hardsigmoid_out_quantized_cpu() local
108 result.copy_(qy); in hardsigmoid_out_quantized_cpu()
Dqtanh.cpp8 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
32 Tensor qy; in qnnpack_tanh() local
63 qy = at::_empty_affine_quantized( in qnnpack_tanh()
75 (uint8_t*)qy.data_ptr<c10::quint8>() /* output data */, in qnnpack_tanh()
88 return qy; in qnnpack_tanh()
99 Tensor qy; in tanh_quantized_cpu() local
100 qtanh_stub(qx.device().type(), qx, qy); in tanh_quantized_cpu()
101 return qy; in tanh_quantized_cpu()
DChannelShuffle.cpp6 #include <caffe2/utils/threadpool/pthreadpool-cpp.h>
38 Tensor qy = at::native::empty_affine_quantized( in quantized_channel_shuffle_impl() local
50 qy.copy_(self_nhwc); in quantized_channel_shuffle_impl()
51 return qy.contiguous(self.suggest_memory_format()); in quantized_channel_shuffle_impl()
82 (uint8_t*)qy.data_ptr<c10::quint8>() /* qy data */, in quantized_channel_shuffle_impl()
83 channels /* qy stride */); in quantized_channel_shuffle_impl()
95 return qy.contiguous(self.suggest_memory_format()); in quantized_channel_shuffle_impl()
/external/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DTransform.pde7 Transform(float tx, float ty, float tz, float qx, float qy, float qz,
11 float[] rot = quaternion2Mat3x3(qx, qy, qz, qw);
13 inv_mov = new PVector(-tx, -ty, -tz);
23 float x = (i - w / 2.0f) * z / focal;
24 float y = (j - h / 2.0f) * z / focal;
34 mat[0] = c + ax * ax * (1 - c);
35 mat[1] = ax * ay * (1 - c) - az * s;
36 mat[2] = ax * az * (1 - c) + ay * s;
37 mat[3] = ay * ax * (1 - c) + az * s;
38 mat[4] = c + ay * ay * (1 - c);
[all …]
/external/libpcap/
D.cirrus.yml6 name: freebsd-amd64
11 image_family: freebsd-13-3
16 - pkg install -qy autoconf gcc13 llvm17
17 - pkg install -qy cmake-core git-tiny # for build_matrix.sh and build.sh
18 - ./build_matrix.sh
21 name: linux-amd64
31 - apt-get -qy update >/dev/null
32 - apt-get -qy install flex bison autoconf make gcc >/dev/null # for "./configure"
33 - apt-get -qy install cmake git >/dev/null # for "make releasecheck"
34 - apt-get -qy install shellcheck >/dev/null
[all …]
/external/scapy/.config/ci/
Dinstall.sh3 # SPDX-License-Identifier: GPL-2.0-only
14 if [[ ! -z "$GITHUB_ACTIONS" ]]
23 if [ ! -z $SCAPY_USE_LIBPCAP ]
30 CUR=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
33 if [ "$OSTYPE" = "linux-gnu" ]
35 sudo apt-get update
36 sudo apt-get -qy install tshark net-tools || exit 1
37 sudo apt-get -qy install can-utils || exit 1
38 sudo apt-get -qy install linux-modules-extra-$(uname -r) || exit 1
39 sudo apt-get -qy install samba smbclient
[all …]
/external/cronet/stable/third_party/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
Decdsa.go25 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
41 QyHex string `json:"qy,omitempty"`
52 QyHex string `json:"qy,omitempty"`
59 QyHex string `json:"qy,omitempty"`
83 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
121 qy, err := hex.DecodeString(test.QyHex)
123 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
125 …m.TransactAsync(e.algo+"/"+"keyVer", 1, [][]byte{[]byte(group.Curve), qx, qy}, func(result [][]byt…
193 qy, err := hex.DecodeString(test.QyHex)
195 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
[all …]
/external/cronet/tot/third_party/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
Decdsa.go25 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
41 QyHex string `json:"qy,omitempty"`
52 QyHex string `json:"qy,omitempty"`
59 QyHex string `json:"qy,omitempty"`
83 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
121 qy, err := hex.DecodeString(test.QyHex)
123 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
125 …m.TransactAsync(e.algo+"/"+"keyVer", 1, [][]byte{[]byte(group.Curve), qx, qy}, func(result [][]byt…
193 qy, err := hex.DecodeString(test.QyHex)
195 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
Decdsa.go25 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
42 QyHex string `json:"qy,omitempty"`
53 QyHex string `json:"qy,omitempty"`
60 QyHex string `json:"qy,omitempty"`
88 // https://pages.nist.gov/ACVP/draft-fussell-acvp-ecdsa.html#name-test-vectors
126 qy, err := hex.DecodeString(test.QyHex)
128 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
130 …m.TransactAsync(e.algo+"/"+"keyVer", 1, [][]byte{[]byte(group.Curve), qx, qy}, func(result [][]byt…
208 qy, err := hex.DecodeString(test.QyHex)
210 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dapprox_topk_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
78 # Must jit-compile to access the xla kernel.
84 gt = np.argsort(-db)[:, :k]
102 # Must jit-compile to access the xla kernel.
122 qy = self._rng.random([qy_size, feature_dim])
124 qy_op = constant_op.constant(qy, dtype=dtype)
126 # Must jit-compile to access the xla kernel.
128 def ann(qy, db, k): argument
129 scores = math_ops.matmul(qy, db, transpose_b=True)
133 scores = self.evaluate(-math_ops.matmul(qy_op, db_op, transpose_b=True))
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dapprox_topk_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
83 gt = np.argsort(-db)[:, :k]
120 qy = self._rng.random([qy_size, feature_dim], dtype=np.float32)
124 def ann(qy, db, k): argument
125 scores = math_ops.matmul(qy, db, transpose_b=True)
129 qy_op = variables.Variable(qy)
132 scores = -math_ops.matmul(qy_op, db_op, transpose_b=True)
147 qy = self._rng.random([qy_size, feature_dim], dtype=np.float32)
152 def ann(qy, db, db_half_norm, k): argument
153 scores = db_half_norm - math_ops.matmul(qy, db, transpose_b=True)
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_ecdsa2_pkv_test.cc37 bssl::UniquePtr<BIGNUM> qy = GetBIGNUM(t, "Qy"); in TestECDSA2PKV() local
38 if (!key || !qx || !qy) { in TestECDSA2PKV()
42 if (EC_KEY_set_public_key_affine_coordinates(key.get(), qx.get(), qy.get())) { in TestECDSA2PKV()
43 printf("%sResult = P\r\n\r\n", t->CurrentTestToString().c_str()); in TestECDSA2PKV()
47 printf("%sResult = F (%s)\r\n\r\n", t->CurrentTestToString().c_str(), buf); in TestECDSA2PKV()
Dcavp_ecdsa2_sigver_test.cc41 bssl::UniquePtr<BIGNUM> qy = GetBIGNUM(t, "Qy"); in TestECDSA2SigVer() local
47 if (!sig || !key || !qx || !qy || !r || !s || in TestECDSA2SigVer()
49 qy.get()) || in TestECDSA2SigVer()
50 !t->GetBytes(&msg, "Msg") || in TestECDSA2SigVer()
55 BN_free(sig->r); in TestECDSA2SigVer()
56 sig->r = r.release(); in TestECDSA2SigVer()
57 BN_free(sig->s); in TestECDSA2SigVer()
58 sig->s = s.release(); in TestECDSA2SigVer()
61 printf("%sResult = P\r\n\r\n", t->CurrentTestToString().c_str()); in TestECDSA2SigVer()
65 printf("%sResult = F (%s)\r\n\r\n", t->CurrentTestToString().c_str(), buf); in TestECDSA2SigVer()
/external/protobuf/.github/workflows/
Dphp-ext.yml4 - push
5 - pull_request
8 build-php:
10 runs-on: ubuntu-latest
11 container: ${{ matrix.php-image }}
14 php-image:
15 - php:7.4-cli
16 - php:8.1-cli
18 - name: Install python3
20 apt-get update -q
[all …]
/external/sandboxed-api/.github/workflows/
Dubuntu-cmake-contrib.yml1 name: ubuntu-cmake-contrib
11 fail-fast: false
13 os: [ubuntu-22.04]
15 - brotli
16 - c-blosc
17 - jsonnet
18 - libidn2
19 - libraw
20 - libtiff
21 - libxls
[all …]

1234567891011