"src/fastertransformer/models/llama/LlamaLinear.h" did not exist on "720fc533da804ac3f46ee938864403e51fcd9fa7"
simplify_algebra.hpp 489 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
#ifndef MIGRAPH_GUARD_RTGLIB_SIMPLIFY_ALGEBRA_HPP
#define MIGRAPH_GUARD_RTGLIB_SIMPLIFY_ALGEBRA_HPP

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

7
8
namespace migraph {
inline namespace MIGRAPH_INLINE_NS {
Paul's avatar
Paul committed
9
10
11

struct program;

Paul's avatar
Paul committed
12
13
14
/**
 * Simplify many algebraic instructions to more efficient versions.
 */
Paul's avatar
Paul committed
15
16
17
18
19
20
struct simplify_algebra
{
    std::string name() const { return "simplify_algebra"; }
    void apply(program& p) const;
};

21
} // namespace MIGRAPH_INLINE_NS
Paul's avatar
Paul committed
22
23
24
} // namespace migraph

#endif