/external/tensorflow/tensorflow/core/framework/ |
D | common_shape_fns_test.cc | 410 auto set_op = [&op](const std::vector<int32>& strides, const string& padding, in TEST() local 430 set_op({{1, 1, 0, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 434 set_op({{1, 1, 1, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 438 set_op({{1, 1, 1, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 442 set_op({{1, 2, 2, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 446 set_op({{1, 2, 1, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 450 set_op({{1, 1, 2, 1}}, "VALID", "NHWC", "HWIO"); in TEST() 467 set_op({{1, 1, 1, 1}}, "VALID", "NCHW", "HWIO"); in TEST() 471 set_op({{1, 1, 1, 1}}, "VALID", "NCHW", "HWIO"); in TEST() 475 set_op({{1, 1, 2, 2}}, "VALID", "NCHW", "HWIO"); in TEST() [all …]
|
D | graph_def_util_test.cc | 249 function_def->add_node_def()->set_op(op); in TEST() 251 graph_def.add_node()->set_op("F"); in TEST() 257 node->set_op(op); in TEST() 296 b->add_node_def()->set_op("A"); in TEST() 297 c->add_node_def()->set_op("B"); in TEST() 299 b->add_node_def()->set_op("B"); in TEST() 300 c->add_node_def()->set_op("C"); in TEST() 304 graph_def.add_node()->set_op("C"); in TEST()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | strip_unused_nodes_test.cc | 43 add_node->set_op("Add"); in TestSimpleAdd() 49 a_node->set_op("Const"); in TestSimpleAdd() 53 b_node->set_op("Const"); in TestSimpleAdd() 57 c_node->set_op("Const"); in TestSimpleAdd() 75 add_node1->set_op("Add"); in TestCommonAncestor() 81 add_node2->set_op("Add"); in TestCommonAncestor() 87 add_node3->set_op("Add"); in TestCommonAncestor() 93 const_node1->set_op("Const"); in TestCommonAncestor() 97 const_node2->set_op("Const"); in TestCommonAncestor() 101 const_node3->set_op("Const"); in TestCommonAncestor() [all …]
|
D | sort_by_execution_order_test.cc | 44 add_node->set_op("Add"); in TestSimpleAdd() 50 b_node->set_op("Const"); in TestSimpleAdd() 54 a_node->set_op("Const"); in TestSimpleAdd() 71 negative_node->set_op("Negative"); in TestSimpleLinear() 76 relu_node->set_op("Relu"); in TestSimpleLinear() 81 sqrt_node->set_op("Sqrt"); in TestSimpleLinear() 86 const_node->set_op("Const"); in TestSimpleLinear() 104 add_node1->set_op("Add"); in TestSimpleTree() 110 add_node2->set_op("Add"); in TestSimpleTree() 116 add_node3->set_op("Add"); in TestSimpleTree() [all …]
|
D | remove_nodes_test.cc | 43 add_node1->set_op("Add"); in TestRemoveNodes() 49 add_node2->set_op("Add"); in TestRemoveNodes() 55 add_node3->set_op("Add"); in TestRemoveNodes() 61 identity_node1->set_op("Identity"); in TestRemoveNodes() 66 identity_node2->set_op("Identity"); in TestRemoveNodes() 71 identity_node3->set_op("Identity"); in TestRemoveNodes() 76 const_node1->set_op("Const"); in TestRemoveNodes() 80 const_node2->set_op("Const"); in TestRemoveNodes() 84 const_node3->set_op("Const"); in TestRemoveNodes() 88 add_node4->set_op("Add"); in TestRemoveNodes() [all …]
|
D | backports_test.cc | 47 mul_node1->set_op("Mul"); in TestBackportConcatV2() 53 add_node2->set_op("Add"); in TestBackportConcatV2() 59 add_node3->set_op("Add"); in TestBackportConcatV2() 65 const_node1->set_op("Const"); in TestBackportConcatV2() 69 const_node2->set_op("Const"); in TestBackportConcatV2() 73 const_node3->set_op("Const"); in TestBackportConcatV2() 77 concat_node->set_op("ConcatV2"); in TestBackportConcatV2() 113 size_node->set_op("Const"); in TEST() 120 tensor_array_node->set_op("TensorArrayV3"); in TEST() 130 handle_output_node->set_op("Identity"); in TEST() [all …]
|
D | obfuscate_names_test.cc | 43 add_node1->set_op("Add"); in TestSimpleTree() 49 add_node2->set_op("Add"); in TestSimpleTree() 55 add_node3->set_op("Add"); in TestSimpleTree() 61 const_node1->set_op("Const"); in TestSimpleTree() 65 const_node2->set_op("Const"); in TestSimpleTree() 69 const_node3->set_op("Const"); in TestSimpleTree() 73 const_node4->set_op("Const"); in TestSimpleTree() 96 const_node->set_op("Const"); in TestManyNodes() 115 const_node->set_op("Const"); in TestNameClashes()
|
D | remove_device_test.cc | 43 mul_node1->set_op("Mul"); in TestRemoveDevice() 50 add_node2->set_op("Add"); in TestRemoveDevice() 57 add_node3->set_op("Add"); in TestRemoveDevice() 63 const_node1->set_op("Const"); in TestRemoveDevice() 67 const_node2->set_op("Const"); in TestRemoveDevice() 71 const_node3->set_op("Const"); in TestRemoveDevice() 75 add_node4->set_op("Add"); in TestRemoveDevice()
|
D | rename_op_test.cc | 43 mul_node1->set_op("Mul"); in TestRenameOp() 49 add_node2->set_op("Add"); in TestRenameOp() 55 add_node3->set_op("Add"); in TestRenameOp() 61 const_node1->set_op("Const"); in TestRenameOp() 65 const_node2->set_op("Const"); in TestRenameOp() 69 const_node3->set_op("Const"); in TestRenameOp() 73 add_node4->set_op("Add"); in TestRenameOp()
|
D | set_device_test.cc | 42 mul_node1->set_op("Mul"); in CreateDeviceGraph() 49 add_node2->set_op("Add"); in CreateDeviceGraph() 56 add_node3->set_op("Add"); in CreateDeviceGraph() 62 const_node1->set_op("Const"); in CreateDeviceGraph() 66 const_node2->set_op("Const"); in CreateDeviceGraph() 70 const_node3->set_op("Const"); in CreateDeviceGraph() 74 add_node4->set_op("Add"); in CreateDeviceGraph()
|
D | remove_attribute_test.cc | 43 mul_node1->set_op("Mul"); in TestRemoveAttribute() 51 add_node2->set_op("Add"); in TestRemoveAttribute() 60 add_node3->set_op("Add"); in TestRemoveAttribute() 66 const_node1->set_op("Const"); in TestRemoveAttribute() 70 const_node2->set_op("Const"); in TestRemoveAttribute() 74 const_node3->set_op("Const"); in TestRemoveAttribute() 78 add_node4->set_op("Add"); in TestRemoveAttribute()
|
D | rename_attribute_test.cc | 43 mul_node1->set_op("Mul"); in TestRenameAttribute() 51 add_node2->set_op("Add"); in TestRenameAttribute() 60 add_node3->set_op("Add"); in TestRenameAttribute() 66 const_node1->set_op("Const"); in TestRenameAttribute() 70 const_node2->set_op("Const"); in TestRenameAttribute() 74 const_node3->set_op("Const"); in TestRenameAttribute() 78 add_node4->set_op("Add"); in TestRenameAttribute()
|
D | backports.cc | 40 concat_node.set_op("Concat"); in BackportConcatV2Transform() 81 tensor_array_v2_node.set_op("TensorArrayV2"); in BackportTensorArrayV3Transform() 83 tensor_array_v2_node.set_op("TensorArrayGradV2"); in BackportTensorArrayV3Transform() 89 replacement_flow_node.set_op("Const"); in BackportTensorArrayV3Transform() 123 v2_node.set_op(v3_node.op().substr(0, v3_node.op().size() - 1) + "2"); in BackportTensorArrayV3Transform()
|
D | quantize_nodes.cc | 340 min_node.set_op("Const"); in QuantizePlaceholders() 349 max_node.set_op("Const"); in QuantizePlaceholders() 359 dequantize_node.set_op("Dequantize"); in QuantizePlaceholders() 418 quantize_node.set_op("QuantizeV2"); in ConvertFakeQuantsToRequantize() 428 requantize_node.set_op("Requantize"); in ConvertFakeQuantsToRequantize() 441 dequantize_node.set_op("Dequantize"); in ConvertFakeQuantsToRequantize() 743 reshape_dims.set_op("Const"); in QuantizeNodes() 753 reduction_dims.set_op("Const"); in QuantizeNodes() 764 reshape_node.set_op("Reshape"); in QuantizeNodes() 772 min_node.set_op("Min"); in QuantizeNodes() [all …]
|
D | quantize_weights.cc | 100 quantized_const_node.set_op("Const"); in QuantizeWeights() 109 min_node.set_op("Const"); in QuantizeWeights() 118 max_node.set_op("Const"); in QuantizeWeights() 127 dequantize_node.set_op("Dequantize"); in QuantizeWeights()
|
D | fuse_convolutions.cc | 62 fused_conv.set_op("FusedResizeAndPadConv2D"); in FuseResizePadAndConv() 108 pad_dims_node.set_op("Const"); in FuseResizeAndConv() 117 fused_conv.set_op("FusedResizeAndPadConv2D"); in FuseResizeAndConv() 174 fused_conv.set_op("FusedPadConv2D"); in FusePadAndConv()
|
D | sparsify_gather.cc | 84 node_def->set_op("Const"); in CreateConstNode() 371 hashtable_node.set_op("HashTable"); in SparsifyGatherInternal() 378 init_table_node.set_op("InitializeTable"); in SparsifyGatherInternal() 387 lookup_node.set_op("LookupTableFind"); in SparsifyGatherInternal() 404 dim_idx_node.set_op("Const"); in SparsifyGatherInternal() 412 expand_dims_node.set_op("ExpandDims"); in SparsifyGatherInternal() 463 init_op->set_op("NoOp"); in SparsifyGatherInternal() 534 replaced_graph_def.mutable_node(i)->set_op("Identity"); in SparsifyGatherInternal()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | export_tensorflow.cc | 160 const_op->set_op("Const"); in ConvertFloatTensorConst() 202 const_op->set_op("Const"); in ConvertFloatTensorConst() 225 const_op->set_op("Const"); in ConvertBoolTensorConst() 249 const_op->set_op("Const"); in ConvertIntTensorConst() 272 const_op->set_op("Const"); in CreateIntTensorConst() 297 const_op->set_op("Const"); in ConvertComplex64TensorConst() 320 const_op->set_op("Const"); in CreateMatrixShapeTensorConst() 338 const_op->set_op("Const"); in CreateDummyConcatDimTensorConst() 353 const_op->set_op("Const"); in CreateReshapeShapeTensorConst() 393 conv2d_op->set_op("Conv2D"); in ConvertConvOperator() [all …]
|
/external/tensorflow/tensorflow/core/ops/ |
D | nn_ops_test.cc | 184 auto set_op = [&op](bool is_training, string data_format) { in TEST() local 196 set_op(true, "NHWC"); in TEST() 210 set_op(true, "NCHW"); in TEST() 224 set_op(false, "NHWC"); in TEST() 242 set_op(false, "NCHW"); in TEST() 263 auto set_op = [&op](string data_format) { in TEST() local 274 set_op("NHWC"); in TEST() 290 set_op("NCHW"); in TEST() 458 auto set_op = [&op](const std::vector<int32>& strides, in TEST() local 471 set_op({1, 1, 1, 1}, {1, 1, 1, 1}, "VALID"); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer_test.cc | 39 node.set_op("Conv2D"); in TEST() 69 node.set_op("Conv2D"); in TEST() 99 node.set_op("Conv2D"); in TEST() 129 node.set_op("Conv2D"); in TEST() 151 node.set_op("Conv2D"); in TEST() 162 node.set_op("Conv2D"); in GetDefaultDeviceName() 211 node.set_op("Conv2D"); in TEST() 261 node.set_op("Conv2D"); in TEST() 277 node.set_op("Conv2D"); in TEST() 297 node.set_op("Conv2D"); in TEST()
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | single_machine_test.cc | 246 shp->set_op("Const"); in RunInfiniteTFLoop() 255 r->set_op("RandomUniform"); in RunInfiniteTFLoop() 262 e->set_op("Enter"); in RunInfiniteTFLoop() 269 m->set_op("Merge"); in RunInfiniteTFLoop() 277 t->set_op("Const"); in RunInfiniteTFLoop() 287 c->set_op("LoopCond"); in RunInfiniteTFLoop() 293 s->set_op("Switch"); in RunInfiniteTFLoop() 299 i->set_op("Identity"); in RunInfiniteTFLoop() 305 n->set_op("NextIteration"); in RunInfiniteTFLoop() 311 x->set_op("Exit"); in RunInfiniteTFLoop() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | remapper.cc | 499 fused_conv2d->set_op(kFusedConv2D); in AddFusedConv2DNode() 527 fused_conv2d->set_op(kFusedConv2D); in AddFusedConv2DNode() 557 fused_conv2d->set_op(kFusedConv2D); in AddFusedConv2DNode() 586 fused_conv2d->set_op(kFusedConv2D); in AddFusedConv2DNode() 613 fused_conv2d->set_op(kFusedConv2D); in AddFusedConv2DNode() 647 new_shape->set_op("Const"); in AddBatchNormNodes() 662 reshaped_scale->set_op("Reshape"); in AddBatchNormNodes() 673 reshaped_offset->set_op("Reshape"); in AddBatchNormNodes() 684 reshaped_mean->set_op("Reshape"); in AddBatchNormNodes() 695 reshaped_variance->set_op("Reshape"); in AddBatchNormNodes() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_test.cc | 46 x->set_op("Placeholder"); in SumGraph() 50 y->set_op("Placeholder"); in SumGraph() 54 sum->set_op("Add"); in SumGraph()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | hoist_random_uniform.cc | 46 stateless_map.set_op("MapDataset"); in MakeStatelessMap() 71 random_dataset.set_op("ExperimentalRandomDataset"); in MakeRandomDataset() 92 batch_dataset.set_op("BatchDatasetV2"); in MakeBatchTwo() 119 zip_node.set_op("ZipDataset"); in MakeZipNode() 168 random_uniform->set_op("StatelessRandomUniform"); in MakeLessStatefulFunction()
|
/external/iproute2/ip/ |
D | iplink_geneve.c | 72 bool set_op = (n->nlmsg_type == RTM_NEWLINK && in geneve_parse_opt() local 194 if (!set_op && !daddr && IN6_IS_ADDR_UNSPECIFIED(&daddr6)) { in geneve_parse_opt() 207 if (!set_op || GENEVE_ATTRSET(attrs, IFLA_GENEVE_LABEL)) in geneve_parse_opt() 209 if (!set_op || GENEVE_ATTRSET(attrs, IFLA_GENEVE_TTL)) in geneve_parse_opt() 211 if (!set_op || GENEVE_ATTRSET(attrs, IFLA_GENEVE_TOS)) in geneve_parse_opt()
|