Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dquantized_resize_bilinear_op.cc38 template <typename T_SCALE>
45 std::vector<T_SCALE> ilerp;
48 template <typename T_SCALE, typename Scaler>
51 const int resolution, InterpolationCache<T_SCALE>* interpolation) { in ComputeInterpolationWeights()
69 static_cast<T_SCALE>((in - in_f) * (1 << resolution)); in ComputeInterpolationWeights()
73 template <typename T_SCALE>
74 inline InterpolationCache<T_SCALE> BuildLerpCache( in BuildLerpCache()
77 InterpolationCache<T_SCALE> cache; in BuildLerpCache()
80 ComputeInterpolationWeights<T_SCALE, HalfPixelScaler>( in BuildLerpCache()
83 ComputeInterpolationWeights<T_SCALE, LegacyScaler>(out_size, in_size, scale, in BuildLerpCache()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h406 …loat eMaj_dt = (vMax->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SCALE; in NAME()
407 …loat eBot_dt = (vMid->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SCALE; in NAME()
692 t0 = vLower->attrib[VARYING_SLOT_TEX0][1] * T_SCALE; in NAME()
930 #undef T_SCALE
Ds_triangle.c124 #define T_SCALE theight macro
182 #define T_SCALE theight macro
538 #define T_SCALE theight macro