Home
last modified time | relevance | path

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

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_block_sizes2.cpp258 int y_weight = (((1024 + ydim / 2) / (ydim - 1)) * y * (y_weights - 1) + 32) >> 6; in initialize_decimation_table_2d() local
261 int y_weight_frac = y_weight & 0xF; in initialize_decimation_table_2d()
263 int y_weight_int = y_weight >> 4; in initialize_decimation_table_2d()
344 int y_weight = (((1024 + ydim / 2) / (ydim - 1)) * y * (y_weights - 1) + 32) >> 6; in initialize_decimation_table_3d() local
348 int y_weight_frac = y_weight & 0xF; in initialize_decimation_table_3d()
351 int y_weight_int = y_weight >> 4; in initialize_decimation_table_3d()
/external/tensorflow/tensorflow/core/kernels/
Dquantized_resize_bilinear_op_test.cc118 const std::tuple<int64, int64, float> y_weight = GetReferenceWeight( in CalcReferenceResizedVal() local
125 b * in_batch_num_values + std::get<0>(y_weight) * in_row_size; in CalcReferenceResizedVal()
127 b * in_batch_num_values + std::get<1>(y_weight) * in_row_size; in CalcReferenceResizedVal()
132 const float ys_lerp = std::get<2>(y_weight); in CalcReferenceResizedVal()
/external/tensorflow/tensorflow/core/kernels/image/
Dscale_and_translate_op_test.cc131 float y_weight = kernel.Value(y_kernel_pos * one_over_kernel_scale.y()); in Sample() local
135 float kernel_weight = y_weight * x_weight; in Sample()