passes.h 1.3 KB
Newer Older
S
superjomn 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// Copyright (c) 2019 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 "paddle/fluid/lite/core/mir/pass_registry.h"

namespace paddle {
namespace lite {
namespace mir {}  // namespace mir
}  // namespace lite
}  // namespace paddle

24
#ifndef LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
S
superjomn 已提交
25
USE_MIR_PASS(demo);
Z
Zhen Wang 已提交
26
USE_MIR_PASS(lite_fc_fuse_pass);
27
USE_MIR_PASS(lite_conv_elementwise_add_act_fuse_pass);
S
superjomn 已提交
28
USE_MIR_PASS(static_kernel_pick_pass);
29
USE_MIR_PASS(variable_place_inference_pass);
30
USE_MIR_PASS(type_target_transform_pass);
S
superjomn 已提交
31
USE_MIR_PASS(generate_program_pass);
S
superjomn 已提交
32 33
USE_MIR_PASS(io_copy_kernel_pick_pass);
USE_MIR_PASS(argument_type_display_pass);
34
#endif
35
USE_MIR_PASS(runtime_context_assign_pass);
36
USE_MIR_PASS(lite_conv_bn_fuse_pass);
37
USE_MIR_PASS(graph_visualze);