From eff90eb9414eb0e3884f6e1f3bfd5111d4dde6d4 Mon Sep 17 00:00:00 2001 From: mozga-intel Date: Tue, 8 Jan 2019 16:48:56 +0100 Subject: [PATCH] PADDLE_WITH_NGRAPH was removed from the code test=develop --- paddle/fluid/operators/ngraph/ops/elementwise_add_op.h | 2 -- .../operators/ngraph/ops/elementwise_binary_prepare_node.h | 2 -- paddle/fluid/operators/ngraph/ops/elementwise_node.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h b/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h index 84f3dd6b0..868df51e1 100644 --- a/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h +++ b/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h @@ -12,7 +12,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#ifdef PADDLE_WITH_NGRAPH #pragma once #include @@ -86,4 +85,3 @@ void BuildElementwiseAddGradNode( } // namespace ngraphs } // namespace operators } // namespace paddle -#endif diff --git a/paddle/fluid/operators/ngraph/ops/elementwise_binary_prepare_node.h b/paddle/fluid/operators/ngraph/ops/elementwise_binary_prepare_node.h index 95aa5b9da..8732932de 100644 --- a/paddle/fluid/operators/ngraph/ops/elementwise_binary_prepare_node.h +++ b/paddle/fluid/operators/ngraph/ops/elementwise_binary_prepare_node.h @@ -12,7 +12,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#ifdef PADDLE_WITH_NGRAPH #pragma once #include @@ -75,4 +74,3 @@ ngraph::NodeVector ElementwiseBinaryNodePrepare( } // namespace ngraphs } // namespace operators } // namespace paddle -#endif diff --git a/paddle/fluid/operators/ngraph/ops/elementwise_node.h b/paddle/fluid/operators/ngraph/ops/elementwise_node.h index 9dabc2a5b..1e3f87aab 100644 --- a/paddle/fluid/operators/ngraph/ops/elementwise_node.h +++ b/paddle/fluid/operators/ngraph/ops/elementwise_node.h @@ -12,7 +12,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#ifdef PADDLE_WITH_NGRAPH #pragma once #include @@ -62,4 +61,3 @@ void BuildElementwiseCompareNode( } // namespace ngraphs } // namespace operators } // namespace paddle -#endif -- GitLab