Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/image/
Dresize_bicubic_op.cc43 float* coeffs_table = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() local
46 coeffs_table[i * 2] = ((a + 2) * x - (a + 3)) * x * x + 1; in InitCoeffsTable()
48 coeffs_table[i * 2 + 1] = ((a * x - 5 * a) * x + 8 * a) * x - 4 * a; in InitCoeffsTable()
51 return coeffs_table; in InitCoeffsTable()
61 static const float* coeffs_table = InitCoeffsTable(-0.5f); in GetCoeffsTable() local
62 return coeffs_table; in GetCoeffsTable()
64 static const float* coeffs_table = InitCoeffsTable(-0.75f); in GetCoeffsTable() local
65 return coeffs_table; in GetCoeffsTable()
94 const float* coeffs_table = GetCoeffsTable(use_keys_cubic); in GetWeightsAndIndices() local
104 (out->index_0 == in_loc - 1 ? coeffs_table[offset * 2 + 1] : 0.0f); in GetWeightsAndIndices()
[all …]