quantize_ins.cpp 621 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <migraphx/quantize_ins.hpp>
#include <migraphx/program.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/iterator_for.hpp>
#include <migraphx/stringutils.hpp>
#include <utility>

namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {

void quantize_ins(program& prog, const std::vector<std::string>& ins_names)
{
    for (auto ins : iterator_for(prog))
    {
        auto name_it = std::find(ins_name.begin(), ins_name.end(), ins->name());
        if (name_it == ins_name.end())
        {
            continue;
        }

        
    }
}

} // namespace MIGRAPHX_INLINE_NS
} // namespace migraphx