Home
last modified time | relevance | path

Searched refs:trunc_mod (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dfloor_mod.cc54 T trunc_mod = mod_func(input1, input2); in FloorMod() local
56 ? trunc_mod in FloorMod()
57 : mod_func(trunc_mod + input2, input2); in FloorMod()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc157 auto trunc_mod = xla::Rem(x, y); in FloorModImpl() local
158 return xla::Select(same_sign, trunc_mod, xla::Rem(xla::Add(trunc_mod, y), y)); in FloorModImpl()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops.h429 T trunc_mod = std::fmod(x, y);
430 return (x < T(0)) == (y < T(0)) ? trunc_mod : std::fmod(trunc_mod + y, y);
449 T trunc_mod = x % y;
450 return (x < T(0)) == (y < T(0)) ? trunc_mod : (trunc_mod + y) % y;