parameters: (self, program, name)
docstring: colective init op should call once, so remove other call.
docstring_summary: colective init op should call once, so remove other call.
docstring_tokens: colective init op should call once so remove other call .
function: def _remove_collective_ops(self, program, name):
          """
          colective init op should call once, so remove other call.
          """
          block = program.global_block()
          for ids, op in list(enumerate(block.ops)):
              if op.type == name:
                  block._remove_op(ids)
                  return
function_tokens: def _remove_collective_ops ( self , program , name ) : block = program . global_block ( ) for ids , op in list ( enumerate ( block . ops ) ) : if op . type == name : block . _remove_op ( ids ) return