fwd_conv_batchnorm_rewrite.hpp 499 Bytes
Newer Older
1
2
3
4
5
#ifndef MIGRAPH_GUARD_RTGLIB_FWD_CONV_BATCHNORM_REWRITE_HPP
#define MIGRAPH_GUARD_RTGLIB_FWD_CONV_BATCHNORM_REWRITE_HPP

#include <string>
#include <migraph/instruction_ref.hpp>
6
#include <migraph/config.hpp>
7

8
namespace migraph { inline namespace MIGRAPH_INLINE_NS {
9
10
11
12
13
14
15
16
17

struct program;

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

18
} // inline namespace MIGRAPH_INLINE_NS
19
20
21
} // namespace migraph

#endif