Home
last modified time | relevance | path

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

/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.h35 void FuseConvolution2DWithAdd(const ElementwiseAttributes& add_attr,
41 void FuseDepthwiseConvolution2DWithAdd(const ElementwiseAttributes& add_attr,
47 void FuseConvolutionTransposedWithAdd(const ElementwiseAttributes& add_attr,
53 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/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/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_result.py382 for message_attr, add_attr, include_error in [
396 addFunction = getattr(result, add_attr)
/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.cc61 auto* api_def_attr = api_def->add_attr(); in FillBaseApiDef()
/external/python/cpython3/Lib/unittest/test/
Dtest_result.py593 for message_attr, add_attr, include_error in [
610 addFunction = getattr(result, add_attr)
/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.cc328 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.cc150 OpDef::AttrDef* attr = op_def->add_attr(); in FinalizeAttr()