def METHOD_NAME(option, subg):
    printer = SubgraphPrinter(option.print_level, subg)
    if option.print_all_tensor == False:
        printer.SetPrintSpecificTensors(option.print_tensor_index)
    if option.print_all_operator == False:
        printer.SetPrintSpecificOperators(option.print_operator_index)
    printer.PrintInfo()