Home
last modified time | relevance | path

Searched refs:unique_node (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_layout_pass.cc3068 std::unordered_set<Node*> unique_node; in MergeConv2DWithBiasAdd() local
3071 auto result = unique_node.insert(e->src()); in MergeConv2DWithBiasAdd()
3077 unique_node.clear(); in MergeConv2DWithBiasAdd()
3081 auto result = unique_node.insert(e->src()); in MergeConv2DWithBiasAdd()
3087 unique_node.clear(); in MergeConv2DWithBiasAdd()
3093 auto result = unique_node.insert(e->dst()); in MergeConv2DWithBiasAdd()
3099 unique_node.clear(); in MergeConv2DWithBiasAdd()
3104 auto result = unique_node.insert(e->dst()); in MergeConv2DWithBiasAdd()
3370 std::unordered_set<Node*> unique_node; in MergeConv2DBackpropFilterWithBiasAddGrad() local
3373 auto result = unique_node.insert(e->src()); in MergeConv2DBackpropFilterWithBiasAddGrad()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc3552 NodeDef* unique_node = nullptr; in TrySimplify() local
3553 TF_RETURN_IF_ERROR(GetInputNode(gather_node->input(1), &unique_node)); in TrySimplify()
3554 if (!IsUnique(*unique_node) || IsInPreserveSet(*unique_node) || in TrySimplify()
3555 unique_node->device() != gather_node->device()) in TrySimplify()
3557 if (unique_node->op() == "UniqueV2" && !IsAxis0(*unique_node, 1)) in TrySimplify()
3561 TF_RETURN_IF_ERROR(GetNodeAttr(*unique_node, "T", &unique_element_type)); in TrySimplify()
3566 if (idx_tensor != TensorId(unique_node->name(), 1)) return Status::OK(); in TrySimplify()
3577 reduction_node->set_input(1, unique_node->input(0)); in TrySimplify()
3580 unique_node->input(0)); in TrySimplify()