Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dresize_bicubic_op_test.cc65 float* coeffs_tab = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() local
69 coeffs_tab[i * 2] = ((A + 2) * x - (A + 3)) * x * x + 1; in InitCoeffsTable()
71 coeffs_tab[i * 2 + 1] = ((A * x - 5 * A) * x + 8 * A) * x - 4 * A; in InitCoeffsTable()
73 return coeffs_tab; in InitCoeffsTable()
78 static const float* coeffs_tab = InitCoeffsTable(); in GetCoeffsTable() local
79 return coeffs_tab; in GetCoeffsTable()
94 const float* coeffs_tab = GetCoeffsTable(); in GetWeightsAndIndices() local
95 *weights = {{coeffs_tab[offset * 2 + 1], coeffs_tab[offset * 2], in GetWeightsAndIndices()
96 coeffs_tab[(kTableSize - offset) * 2], in GetWeightsAndIndices()
97 coeffs_tab[(kTableSize - offset) * 2 + 1]}}; in GetWeightsAndIndices()