#include "verify_program.hpp" #include #include #include template struct test_logsoftmax : verify_program> { migraphx::program create_program() const { migraphx::program p; migraphx::shape s{T, {10, 4, 2080, 6}}; auto param = p.add_parameter("0", s); p.add_instruction(migraphx::op::logsoftmax{Axis}, param); return p; } }; template struct test_logsoftmax<0, migraphx::shape::float_type>; template struct test_logsoftmax<1, migraphx::shape::float_type>; template struct test_logsoftmax<2, migraphx::shape::float_type>; template struct test_logsoftmax<3, migraphx::shape::float_type>; template struct test_logsoftmax<1, migraphx::shape::double_type>; template struct test_logsoftmax<3, migraphx::shape::double_type>; template struct test_logsoftmax<1, migraphx::shape::half_type>; template struct test_logsoftmax<0, migraphx::shape::half_type>; template struct test_logsoftmax<2, migraphx::shape::half_type>; template struct test_logsoftmax<3, migraphx::shape::half_type>;