Home
last modified time | relevance | path

Searched refs:add_attr (Results 1 – 23 of 23) sorted by relevance

/external/cronet/net/data/verify_name_match_unittest/scripts/
Dgenerate_names.py17 def add_attr(self, attr_type, attr_value_type, attr_value, member in RDN
107 n.add_rdn().add_attr('countryName', 'PRINTABLESTRING', 'US')
108 n.add_rdn().add_attr('stateOrProvinceName',
111 n.add_rdn().add_attr('localityName',
118 n_extra_attr.rdns[-1].add_attr('organizationName',
123 n_dupe_attr.rdns[-1].add_attr(*n_dupe_attr.rdns[-1].attrs[-1])
126 n_extra_rdn.add_rdn().add_attr('organizationName',
139 n.add_rdn().add_attr('countryName', 'PRINTABLESTRING', 'JP')
140 n.add_rdn().add_attr('localityName',
150 n.add_rdn().add_attr('countryName', 'PRINTABLESTRING', 'JP')
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/
Dfuse_add_to_conv.cc37 void FuseBiasWithAddAttributes(const ElementwiseAttributes& add_attr, in FuseBiasWithAddAttributes() argument
40 auto add = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&add_attr.param); in FuseBiasWithAddAttributes()
41 auto add_scalar = absl::get_if<float>(&add_attr.param); in FuseBiasWithAddAttributes()
65 ElementwiseAttributes add_attr = in ApplyToNodesSequence() local
68 add_attr.param) && in ApplyToNodesSequence()
69 !absl::holds_alternative<float>(add_attr.param)) { in ApplyToNodesSequence()
78 FuseConvolution2DWithAdd(add_attr, conv_attr); in ApplyToNodesSequence()
84 FuseConvolutionTransposedWithAdd(add_attr, conv_attr); in ApplyToNodesSequence()
90 FuseDepthwiseConvolution2DWithAdd(add_attr, conv_attr); in ApplyToNodesSequence()
96 FuseFullyConnectedWithAdd(add_attr, conv_attr); in ApplyToNodesSequence()
[all …]
Dfuse_add_to_conv_test.cc58 ElementwiseAttributes add_attr; in TEST() local
59 add_attr.param = add_tensor; in TEST()
66 add_node->operation.attributes = add_attr; in TEST()
101 ElementwiseAttributes add_attr; in TEST() local
102 add_attr.param = add_tensor; in TEST()
104 FuseConvolution2DWithAdd(add_attr, &attr); in TEST()
122 ElementwiseAttributes add_attr; in TEST() local
123 add_attr.param = add_tensor; in TEST()
125 FuseDepthwiseConvolution2DWithAdd(add_attr, &attr); in TEST()
144 ElementwiseAttributes add_attr; in TEST() local
[all …]
Dfuse_add_to_conv.h39 void FuseConvolution2DWithAdd(const ElementwiseAttributes& add_attr,
45 void FuseDepthwiseConvolution2DWithAdd(const ElementwiseAttributes& add_attr,
51 void FuseConvolutionTransposedWithAdd(const ElementwiseAttributes& add_attr,
57 void FuseFullyConnectedWithAdd(const ElementwiseAttributes& add_attr,
Dadd_quant_adjustments_test.cc60 ElementwiseAttributes add_attr; in TEST() local
61 add_attr.param = add_tensor; in TEST()
64 add_node->operation.attributes = add_attr; in TEST()
104 ElementwiseAttributes add_attr; in TEST() local
105 add_attr.param = add_tensor; in TEST()
108 add1_node->operation.attributes = add_attr; in TEST()
Dmerge_padding_with.cc153 ElementwiseAttributes add_attr = in ApplyToNode() local
156 absl::holds_alternative<Tensor<HWC, DataType::FLOAT32>>(add_attr.param); in ApplyToNode()
159 add_attr.param); in ApplyToNode()
160 const bool is_add_scalar = absl::holds_alternative<float>(add_attr.param); in ApplyToNode()
Dmerge_padding_with_test.cc137 ElementwiseAttributes add_attr; in TEST() local
142 add_node->operation.attributes = add_attr; in TEST()
175 ElementwiseAttributes add_attr; in TEST() local
176 add_attr.param = Tensor<HWC, DataType::FLOAT32>(); in TEST()
181 add_node->operation.attributes = add_attr; in TEST()
/external/cronet/net/data/name_constraints_unittest/
Dgenerate_name_constraints.py317 n_us.add_rdn().add_attr('countryName', 'PRINTABLESTRING', 'US')
320 n_us_az.add_rdn().add_attr('stateOrProvinceName', 'UTF8', 'Arizona')
323 n_us_ca.add_rdn().add_attr('stateOrProvinceName', 'UTF8', 'California')
326 n_us_ca_mountain_view.add_rdn().add_attr(
331 n_jp.add_rdn().add_attr('countryName', 'PRINTABLESTRING', 'JP')
334 n_jp_tokyo.add_rdn().add_attr(
339 n_us_az_foodotcom.add_rdn().add_attr('commonName', 'UTF8', 'foo.com')
343 n_us_az_permittedexamplecom.add_rdn().add_attr('commonName', 'UTF8',
349 n_us_ca_permittedexamplecom.add_rdn().add_attr('commonName', 'UTF8',
355 n_us_az_ip1111.add_rdn().add_attr('commonName', 'UTF8', '1.1.1.1')
[all …]
/external/libcups/ppdc/
Dppdc-import.cxx105 driver->add_attr(new ppdcAttr("NickName", NULL, NULL, ppd->nickname)); in import_ppd()
108 driver->add_attr(new ppdcAttr("ShortNickName", NULL, NULL, in import_ppd()
309 driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text, in import_ppd()
320 driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text, in import_ppd()
Dppdc-source.cxx836 d->add_attr(new ppdcAttr("cupsFlipDuplex", NULL, NULL, "true")); in get_duplex()
848 d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Flipped")); in get_duplex()
850 d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Rotated")); in get_duplex()
852 d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "ManualTumble")); in get_duplex()
854 d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Normal")); in get_duplex()
2652 d->add_attr(a); in scan_file()
Dppdc.h394 void add_attr(ppdcAttr *a) { attrs->add(a); } in add_attr() function
/external/selinux/python/sepolgen/src/sepolgen/
Dinterfaces.py210 def add_attr(self, attr): member in AttributeSet
228 self.add_attr(a)
235 self.add_attr(a)
/external/rust/crates/serde-xml-rs/src/ser/
Dmap.rs68 self.ser.add_attr(&key[1..], to_plain_string(value)?) in serialize_struct_field()
Dmod.rs146 fn add_attr(&mut self, name: &'static str, value: String) -> Result<()> { in add_attr() function
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py457 for message_attr, add_attr, include_error in [
474 addFunction = getattr(result, add_attr)
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def.cc63 auto* api_def_attr = api_def->add_attr(); in FillBaseApiDef()
/external/tensorflow/tensorflow/core/ir/importexport/
Dfunctiondef_export.cc173 OpDef_AttrDef *func_attr = signature->add_attr(); in ConvertGenericFunctionToFunctionDef()
/external/tensorflow/tensorflow/core/framework/
Dgraph_def_util_test.cc165 OpDef::AttrDef* attr = producer_op_list.mutable_op(0)->add_attr(); in TEST()
Dop_gen_lib.cc329 auto* api_attr = api_def->add_attr(); in InitApiDefFromOpDef()
Dgraph_to_functiondef.cc285 OpDef::AttrDef* attr_def = fdef->mutable_signature()->add_attr(); in FillFunctionBody()
Dop_def_builder.cc152 OpDef::AttrDef* attr = op_def->add_attr(); in FinalizeAttr()
/external/python/cpython3/Lib/unittest/test/
Dtest_result.py678 for message_attr, add_attr, include_error in [
695 addFunction = getattr(result, add_attr)
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder.cc413 ElementwiseAttributes add_attr; in Parse() local
414 add_attr.param = clamp_a_; in Parse()
416 node_add->operation.attributes = std::move(add_attr); in Parse()