提交 f131c79e 编写于 作者: W wangliu

modify code style

上级 f3483251
......@@ -118,7 +118,7 @@ class FusionOpMatcher : PaddleMobileObject {
virtual std::string Type() = 0;
virtual void FolderNodes(const Node &node) {
virtual void FolderNodes(Node &node) {
node.Folder(node_.Depth(), Type(), {});
}
......
......@@ -12,7 +12,7 @@ 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 "/io.h"
#include "io/io.h"
#include <fstream>
#include <vector>
#include "common/enforce.h"
......
......@@ -32,7 +32,7 @@ class FusionFcMatcher : public framework::FusionOpMatcher {
node_ > std::make_shared<framework::Node>("elementwise_add");
}
void FolderNodes(const framework::Node &node) {
void FolderNodes(framework::Node &node) {
vector<std::shared_ptr<framework::OpDesc>> origin_descs =
node.OpDescs(node_.Depth());
node.Folder(node_.Depth(), Type(), {{"elementwise_add", {"Y", "Z"}}});
......
......@@ -22,6 +22,7 @@ limitations under the License. */
namespace paddle_mobile {
namespace operators {
using framework::AttributeMap;
using framework::OperatorWithKernel;
using framework::Scope;
using std::string;
template <typename DeviceType, typename T>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册