class_docstr: Converts logical expressions to corresponding TF calls.
class_docstr_tok: ["Converts","logical","expressions","to","corresponding","TF","calls","."]
code: def _as_binary_operation(self, op, arg1, arg2):
      template = templates.replace_as_expression(
          "arg1 is arg2",
          arg1=arg1,
          arg2=arg2,  # Note: `is` will be replaced with `op` below.
      )
      template.ops[0] = op
      return template
  
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 4 for calling the LogicalExpressionTransformer obj's underlying member method code with example usage: obj._as_binary_operation(op, arg1, arg2) and returns: template