constant_propagate.hpp 428 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
#ifndef MIGRAPH_GUARD_RTGLIB_CONSTANT_PROPAGATE_HPP
#define MIGRAPH_GUARD_RTGLIB_CONSTANT_PROPAGATE_HPP

#include <string>
5
#include <migraph/config.hpp>
Paul's avatar
Paul committed
6

7
namespace migraph { inline namespace MIGRAPH_INLINE_NS {
Paul's avatar
Paul committed
8
9
10
11
12
13
14
15
16

struct program;

struct constant_propagate
{
    std::string name() const { return "constant_propagate"; }
    void apply(program& p) const;
};

17
} // inline namespace MIGRAPH_INLINE_NS
Paul's avatar
Paul committed
18
19
20
} // namespace migraph

#endif