Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_select.cc46 const Tensor* else_ = &ctx->input(2); in Compute() local
49 ComputeScalar(ctx, cond, then, else_); in Compute()
57 ComputeBroadcasting(ctx, cond, then, else_); in Compute()
59 ComputeElementwise(ctx, cond, then, else_); in Compute()
65 const Tensor* then, const Tensor* else_) { in ComputeBroadcasting() argument
94 ctx, then->shape().IsSameSize(else_->shape()), in ComputeBroadcasting()
98 else_->shape().DebugString())); in ComputeBroadcasting()
107 else_->flat_outer_dims<T>()); in ComputeBroadcasting()
112 const Tensor* then, const Tensor* else_) { in ComputeElementwise() argument
120 then->flat<T>(), else_->flat<T>()); in ComputeElementwise()
[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)
/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/python/jinja/src/jinja2/
Didtracking.py183 branch = node.else_
238 else_symbols = inner_visit(node.else_ or ())
Dcompiler.py1011 if node.else_:
1060 if node.else_:
1094 if node.else_:
1098 loop_frame, with_python_scope=node.recursive and not node.else_
1101 if node.else_:
1105 self.blockvisit(node.else_, else_frame)
1141 if node.else_:
1144 self.blockvisit(node.else_, if_frame)
Dparser.py208 else_ = []
210 else_ = self.parse_statements(("name:endfor",), drop_needle=True)
211 return nodes.For(target, iter, body, else_, test, recursive, lineno=lineno)
220 node.else_ = []
227 result.else_ = self.parse_statements(("name:endif",), drop_needle=True)
/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/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml48 | Ast.If (cond, then_, else_) ->
74 let else_val = codegen_expr else_ in
/external/llvm-project/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/Chapter6/
Dcodegen.ml66 | Ast.If (cond, then_, else_) ->
92 let else_val = codegen_expr else_ in
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DSeparateCompoundExpressions.cpp469 TIntermTyped *else_ = node.getFalseExpression(); in visitTernaryPost() local
475 TIntermTyped *newElse = pullMappedExpr(else_, false); in visitTernaryPost()
/external/llvm-project/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml66 | Ast.If (cond, then_, else_) ->
92 let else_val = codegen_expr else_ in
/external/llvm-project/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/starlark-go/syntax/
Dparse.go528 else_ := p.parseTest()
529 return &CondExpr{If: ifpos, Cond: cond, True: x, ElsePos: elsepos, False: else_}
/external/autotest/contrib/
Dcoverage.py229 if node.else_:
230 self.doPlainWordSuite(prevsuite, node.else_)
/external/rust/crates/syn/src/
Dexpr.rs3040 fn maybe_wrap_else(tokens: &mut TokenStream, else_: &Option<(Token![else], Box<Expr>)>) { in maybe_wrap_else()
3041 if let Some((else_token, else_)) = else_ { in maybe_wrap_else()
3046 match **else_ { in maybe_wrap_else()
3048 else_.to_tokens(tokens); in maybe_wrap_else()
3052 else_.to_tokens(tokens); in maybe_wrap_else()
/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
/external/llvm-project/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
/external/tensorflow/tensorflow/core/ops/
Dmath_ops.cc900 ShapeHandle else_ = c->input(2); in __anon725c8f640502() local
903 BroadcastBinaryOpOutputShapeFnHelper(c, then, else_, true, &other)); in __anon725c8f640502()

12