diff --git a/src/framework/data_transform.h b/src/framework/data_transform.h deleted file mode 100644 index dee78b296c715d018bd7b18811d83f2c8453459e..0000000000000000000000000000000000000000 --- a/src/framework/data_transform.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. - -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 -#include -#include - -#include "framework/op_kernel_type.h" -#include "framework/tensor.h" -#include "framework/variable.h" - -namespace paddle_mobile { -namespace framework { - -void DataTransform(const OpKernelType &expected_kernel_type, - const OpKernelType &kernel_type_for_var, - const Tensor &input_tensor, Tensor *out); - -void CopyVariableWithTensor(const Variable &in_var, const Tensor &tensor, - Variable *out_var); - -} // namespace framework -} // namespace paddle_mobile diff --git a/src/framework/program/program.cpp b/src/framework/program/program.cpp deleted file mode 100644 index 83e389917c76df50ea0380795b36ff012da01568..0000000000000000000000000000000000000000 --- a/src/framework/program/program.cpp +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. - -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. */ - -namespace paddle_mobile { -namespace framework {} -} // namespace paddle_mobile diff --git a/src/framework/program/tensor_desc.cpp b/src/framework/program/tensor_desc.cpp deleted file mode 100644 index 1b4bd93f6f19426407868052e5366ebeeaedda69..0000000000000000000000000000000000000000 --- a/src/framework/program/tensor_desc.cpp +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. - -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. */ - -// -// Created by liuRuiLong on 2018/5/26. -// - -#include "tensor_desc.h" diff --git a/src/framework/program/var_desc.cpp b/src/framework/program/var_desc.cpp deleted file mode 100644 index e54ae67b55c15540a0232dc6fdd97e70ae721ddb..0000000000000000000000000000000000000000 --- a/src/framework/program/var_desc.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. - -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. */ - -#include "var_desc.h" - -namespace paddle_mobile { - -namespace framework {} // namespace framework -} // namespace paddle_mobile