parameters: (program)
return_statement: return all_ops
docstring: Return all ops for the input program.
docstring_summary: Return all ops for the input program.
docstring_tokens: Return all ops for the input program .
function: def program_all_ops(program):
      """
      Return all ops for the input program.
      """
      all_ops = []
      for block in program.blocks:
          for op in block.ops:
              all_ops.append(op)
      return all_ops
function_tokens: def program_all_ops ( program ) : all_ops = [ ] for block in program . blocks : for op in block . ops : all_ops . append ( op ) return all_ops