/frameworks/ml/nn/runtime/test/specs/V1_0/ |
H A D | concat_float_2.mod.py | 22 col = 230 variable 25 input1 = Input("input1", "TENSOR_FLOAT32", "{%d, %d}" % (row1, col)) # input tensor 1 26 input2 = Input("input2", "TENSOR_FLOAT32", "{%d, %d}" % (row2, col)) # input tensor 2 28 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (output_row, col)) # output 32 input1_values = [x for x in range(row1 * col)] 33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 37 output_values = [x for x in range(output_row * col)]
|
H A D | concat_quant8_2.mod.py | 22 col = 300 variable 25 input1 = Input("input1", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (row1, col)) 26 input2 = Input("input2", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (row2, col)) 28 output = Output("output", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (output_row, col)) 32 input1_values = [x % 256 for x in range(row1 * col)] 33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 37 output_values = [x % 256 for x in range(output_row * col)]
|
H A D | avg_pool_float_2.mod.py | 22 col = 60 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_values = [1. for _ in range(bat * row * col * chn)]
|
H A D | avg_pool_float_3.mod.py | 22 col = 180 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_values = [x % 2 for x in range(bat * row * col * chn)]
|
H A D | avg_pool_float_4.mod.py | 22 col = 60 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_values = [10 for _ in range(bat * row * col * chn)]
|
H A D | avg_pool_quant8_2.mod.py | 22 col = 60 variable 25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_values = [255 for _ in range(bat * row * col * chn)]
|
H A D | avg_pool_quant8_3.mod.py | 22 col = 100 variable 25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_values = [x % 4 * 2 for x in range(bat * row * col * chn)]
|
H A D | max_pool_float_2.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_range = bat * row * col * chn
|
H A D | max_pool_float_3.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_range = bat * row * col * chn
|
H A D | max_pool_quant8_2.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_range = bat * row * col * chn
|
H A D | max_pool_quant8_3.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 45 input_range = bat * row * col * chn
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
H A D | concat_float_2_relaxed.mod.py | 22 col = 230 variable 25 input1 = Input("input1", "TENSOR_FLOAT32", "{%d, %d}" % (row1, col)) # input tensor 1 26 input2 = Input("input2", "TENSOR_FLOAT32", "{%d, %d}" % (row2, col)) # input tensor 2 28 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (output_row, col)) # output 33 input1_values = [x for x in range(row1 * col)] 34 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 38 output_values = [x for x in range(output_row * col)]
|
H A D | avg_pool_float_2_relaxed.mod.py | 22 col = 60 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 46 input_values = [1. for _ in range(bat * row * col * chn)]
|
H A D | avg_pool_float_3_relaxed.mod.py | 22 col = 180 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 46 input_values = [x % 2 for x in range(bat * row * col * chn)]
|
H A D | avg_pool_float_4_relaxed.mod.py | 22 col = 60 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 46 input_values = [10 for _ in range(bat * row * col * chn)]
|
H A D | max_pool_float_2_relaxed.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 46 input_range = bat * row * col * chn
|
H A D | max_pool_float_3_relaxed.mod.py | 22 col = 70 variable 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) 36 output_col = (col + 2 * pad - flt + std) // std 46 input_range = bat * row * col * chn
|
/frameworks/rs/ |
H A D | rsMatrix2x2.h | 28 inline float get(uint32_t col, uint32_t row) const { argument 29 return m[col*2 + row]; 32 inline void set(uint32_t col, uint32_t row, float v) { argument 33 m[col*2 + row] = v;
|
H A D | rsMatrix3x3.h | 28 inline float get(uint32_t col, uint32_t row) const { argument 29 return m[col*3 + row]; 32 inline void set(uint32_t col, uint32_t row, float v) { argument 33 m[col*3 + row] = v;
|
H A D | rsMatrix4x4.h | 28 float get(uint32_t col, uint32_t row) const { argument 29 return m[col*4 + row]; 32 void set(uint32_t col, uint32_t row, float v) { argument 33 m[col*4 + row] = v;
|
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/ |
H A D | CoordinatorLayoutTest.java | 92 final CoordinatorLayout col = mActivityTestRule.getActivity().mCoordinatorLayout; 93 final View view = new View(col.getContext()); 99 .onApplyWindowInsets(same(col), same(view), any(WindowInsetsCompat.class)); 102 assertFalse(col.getFitsSystemWindows()); 109 final CoordinatorLayout.LayoutParams lp = col.generateDefaultLayoutParams(); 111 col.addView(view, lp); 120 col.requestApplyInsets(); 127 .onApplyWindowInsets(same(col), same(view), any(WindowInsetsCompat.class)); 133 col.setFitsSystemWindows(true); 140 .onApplyWindowInsets(same(col), sam 241 dependsOn(CoordinatorLayout.LayoutParams lpChild, CoordinatorLayout.LayoutParams lpDependency, CoordinatorLayout col, View child, View dependency) argument [all...] |
H A D | CoordinatorLayoutSortTest.java | 76 final CoordinatorLayout col = mActivityTestRule.getActivity().mCoordinatorLayout; 84 final View view = new View(col.getContext()) { 97 CoordinatorLayout.LayoutParams lp = col.generateDefaultLayoutParams(); 111 addViewsAndAssertOrdering(col, views, testOrder); 114 private void addViewsAndAssertOrdering(final CoordinatorLayout col, argument 123 col.addView(addOrder.get(i)); 130 assertEquals(expectedOrder, col.getDependencySortedChildren()); 136 col.removeAllViews();
|
/frameworks/support/content/src/main/java/androidx/contentpager/content/ |
H A D | InMemoryCursor.java | 109 for (int col = 0; col < numColumns; col++) { 110 int type = cursor.getType(col); 111 mColumnType[col] = type; 112 mTypedColumnIndex[type][col] = mColumnTypeCount[type]++; 126 for (int col = 0; col < mColumnType.length; col++) { 127 int type = mColumnType[col]; 156 getCellPosition(int row, int col, int type) argument [all...] |
/frameworks/native/libs/math/include/math/ |
H A D | mat2.h | 284 for (size_t col = 0; col < NUM_COLS; ++col) { 285 m_value[col] = col_type(rhs[col]); 301 for (size_t col = 0; col < NUM_COLS; ++col) { 303 m_value[col][row] = *rawArray++; 325 for (size_t col [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 72 for (int col = 0; col < mColumnCount; col++) { 73 final int childIndex = row * mColumnCount + col; 138 for (int col = 0; col < mColumnCount; col++) { 142 childIndex = row * mColumnCount + (mColumnCount - col - 1); 144 childIndex = row * mColumnCount + col;
|