#ifndef MIGRAPHX_GUARD_OPERATORS_NEG_HPP #define MIGRAPHX_GUARD_OPERATORS_NEG_HPP #include #include #include #include #include #include #include #include #include #include #include namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace op { struct neg : unary { auto apply() const { return [](auto x) { return -x; }; } }; } // namespace op } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx #endif