eliminate_concat.hpp 522 Bytes
Newer Older
1
2
3
4
5
6
#ifndef MIGRAPH_GUARD_RTGLIB_ELIMINATE_CONCAT_HPP
#define MIGRAPH_GUARD_RTGLIB_ELIMINATE_CONCAT_HPP

#include <string>
#include <migraph/instruction_ref.hpp>
#include <migraph/concat_opt.hpp>
7
#include <migraph/config.hpp>
8
9

namespace migraph {
10
inline namespace MIGRAPH_INLINE_NS {
11
12
13
14
15

struct program;

struct eliminate_concat
{
Scott Thornton's avatar
Scott Thornton committed
16
    concat_optimization concat_opt;
17
18
19
20
    std::string name() const { return "eliminate_concat"; }
    void apply(program& p) const;
};

21
} // namespace MIGRAPH_INLINE_NS
22
23
24
} // namespace migraph

#endif