Make TF_CALL_REAL_NUMBER_TYPES() and related macros include Eigen::half
in addition to float. Explicitly exempt GPU effects that rely on atomics, for which we have no good solution for half yet. Add some fixes in various places (some in Eigen, some in kernels) to make it all compile. Note that there are still ops that don't _declare_ half support (those that use \u201callnumbertypes\u201d or similar do, those that use \u201cfloat, double\u201d don't); these will be fixed in a forthcoming commit. Change: 119409234
Showing
想要评论请 注册 或 登录