From 6c98590bcde84ac428a0b32dbe500abc1cef8f4d Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Mon, 17 Aug 2020 13:37:00 +0300 Subject: [PATCH] Removed template headers for Fused Ops (#1780) --- ngraph/core/include/ngraph/op/fused/clamp.hpp | 19 ------------------- .../ngraph/op/fused/depth_to_space.hpp | 19 ------------------- .../include/ngraph/op/fused/fake_quantize.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/gelu.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/grn.hpp | 19 ------------------- .../core/include/ngraph/op/fused/gru_cell.hpp | 19 ------------------- .../include/ngraph/op/fused/hard_sigmoid.hpp | 19 ------------------- .../include/ngraph/op/fused/lstm_cell.hpp | 19 ------------------- .../include/ngraph/op/fused/lstm_sequence.hpp | 19 ------------------- .../core/include/ngraph/op/fused/matmul.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/mod.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/mvn.hpp | 19 ------------------- .../include/ngraph/op/fused/normalize_l2.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/prelu.hpp | 19 ------------------- .../core/include/ngraph/op/fused/rnn_cell.hpp | 19 ------------------- ngraph/core/include/ngraph/op/fused/selu.hpp | 19 ------------------- .../ngraph/op/fused/shuffle_channels.hpp | 19 ------------------- .../ngraph/op/fused/space_to_depth.hpp | 19 ------------------- .../ngraph/op/fused/squared_difference.hpp | 19 ------------------- .../core/include/ngraph/op/fused/squeeze.hpp | 19 ------------------- .../include/ngraph/op/fused/unsqueeze.hpp | 19 ------------------- 21 files changed, 399 deletions(-) delete mode 100644 ngraph/core/include/ngraph/op/fused/clamp.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/depth_to_space.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/fake_quantize.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/gelu.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/grn.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/gru_cell.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/hard_sigmoid.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/lstm_cell.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/lstm_sequence.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/matmul.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/mod.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/mvn.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/normalize_l2.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/prelu.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/rnn_cell.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/selu.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/shuffle_channels.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/space_to_depth.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/squared_difference.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/squeeze.hpp delete mode 100644 ngraph/core/include/ngraph/op/fused/unsqueeze.hpp diff --git a/ngraph/core/include/ngraph/op/fused/clamp.hpp b/ngraph/core/include/ngraph/op/fused/clamp.hpp deleted file mode 100644 index 24b1ce7e885..00000000000 --- a/ngraph/core/include/ngraph/op/fused/clamp.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/clamp.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/depth_to_space.hpp b/ngraph/core/include/ngraph/op/fused/depth_to_space.hpp deleted file mode 100644 index f8396b4eeee..00000000000 --- a/ngraph/core/include/ngraph/op/fused/depth_to_space.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/depth_to_space.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/fake_quantize.hpp b/ngraph/core/include/ngraph/op/fused/fake_quantize.hpp deleted file mode 100644 index 5d780e05d3c..00000000000 --- a/ngraph/core/include/ngraph/op/fused/fake_quantize.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/fake_quantize.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/gelu.hpp b/ngraph/core/include/ngraph/op/fused/gelu.hpp deleted file mode 100644 index 606297deea4..00000000000 --- a/ngraph/core/include/ngraph/op/fused/gelu.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/gelu.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/grn.hpp b/ngraph/core/include/ngraph/op/fused/grn.hpp deleted file mode 100644 index 634db49772b..00000000000 --- a/ngraph/core/include/ngraph/op/fused/grn.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/grn.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/gru_cell.hpp b/ngraph/core/include/ngraph/op/fused/gru_cell.hpp deleted file mode 100644 index 993685495ac..00000000000 --- a/ngraph/core/include/ngraph/op/fused/gru_cell.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/gru_cell.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/hard_sigmoid.hpp b/ngraph/core/include/ngraph/op/fused/hard_sigmoid.hpp deleted file mode 100644 index 1cf8c9c8d92..00000000000 --- a/ngraph/core/include/ngraph/op/fused/hard_sigmoid.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/hard_sigmoid.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/lstm_cell.hpp b/ngraph/core/include/ngraph/op/fused/lstm_cell.hpp deleted file mode 100644 index 10c5edb2a32..00000000000 --- a/ngraph/core/include/ngraph/op/fused/lstm_cell.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/lstm_cell.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/lstm_sequence.hpp b/ngraph/core/include/ngraph/op/fused/lstm_sequence.hpp deleted file mode 100644 index 8456b88536f..00000000000 --- a/ngraph/core/include/ngraph/op/fused/lstm_sequence.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/lstm_sequence.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/matmul.hpp b/ngraph/core/include/ngraph/op/fused/matmul.hpp deleted file mode 100644 index 683d7ad541c..00000000000 --- a/ngraph/core/include/ngraph/op/fused/matmul.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/matmul.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/mod.hpp b/ngraph/core/include/ngraph/op/fused/mod.hpp deleted file mode 100644 index b4e2c137fde..00000000000 --- a/ngraph/core/include/ngraph/op/fused/mod.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/mod.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/mvn.hpp b/ngraph/core/include/ngraph/op/fused/mvn.hpp deleted file mode 100644 index 627e1a37110..00000000000 --- a/ngraph/core/include/ngraph/op/fused/mvn.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/mvn.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/normalize_l2.hpp b/ngraph/core/include/ngraph/op/fused/normalize_l2.hpp deleted file mode 100644 index 8bcb99b7a68..00000000000 --- a/ngraph/core/include/ngraph/op/fused/normalize_l2.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/normalize_l2.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/prelu.hpp b/ngraph/core/include/ngraph/op/fused/prelu.hpp deleted file mode 100644 index dc315264778..00000000000 --- a/ngraph/core/include/ngraph/op/fused/prelu.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/prelu.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/rnn_cell.hpp b/ngraph/core/include/ngraph/op/fused/rnn_cell.hpp deleted file mode 100644 index 7e1b4646d6e..00000000000 --- a/ngraph/core/include/ngraph/op/fused/rnn_cell.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/rnn_cell.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/selu.hpp b/ngraph/core/include/ngraph/op/fused/selu.hpp deleted file mode 100644 index 804fb39816b..00000000000 --- a/ngraph/core/include/ngraph/op/fused/selu.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/selu.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/shuffle_channels.hpp b/ngraph/core/include/ngraph/op/fused/shuffle_channels.hpp deleted file mode 100644 index c1988c0c027..00000000000 --- a/ngraph/core/include/ngraph/op/fused/shuffle_channels.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/shuffle_channels.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/space_to_depth.hpp b/ngraph/core/include/ngraph/op/fused/space_to_depth.hpp deleted file mode 100644 index e72b7877346..00000000000 --- a/ngraph/core/include/ngraph/op/fused/space_to_depth.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/space_to_depth.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/squared_difference.hpp b/ngraph/core/include/ngraph/op/fused/squared_difference.hpp deleted file mode 100644 index 89f4c09f8f0..00000000000 --- a/ngraph/core/include/ngraph/op/fused/squared_difference.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/squared_difference.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/squeeze.hpp b/ngraph/core/include/ngraph/op/fused/squeeze.hpp deleted file mode 100644 index 70c8b445388..00000000000 --- a/ngraph/core/include/ngraph/op/fused/squeeze.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/squeeze.hpp" diff --git a/ngraph/core/include/ngraph/op/fused/unsqueeze.hpp b/ngraph/core/include/ngraph/op/fused/unsqueeze.hpp deleted file mode 100644 index 3d2bc6955a2..00000000000 --- a/ngraph/core/include/ngraph/op/fused/unsqueeze.hpp +++ /dev/null @@ -1,19 +0,0 @@ -//***************************************************************************** -// Copyright 2017-2020 Intel Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// 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. -//***************************************************************************** - -#pragma once - -#include "ngraph/op/unsqueeze.hpp"