Home
last modified time | relevance | path

Searched refs:col_offset (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dquantized_instance_norm.cc45 for (uint32_t col_offset = 0; col_offset < cols; col_offset += 16) { in ColMeanAndVariance() local
55 const uint8_t* inp_ptr = input + col_offset; in ColMeanAndVariance()
120 vst1q_f32(mean + col_offset, vmulq_n_f32(vcvtq_f32_u32(sum[3]), inv_rows)); in ColMeanAndVariance()
121 vst1q_f32(mean + col_offset + 4, in ColMeanAndVariance()
123 vst1q_f32(mean + col_offset + 8, in ColMeanAndVariance()
125 vst1q_f32(mean + col_offset + 12, in ColMeanAndVariance()
128 vst1q_f32(variance + col_offset, vmulq_n_f32(M2A[3], inv_rows)); in ColMeanAndVariance()
129 vst1q_f32(variance + col_offset + 4, vmulq_n_f32(M2A[2], inv_rows)); in ColMeanAndVariance()
130 vst1q_f32(variance + col_offset + 8, vmulq_n_f32(M2A[1], inv_rows)); in ColMeanAndVariance()
131 vst1q_f32(variance + col_offset + 12, vmulq_n_f32(M2A[0], inv_rows)); in ColMeanAndVariance()
[all …]
/external/python/cpython3/Include/
DPython-ast.h204 int col_offset; member
364 int col_offset; member
407 int col_offset; member
423 int col_offset; member
453 int col_offset, PyArena *arena);
457 int lineno, int col_offset, PyArena *arena);
461 int col_offset, PyArena *arena);
463 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
465 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
469 col_offset, PyArena *arena);
[all …]
/external/python/cpython2/Include/
DPython-ast.h184 int col_offset; member
312 int col_offset; member
354 int col_offset; member
385 asdl_seq * decorator_list, int lineno, int col_offset,
389 asdl_seq * decorator_list, int lineno, int col_offset,
392 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
394 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
398 col_offset, PyArena *arena);
401 lineno, int col_offset, PyArena *arena);
404 col_offset, PyArena *arena);
[all …]
/external/python/cpython3/Python/
DPython-ast.c30 _Py_IDENTIFIER(col_offset);
1257 decorator_list, expr_ty returns, int lineno, int col_offset, in FunctionDef() argument
1281 p->col_offset = col_offset; in FunctionDef()
1287 * decorator_list, expr_ty returns, int lineno, int col_offset, in AsyncFunctionDef() argument
1311 p->col_offset = col_offset; in AsyncFunctionDef()
1317 body, asdl_seq * decorator_list, int lineno, int col_offset, PyArena in ClassDef() argument
1336 p->col_offset = col_offset; in ClassDef()
1341 Return(expr_ty value, int lineno, int col_offset, PyArena *arena) in Return() argument
1350 p->col_offset = col_offset; in Return()
1355 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete() argument
[all …]
Dfuture.c48 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset); in future_check_features()
53 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset); in future_check_features()
109 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset); in future_parse()
Dsymtable.c30 void *key, int lineno, int col_offset) in ste_new() argument
64 ste->ste_col_offset = col_offset; in ste_new()
172 int col_offset);
938 void *ast, int lineno, int col_offset) in symtable_enter_block() argument
942 ste = ste_new(st, name, block, ast, lineno, col_offset); in symtable_enter_block()
1118 data = Py_BuildValue("(Nii)", mangled, s->lineno, s->col_offset); in symtable_record_directive()
1150 s->col_offset)) in symtable_visit_stmt()
1166 (void *)s, s->lineno, s->col_offset)) in symtable_visit_stmt()
1203 s->col_offset); in symtable_visit_stmt()
1296 s->col_offset); in symtable_visit_stmt()
[all …]
Derrors.c1039 PyErr_SyntaxLocationObject(PyObject *filename, int lineno, int col_offset) in PyErr_SyntaxLocationObject() argument
1063 if (col_offset >= 0) { in PyErr_SyntaxLocationObject()
1064 tmp = PyLong_FromLong(col_offset); in PyErr_SyntaxLocationObject()
1103 PyErr_SyntaxLocationEx(const char *filename, int lineno, int col_offset) in PyErr_SyntaxLocationEx() argument
1113 PyErr_SyntaxLocationObject(fileobj, lineno, col_offset); in PyErr_SyntaxLocationEx()
/external/python/cpython2/Python/
DPython-ast.c1042 decorator_list, int lineno, int col_offset, PyArena *arena) in FunctionDef() argument
1064 p->col_offset = col_offset; in FunctionDef()
1070 decorator_list, int lineno, int col_offset, PyArena *arena) in ClassDef() argument
1087 p->col_offset = col_offset; in ClassDef()
1092 Return(expr_ty value, int lineno, int col_offset, PyArena *arena) in Return() argument
1101 p->col_offset = col_offset; in Return()
1106 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete() argument
1115 p->col_offset = col_offset; in Delete()
1120 Assign(asdl_seq * targets, expr_ty value, int lineno, int col_offset, PyArena in Assign() argument
1136 p->col_offset = col_offset; in Assign()
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_image_patch.cpp153 int col_offset = c*stride + j - col_padding; in test_simple_patch() local
155 …if (row_offset >= 0 && col_offset >= 0 && row_offset < tensor.dimension(1) && col_offset < tensor.… in test_simple_patch()
156 expected = tensor(d, row_offset, col_offset, b); in test_simple_patch()
164 …if (row_offset >= 0 && col_offset >= 0 && row_offset < tensor_row_major.dimension(2) && col_offset in test_simple_patch()
165 expected_row_major = tensor_row_major(b, col_offset, row_offset, d); in test_simple_patch()
233 int col_offset = c + j - col_padding; in test_patch_padding_valid() local
234 … if (row_offset >= 0 && col_offset >= 0 && row_offset < input_rows && col_offset < input_cols) { in test_patch_padding_valid()
235 expected = tensor(d, row_offset, col_offset, b); in test_patch_padding_valid()
236 expected_row_major = tensor_row_major(b, col_offset, row_offset, d); in test_patch_padding_valid()
306 int col_offset = c + j - col_padding; in test_patch_padding_valid_same_value() local
[all …]
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade.py184 node.lineno, node.col_offset, full_name, new_name)
226 col = node.col_offset
261 return node.lineno, node.col_offset
291 lineno, col_offset = self._find_true_position(arg)
292 if lineno is None or col_offset is None:
297 arg.col_offset,
307 (reordered[idx], full_name), lineno, col_offset,
338 argval.col_offset - len(argkey) - 1,
358 node.lineno, node.col_offset, full_name, new_text)
671 node.col_offset,
/external/python/cpython2/Lib/
Dast.py133 def _fix(node, lineno, col_offset): argument
141 node.col_offset = col_offset
143 col_offset = node.col_offset
145 _fix(child, lineno, col_offset)
Dtokenize.py195 col_offset = col - self.prev_col
196 if col_offset:
197 self.tokens.append(" " * col_offset)
/external/python/cpython3/Lib/
Dast.py138 def _fix(node, lineno, col_offset): argument
146 node.col_offset = col_offset
148 col_offset = node.col_offset
150 _fix(child, lineno, col_offset)
/external/python/cpython2/Parser/
Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) in shift() argument
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); in shift()
120 push(register stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) in push() argument
126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); in push()
221 int lineno, int col_offset, int *expected_ret) in PyParser_AddToken() argument
253 arrow, lineno, col_offset)) > 0) { in PyParser_AddToken()
263 x, lineno, col_offset)) > 0) { in PyParser_AddToken()
DPython.asdl49 -- col_offset is the byte offset in the utf8 string the parser uses
50 attributes (int lineno, int col_offset)
83 -- col_offset is the byte offset in the utf8 string the parser uses
84 attributes (int lineno, int col_offset)
105 attributes (int lineno, int col_offset)
Dparsetok.c157 int col_offset; in parsetok() local
193 col_offset = a - tok->line_start; in parsetok()
195 col_offset = -1; in parsetok()
198 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset, in parsetok()
Dnode.c79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) in PyNode_AddChild() argument
109 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython3/Parser/
Dparser.c108 shift(stack *s, int type, char *str, int newstate, int lineno, int col_offset) in shift() argument
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); in shift()
120 push(stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) in push() argument
126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); in push()
228 int lineno, int col_offset, int *expected_ret) in PyParser_AddToken() argument
260 arrow, lineno, col_offset)) > 0) { in PyParser_AddToken()
270 x, lineno, col_offset)) > 0) { in PyParser_AddToken()
DPython.asdl55 -- col_offset is the byte offset in the utf8 string the parser uses
56 attributes (int lineno, int col_offset)
95 -- col_offset is the byte offset in the utf8 string the parser uses
96 attributes (int lineno, int col_offset)
116 attributes (int lineno, int col_offset)
122 attributes (int lineno, int col_offset)
Dparsetok.c206 int col_offset; in parsetok() local
257 col_offset = Py_SAFE_DOWNCAST(a - tok->line_start, in parsetok()
260 col_offset = -1; in parsetok()
264 tok->lineno, col_offset, in parsetok()
Dnode.c79 PyNode_AddChild(node *n1, int type, char *str, int lineno, int col_offset) in PyNode_AddChild() argument
109 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython3/Doc/library/
Dast.rst60 col_offset
63 :attr:`lineno` and :attr:`col_offset` attributes. The :attr:`lineno` is
65 the :attr:`col_offset` is the UTF-8 byte offset of the first token that
84 node.operand.col_offset = 0
86 node.col_offset = 0
90 node = ast.UnaryOp(ast.USub(), ast.Num(5, lineno=0, col_offset=0),
91 lineno=0, col_offset=0)
144 :attr:`lineno` and :attr:`col_offset` attributes for every node that supports
158 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
/external/python/cpython2/Doc/library/
Dast.rst66 col_offset
69 :attr:`lineno` and :attr:`col_offset` attributes. The :attr:`lineno` is
71 the :attr:`col_offset` is the UTF-8 byte offset of the first token that
90 node.operand.col_offset = 0
92 node.col_offset = 0
96 node = ast.UnaryOp(ast.USub(), ast.Num(5, lineno=0, col_offset=0),
97 lineno=0, col_offset=0)
157 :attr:`lineno` and :attr:`col_offset` attributes for every node that supports
171 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py149 def _fix(node, lineno, col_offset): argument
157 node.col_offset = col_offset
159 col_offset = node.col_offset
161 _fix(child, lineno, col_offset)
/external/pdfium/third_party/libtiff/
D0017-safe_skews_in_gtTileContig.patch46 * Leftmost tile is clipped on left side if col_offset > 0.
48 leftmost_fromskew = img->col_offset % tw;

123