Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dutils.h215 const T abs_y = fabs(y); in FastAtan2() local
218 T r = (x - abs_y) / (x + abs_y); in FastAtan2()
221 T r = (x + abs_y) / (abs_y - x); in FastAtan2()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc124 auto abs_y = xla::Abs(y); in FloorDivImpl() local
125 auto t = xla::Neg(xla::Sub(xla::Add(abs_x, abs_y), one)); in FloorDivImpl()
126 return xla::Select(different_sign, xla::Div(t, abs_y), xla::Div(x, y)); in FloorDivImpl()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops.h354 T abs_y = std::abs(y);
355 return -(abs_x + abs_y - 1) / abs_y;
368 Packet abs_y = pabs(y);
370 Packet ratio_rounded = pdiv(pnegate(psub(padd(abs_x, abs_y), ones)), abs_y);