Home
last modified time | relevance | path

Searched refs:fyc (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dresize.cc74 std::string fyc; in GetResizeCode() local
77 fyc = "(Y + 0.5f) * args.scale_factor_y"; in GetResizeCode()
80 fyc = "Y * args.scale_factor_y"; in GetResizeCode()
84 fyc += " + 0.5f"; in GetResizeCode()
88 c += " coord.y = INIT_INT(" + fyc + ");\n"; in GetResizeCode()
213 std::string fyc; in GetResize3DCode() local
217 fyc = "(Y + 0.5f) * args.scale_factor_y"; in GetResize3DCode()
221 fyc = "Y * args.scale_factor_y"; in GetResize3DCode()
226 fyc += " + 0.5f"; in GetResize3DCode()
231 c += " coord.y = INIT_INT(" + fyc + ");\n"; in GetResize3DCode()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dresize.cc101 std::string fyc; in GenerateCode() local
104 fyc = "(float(gid.y) + 0.5) * $scale_factor.y$"; in GenerateCode()
107 fyc = "float(gid.y) * $scale_factor.y$"; in GenerateCode()
111 fyc += " + 0.5"; in GenerateCode()
115 source += " coord.y = int(" + fyc + ");\n"; in GenerateCode()