Home
last modified time | relevance | path

Searched refs:else_ (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_select.cc49 const Tensor* else_; in Compute() local
52 OP_REQUIRES_OK(ctx, ctx->input("e", &else_)); in Compute()
55 ComputeScalar(ctx, cond, then, else_); in Compute()
63 ComputeBroadcasting(ctx, cond, then, else_); in Compute()
65 ComputeElementwise(ctx, cond, then, else_); in Compute()
71 const Tensor* then, const Tensor* else_) { in ComputeBroadcasting() argument
100 ctx, then->shape().IsSameSize(else_->shape()), in ComputeBroadcasting()
104 else_->shape().DebugString())); in ComputeBroadcasting()
113 else_->flat_outer_dims<T>()); in ComputeBroadcasting()
118 const Tensor* then, const Tensor* else_) { in ComputeElementwise() argument
[all …]
/external/python/cpython2/Lib/compiler/
Dast.py503 def __init__(self, assign, list, body, else_, lineno=None): argument
507 self.else_ = else_
515 children.append(self.else_)
523 if self.else_ is not None:
524 nodelist.append(self.else_)
528 …urn "For(%s, %s, %s, %s)" % (repr(self.assign), repr(self.list), repr(self.body), repr(self.else_))
692 def __init__(self, tests, else_, lineno=None): argument
694 self.else_ = else_
700 children.append(self.else_)
706 if self.else_ is not None:
[all …]
Dpycodegen.py429 if node.else_:
430 self.visit(node.else_)
437 else_ = self.newBlock()
447 self.emit('POP_JUMP_IF_FALSE', else_ or after)
453 self.startBlock(else_) # or just the POPs if not else clause
456 if node.else_:
457 self.visit(node.else_)
480 if node.else_:
481 self.visit(node.else_)
541 self.visit(node.else_)
[all …]
Dsymbols.py327 if node.else_:
328 self.visit(node.else_, scope)
402 if node.else_:
403 self.visit(node.else_, scope)
Dtransformer.py602 else_ = self.com_node(nodelist[4])
603 return IfExp(test, then, else_, lineno=nodelist[1][2])
/external/python/cpython2/Tools/compiler/
Dast.txt21 For: assign, list, body, else_&
22 While: test, body, else_&
24 If: tests!, else_&
25 IfExp: test, then, else_
31 TryExcept: body, handlers!, else_&
/external/python/cpython2/Doc/library/
Dcompiler.rst186 :attr:`else_`. (If the natural name for an attribute is also a Python reserved
188 word to make it a legal identifier, hence :attr:`else_` instead of
197 :attr:`else_`. The :attr:`tests` attribute is a sequence of test expression,
328 | | :attr:`else_` | |
372 | | :attr:`else_` | |
480 | | :attr:`else_` | |
496 | | :attr:`else_` | |
/external/libchrome/third_party/jinja2/
Didtracking.py181 branch = node.else_
235 else_symbols = inner_visit(node.else_ or ())
Dparser.py201 else_ = []
203 else_ = self.parse_statements(('name:endfor',), drop_needle=True)
204 return nodes.For(target, iter, body, else_, test,
215 node.else_ = []
222 result.else_ = self.parse_statements(('name:endif',),
Dcompiler.py1041 if node.else_:
1087 if node.else_:
1123 if node.else_:
1127 and not node.else_)
1129 if node.else_:
1133 self.blockvisit(node.else_, else_frame)
1169 if node.else_:
1172 self.blockvisit(node.else_, if_frame)
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml48 | Ast.If (cond, then_, else_) ->
74 let else_val = codegen_expr else_ in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml48 | Ast.If (cond, then_, else_) ->
74 let else_val = codegen_expr else_ in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml48 | Ast.If (cond, then_, else_) ->
74 let else_val = codegen_expr else_ in
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml66 | Ast.If (cond, then_, else_) ->
92 let else_val = codegen_expr else_ in
/external/v8/src/parsing/
Dscanner.h643 inline Token::Value Select(uc32 next, Token::Value then, Token::Value else_) { in Select() argument
649 return else_; in Select()
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml66 | Ast.If (cond, then_, else_) ->
92 let else_val = codegen_expr else_ in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml66 | Ast.If (cond, then_, else_) ->
92 let else_val = codegen_expr else_ in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml96 | Ast.If (cond, then_, else_) ->
122 let else_val = codegen_expr else_ in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml96 | Ast.If (cond, then_, else_) ->
122 let else_val = codegen_expr else_ in
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml96 | Ast.If (cond, then_, else_) ->
122 let else_val = codegen_expr else_ in
/external/autotest/contrib/
Dcoverage.py229 if node.else_:
230 self.doPlainWordSuite(prevsuite, node.else_)
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DOCamlLangImpl5.rst240 | Ast.If (cond, then_, else_) ->
309 let else_val = codegen_expr else_ in
1048 | Ast.If (cond, then_, else_) ->
1074 let else_val = codegen_expr else_ in
DOCamlLangImpl6.rst1125 | Ast.If (cond, then_, else_) ->
1151 let else_val = codegen_expr else_ in
/external/llvm/docs/tutorial/
DOCamlLangImpl5.rst252 | Ast.If (cond, then_, else_) ->
321 let else_val = codegen_expr else_ in
1060 | Ast.If (cond, then_, else_) ->
1086 let else_val = codegen_expr else_ in
DOCamlLangImpl6.rst1125 | Ast.If (cond, then_, else_) ->
1151 let else_val = codegen_expr else_ in

12