class_docstr: Converts logical expressions to corresponding TF calls.
class_docstr_tok: ["Converts","logical","expressions","to","corresponding","TF","calls","."]
code: def _as_binary_function(self, func_name, arg1, arg2):
      return templates.replace_as_expression(
          "func_name(arg1, arg2)",
          func_name=parser.parse_expression(func_name),
          arg1=arg1,
          arg2=arg2,
      )
  
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 3 for calling the LogicalExpressionTransformer obj's underlying member method code with example usage: obj._as_binary_function(func_name, arg1, arg2) and returns: templates