diff --git a/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h b/paddle/fluid/operators/ngraph/ops/elementwise_add_op.h index 84f3dd6b07ff59e686eb5e52952fbd7cbca3a163..868df51e16a9714a750bac64dadc3441de79165e 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 95aa5b9da810d605f4085a7d5db3ecb87bdd618b..8732932dedd4401853325b629877880cc90f6cb6 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 9dabc2a5b7181a4cdc68a8162606565ae8885c1f..1e3f87aabe4c8595b781d9feafec9490fe514c12 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