Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 25 of 129) sorted by relevance

123456

/external/e2fsprogs/lib/support/
Dmkquota.c72 int quota_file_exists(ext2_filsys fs, enum quota_type qtype) in quota_file_exists() argument
78 if (qtype >= MAXQUOTAS) in quota_file_exists()
81 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); in quota_file_exists()
94 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype) in quota_set_sb_inum() argument
98 inump = quota_sb_inump(fs->super, qtype); in quota_set_sb_inum()
101 qtype); in quota_set_sb_inum()
108 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype) in quota_remove_inode() argument
119 qf_ino = *quota_sb_inump(fs->super, qtype); in quota_remove_inode()
137 quota_set_sb_inum(fs, 0, qtype); in quota_remove_inode()
168 enum quota_type qtype; in quota_write_inode() local
[all …]
Dquotaio.c45 const char *quota_type2name(enum quota_type qtype) in quota_type2name() argument
47 if (qtype >= MAXQUOTAS) in quota_type2name()
49 return extensions[qtype]; in quota_type2name()
52 ext2_ino_t quota_type2inum(enum quota_type qtype, in quota_type2inum() argument
55 switch (qtype) { in quota_type2inum()
112 enum quota_type qtype; in quota_inode_truncate() local
117 for (qtype = 0; qtype < MAXQUOTAS; qtype++) in quota_inode_truncate()
118 if (ino == quota_type2inum(qtype, fs->super)) in quota_inode_truncate()
121 if (qtype != MAXQUOTAS) { in quota_inode_truncate()
189 ext2_ino_t qf_ino, enum quota_type qtype, in quota_file_open() argument
[all …]
Dparse_qtype.c21 unsigned int qtype = *qtype_bits; in parse_quota_types() local
44 qtype &= ~QUOTA_USR_BIT; in parse_quota_types()
46 qtype |= QUOTA_USR_BIT; in parse_quota_types()
49 qtype &= ~QUOTA_GRP_BIT; in parse_quota_types()
51 qtype |= QUOTA_GRP_BIT; in parse_quota_types()
54 qtype &= ~QUOTA_PRJ_BIT; in parse_quota_types()
56 qtype |= QUOTA_PRJ_BIT; in parse_quota_types()
71 *qtype_bits = qtype; in parse_quota_types()
Dquotaio.h196 enum quota_type qtype, int fmt);
206 const char *quota_type2name(enum quota_type qtype);
207 ext2_ino_t quota_type2inum(enum quota_type qtype, struct ext2_super_block *);
226 errcode_t quota_write_inode(quota_ctx_t qctx, enum quota_type qtype);
234 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype);
235 int quota_file_exists(ext2_filsys fs, enum quota_type qtype);
236 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
237 errcode_t quota_compare_and_update(quota_ctx_t qctx, enum quota_type qtype,
252 enum quota_type qtype) in quota_sb_inump() argument
254 switch (qtype) { in quota_sb_inump()
/external/f2fs-tools/fsck/
Dmkquota.c66 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype) in quota_write_inode() argument
75 if ((!qctx) || (!sb->qf_ino[qtype])) in quota_write_inode()
84 dict = qctx->quota_dict[qtype]; in quota_write_inode()
86 retval = quota_file_create(sbi, h, qtype); in quota_write_inode()
119 static inline qid_t get_qid(struct f2fs_inode *inode, enum quota_type qtype) in get_qid() argument
121 switch (qtype) { in get_qid()
153 enum quota_type qtype; in quota_init_context() local
163 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in quota_init_context()
164 ctx->quota_file[qtype] = NULL; in quota_init_context()
165 if (!sb->qf_ino[qtype]) in quota_init_context()
[all …]
Dquotaio.c48 const char *quota_type2name(enum quota_type qtype) in quota_type2name() argument
50 if (qtype >= MAXQUOTAS) in quota_type2name()
52 return extensions[qtype]; in quota_type2name()
107 enum quota_type qtype, int flags) in quota_file_open() argument
116 if (qtype >= MAXQUOTAS) in quota_file_open()
119 qf_ino = sb->qf_ino[qtype]; in quota_file_open()
122 if (qctx->quota_file[qtype]) { in quota_file_open()
123 h = qctx->quota_file[qtype]; in quota_file_open()
140 h->qh_type = qtype; in quota_file_open()
146 (h->qh_ops->check_file(h, qtype) == 0)) { in quota_file_open()
[all …]
Dquotaio.h167 int (*init_io) (struct quota_handle *h, enum quota_type qtype);
202 enum quota_type qtype, int flags);
206 enum quota_type qtype);
214 const char *quota_type2name(enum quota_type qtype);
222 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype);
227 enum quota_type qtype, int *usage_inconsistent,
/external/e2fsprogs/e2fsck/
Dquota.c20 ext2_ino_t to_ino, enum quota_type qtype) in move_quota_inode() argument
55 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); in move_quota_inode()
74 enum quota_type qtype; in e2fsck_hide_quota() local
83 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in e2fsck_hide_quota()
85 pctx.ino = *quota_sb_inump(sb, qtype); in e2fsck_hide_quota()
86 pctx.num = qtype; in e2fsck_hide_quota()
87 quota_ino = quota_type2inum(qtype, fs->super); in e2fsck_hide_quota()
90 if (move_quota_inode(fs, pctx.ino, quota_ino, qtype)) in e2fsck_hide_quota()
92 *quota_sb_inump(sb, qtype) = quota_ino; in e2fsck_hide_quota()
105 enum quota_type qtype; in e2fsck_validate_quota_inodes() local
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Ddecompose-hybrid-quantization.mlir19 …// CHECK-DAG: %[[VAL0:.+]] = "tfl.pseudo_qconst"() {qtype = tensor<{{.+}}>, value = dense<42> : te…
20 …// CHECK-DAG: %[[VAL1:.+]] = "tfl.pseudo_qconst"() {qtype = tensor<{{.+}}>, value = dense<0> : ten…
23 …%0 = "tfl.pseudo_qconst"() {qtype = tensor<16x1x1x8x!quant.uniform<i8:f32, 1.0>>, value = dense<42…
24 …%1 = "tfl.pseudo_qconst"() {qtype = tensor<16x!quant.uniform<i32:f32, 1.0>>, value = dense<0> : te…
34 …// CHECK-DAG: %[[VAL0:.+]] = "tfl.pseudo_qconst"() {qtype = tensor<{{.+}}>, value = dense<42> : te…
37 …%0 = "tfl.pseudo_qconst"() {qtype = tensor<16x1x1x8x!quant.uniform<i8:f32, 1.0>>, value = dense<42…
47 …// CHECK-DAG: %[[VAL0:.+]] = "tfl.pseudo_qconst"() {qtype = tensor<{{.+}}>, value = dense<42> : te…
48 …// CHECK-DAG: %[[VAL1:.+]] = "tfl.pseudo_qconst"() {qtype = tensor<{{.+}}>, value = dense<0> : ten…
52 …// CHECK-DAG: %[[VAL5:.+]] = "tfl.quantize"(%4) {qtype = tensor<1x32x32x16x!quant.uniform<i8:f32, …
54 …%0 = "tfl.pseudo_qconst"() {qtype = tensor<16x1x1x8x!quant.uniform<i8:f32, 1.0>>, value = dense<42…
[all …]
Dpost-quantize.mlir7 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<4x!quant.uniform<u8:f32, 1.0>>} : (tensor<4xf32>) -> te…
15 …%5 = "tfl.quantize"(%4) {qtype = tensor<2x!quant.uniform<u8:f32, 1.0>>} : (tensor<2xf32>) -> (tens…
23 // QDQ-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<4x!quant.uniform<u8:f32, 1.000000e+0…
34 …%2 = "tfl.quantize"(%1) {qtype = tensor<384x128x!quant.uniform<i8:f32, 2.0>>} : (tensor<384x128x!q…
41 // QDQ-NEXT: %[[q:.*]] = "tfl.quantize"(%[[fc]]) {qtype = tensor<384x128x!quant.uniform<i8:f32, 2.0…
47 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>} …
48 …%1 = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.02182667837368…
49 …%2 = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.7052092479439231E-4>>, val…
58 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<2x4x!quant.uniform<u8:f32, 0.49803921568627452>>} : (te…
59 …%1 = "tfl.quantize"(%arg1) {qtype = tensor<2x4x!quant.uniform<u8:f32, 0.49803921568627452>>} : (te…
[all …]
Dmodify_io_nodes.mlir7 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>} : (t…
8 …%1 = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127:127>:f32, 0.02182667837…
9 …%2 = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.7052092479439231E-4>>, val…
18 // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<i8:f32,…
19 // CHECK-NEXT: %[[cst1:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127…
20 // CHECK-NEXT: %[[cst2:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.70…
29 // INT8-NEXT: %[[cst1:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127:…
30 // INT8-NEXT: %[[cst2:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.705…
38 // UINT8-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<i8:f32,…
39 // UINT8-NEXT: %[[cst1:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127…
[all …]
Dprepare-quantize.mlir8 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<2x1x!quant.uniform<i16:f32, 1.0>>} : (tensor<2x1xf32>) …
10 …%2 = "tfl.quantize"(%arg1) {qtype = tensor<2x3x!quant.uniform<i16:f32, 1.0>>} : (tensor<2x3xf32>) …
27 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<2x1x!quant.uniform<i16:f32, 1.0>>} : (tensor<2x1xf32>) …
29 …%2 = "tfl.quantize"(%arg1) {qtype = tensor<2x3x!quant.uniform<i16:f32, 1.0>>} : (tensor<2x3xf32>) …
59 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<!quant.uniform<i16:f32, 1.0>>} : (tensor<f32>) -> tenso…
62 // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<!quant.uniform<i16:f32, 1.000000e+…
68 …%cst = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>…
70 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
94 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<8x4x3x!quant.uniform<u8:f32, 0.0078431…
96 // CHECK: %[[q2:.*]] = "tfl.quantize"(%[[dq1]]) {qtype = tensor<8x4x3x!quant.uniform<u8:f32:2, {0.0…
[all …]
Dquantize.mlir8 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
11 // CHECK: %[[cst:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372…
18 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
21 // CHECK: %[[cst:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372…
28 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
31 // CHECK: %[[cst:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372…
38 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
48 …%cst = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>…
50 …%1 = "tfl.quantize"(%0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>} : …
53 // CHECK: %[[cst:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<2x2x!quant.uniform<u8:f32, 7.8431372…
[all …]
Ddefault_quant_params.mlir8 // CHECK: %[[q0:.*]] = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 0.007843137…
9 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 0.007843137…
18 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>}: (tensor<2x2xf32>…
23 // CHECK: %[[q0:.*]] = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 0.007843137…
24 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.000000e+0…
36 // CHECK: %[[q:.*]] = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 0.0078431372…
44 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>}: (tensor<2x2xf32>…
45 …%1 = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 1.0:128>>}: (tensor<2x1xf32>…
51 // CHECK: %[[q0:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.000000e+0…
52 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 1.000000e+0…
[all …]
Dquantize-dynamic-range.mlir21 // CHECK: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f3…
28 // PerTensor: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127…
35 // PerChannelWeightOnly: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<…
43 // PerTensorWeightOnly: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i…
51 // BLOCK: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f3…
66 // CHECK: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f3…
73 // PerTensor: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127…
91 // CHECK: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<512x12x!quant.uniform<i8<-127:127>:f32,…
98 // PerTensor: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<512x12x!quant.uniform<i8<-127:127>:…
105 // PerChannelWeightOnly: %[[w:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<512x12x!quant.uniform<i8…
[all …]
Dprepare-quantize-signed.mlir6 …%1 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>} : (tensor<2x2xf32…
10 // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<i8:f32, 1.00000…
17 …%1 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32:1, {1.0:128, 1.0}>>} : (tenso…
21 // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<i8:f32:1, {1.00…
28 …%1 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8<1:255>:f32, 1.0:255>>} : (tensor<…
32 // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<i8<-127:127>:f3…
52 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<8x4x3x!quant.uniform<i8:f32, 0.0078431…
54 // CHECK: %[[q2:.*]] = "tfl.quantize"(%[[dq1]]) {qtype = tensor<8x4x3x!quant.uniform<i8:f32:2, {0.0…
74 // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<8x4x3x!quant.uniform<i8:f32, 0.0039215…
76 // CHECK: %[[q2:.*]] = "tfl.quantize"(%[[dq1]]) {qtype = tensor<8x4x3x!quant.uniform<i8:f32:2, {0.0…
[all …]
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/
Dquantize_composite_functions.cc118 LogicalResult CreateUniformQuantizedTypeParams(UniformQuantizedType qtype, in CreateUniformQuantizedTypeParams() argument
128 {static_cast<float>(qtype.getScale())})); in CreateUniformQuantizedTypeParams()
132 {static_cast<int32_t>(qtype.getZeroPoint())})); in CreateUniformQuantizedTypeParams()
137 quant::UniformQuantizedPerAxisType qtype, Location loc, in CreateUniformQuantizedPerAxisTypeParams() argument
141 ArrayRef<double> scales = qtype.getScales(); in CreateUniformQuantizedPerAxisTypeParams()
142 ArrayRef<int64_t> zero_points = qtype.getZeroPoints(); in CreateUniformQuantizedPerAxisTypeParams()
170 if (auto qtype = elem_type.dyn_cast<UniformQuantizedType>()) { in CreateQuantizationParams() local
171 return CreateUniformQuantizedTypeParams(qtype, loc, rewriter, scale, in CreateQuantizationParams()
173 } else if (auto qtype = in CreateQuantizationParams() local
175 return CreateUniformQuantizedPerAxisTypeParams(qtype, loc, rewriter, scale, in CreateQuantizationParams()
[all …]
/external/dnsmasq/src/
Drfc1035.c431 int i, qtype, qclass, rdlen; in do_doctor() local
437 GETSHORT(qtype, p); in do_doctor()
442 if ((qclass == C_IN) && (qtype == T_A)) { in do_doctor()
475 int qtype, qclass, rdlen; in find_soa() local
487 GETSHORT(qtype, p); in find_soa()
492 if ((qclass == C_IN) && (qtype == T_SOA)) { in find_soa()
522 int i, j, qtype, qclass, aqtype, aqclass, ardlen, res, searched_soa = 0; in extract_addresses() local
546 GETSHORT(qtype, p); in extract_addresses()
553 if (qtype == T_PTR) { in extract_addresses()
608 if (qtype == T_A) { in extract_addresses()
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format.c224 enum quota_type qtype; in f2fs_prepare_super_block() local
524 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_prepare_super_block()
525 if (!((1 << qtype) & c.quota_bits)) in f2fs_prepare_super_block()
527 sb->qf_ino[qtype] = cpu_to_le32(c.next_free_nid++); in f2fs_prepare_super_block()
529 qtype, c.next_free_nid - 1); in f2fs_prepare_super_block()
702 enum quota_type qtype; in f2fs_write_check_point_pack() local
879 for (qtype = 0, i = 1; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_write_check_point_pack()
880 if (!((1 << qtype) & c.quota_bits)) in f2fs_write_check_point_pack()
882 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
884 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc145 ArrayRef<int64_t> shape, quant::UniformQuantizedPerAxisType qtype, in ResetAxisAndBroadcast() argument
151 SmallVector<double, 4> scales(qtype.getScales().begin(), in ResetAxisAndBroadcast()
152 qtype.getScales().end()); in ResetAxisAndBroadcast()
153 SmallVector<int64_t, 4> zero_points(qtype.getZeroPoints().begin(), in ResetAxisAndBroadcast()
154 qtype.getZeroPoints().end()); in ResetAxisAndBroadcast()
183 qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(), in ResetAxisAndBroadcast()
184 scales, zero_points, quant_dim, qtype.getStorageTypeMin(), in ResetAxisAndBroadcast()
185 qtype.getStorageTypeMax()); in ResetAxisAndBroadcast()
275 if (auto qtype = ele_type.dyn_cast<quant::UniformQuantizedPerAxisType>()) { in RescaleQuantizedType() local
276 ArrayRef<double> scales = qtype.getScales(); in RescaleQuantizedType()
[all …]
/external/iputils/ninfod/
Dninfod_core.c178 uint16_t qtype; member
187 .qtype = NI_QTYPE_NOOP,
193 .qtype = NI_QTYPE_SUPTYPES,
200 .qtype = NI_QTYPE_DNSNAME,
206 .qtype = NI_QTYPE_NODEADDR,
212 .qtype = NI_QTYPE_IPV4ADDR,
231 static __inline__ struct qtypeinfo *qtypeinfo_lookup(int qtype) in qtypeinfo_lookup() argument
233 if (qtype >= ARRAY_SIZE(qtypeinfo_table)) in qtypeinfo_lookup()
235 if (qtypeinfo_table[qtype].name == NULL) in qtypeinfo_lookup()
237 return &qtypeinfo_table[qtype]; in qtypeinfo_lookup()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dquantization.mlir5 // CHECK: %{{.*}} = "tfl.quantize"(%{{.*}}) {qtype = tensor<1x224x224x3x!quant.uniform<u8:f32, 7.…
7 // CHECK-NEXT: %{{.*}} = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<u8<1:255>:…
8 // CHECK-NEXT: %{{.*}} = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.70520…
12 …%0 = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>} …
13 …%1 = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.02182667837368…
14 …%2 = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.7052092479439231E-4>>, val…
24 …%1 = "tfl.quantize"(%arg0) {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.0>>, volatile} : (tensor<1…
25 …%cst = "tfl.pseudo_qconst"() {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.0>>, value = dense<-76> …
30 // CHECK-NEXT: %[[Q:.*]] = "tfl.quantize"(%arg0) {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.00000…
31 // CHECK-NEXT: %[[CST:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.000…
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_patterns.td115 // "qtype" attribute, we should update the type shape in this attribute.
118 (TFL_DequantizeOp (TFL_QuantizeOp $input, $qtype)), $perm),
121 (UpdateShapeWithAxis<-1> $qtype, $old_value))),
122 [(CanUpdateShapeWithAxis<-1> $qtype, $old_value)]>;
125 (TFL_DequantizeOp (TFL_QuantizeOp $input, $qtype)), $shape),
128 (UpdateShapeWithAxis<-1> $qtype, $old_value))),
129 [(CanUpdateShapeWithAxis<-1> $qtype, $old_value)]>;
135 (TFL_DequantizeOp (TFL_QuantizeOp $input, $qtype)), $perm),
138 (UpdateShapeWithAxis<0> $qtype, $old_value))),
140 (CanUpdateShapeWithAxis<0> $qtype, $old_value)],
[all …]
Dprepare_quantize_helper.h464 quant::UniformQuantizedType qtype; in processIntermediates() local
466 qtype = quantfork::fakeQuantAttrsToType( in processIntermediates()
472 qtype = quant::DownCastScale(qtype, calibrated_type.getMin(), in processIntermediates()
479 qtype = quantfork::fakeQuantAttrsToType( in processIntermediates()
489 TypeAttr::get(qtype.castFromExpressedType( in processIntermediates()
490 qtype.castToExpressedType(attr.getValue())))); in processIntermediates()
503 if (auto qtype = quant::GetUniformQuantizedTypeForBias(quant_params, in GetUniformQuantizedTypeForBiasWithScale()
507 qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(), in GetUniformQuantizedTypeForBiasWithScale()
508 qtype.getScale() * scale, qtype.getZeroPoint(), in GetUniformQuantizedTypeForBiasWithScale()
509 qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); in GetUniformQuantizedTypeForBiasWithScale()
/external/ipsec-tools/src/racoon/
Dgetcertsbyname.c70 getnewci(qtype, keytag, algorithm, flags, certlen, cert) in getnewci() argument
71 int qtype, keytag, algorithm, flags, certlen; in getnewci()
81 res->ci_type = qtype;
214 int qtype, qclass, keytag, algorithm; local
273 GETSHORT(qtype, cp); /* QTYPE */
286 GETSHORT(qtype, cp); /* TYPE */
292 if (qtype != T_CERT) {
299 GETSHORT(qtype, cp); /* type */
314 qtype, keytag, algorithm, rdlength);
318 cur->ci_next = getnewci(qtype, keytag, algorithm,

123456