class_docstr: Converts logical expressions to corresponding TF calls.
class_docstr_tok: ["Converts","logical","expressions","to","corresponding","TF","calls","."]
code: def _as_lambda(self, expr):
      return templates.replace_as_expression("lambda: expr", expr=expr)
  
file_path: DALI/dali/python/nvidia/dali/_autograph/converters/logical_expressions.py
imports: import gast
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import templates
label_desc: Use image node_id 2 for calling the LogicalExpressionTransformer obj's underlying member method code with example usage: obj._as_lambda(expr) and returns: templates