class_docstr: Connect4 Game class implementing the alpha-zero-general Game interface.
  
  Use 1 for player1 and -1 for player2.
docstr: Board is left/right board symmetric
  
  Input:
      board: current board
      pi: policy vector of size self.getActionSize()
  
  Returns:
      symmForms: a list of [(board,pi)] where each tuple is a symmetrical
                 form of the board and the corresponding pi vector. This
                 is used when training the neural network from examples.
docstr_tok: ["Board","is","left\/right","board","symmetric","Input",":","board",":","current","board","pi",":","policy","vector","of","size","self.getActionSize","(",")","Returns",":","symmForms",":","a","list","of","[","(","board",",","pi",")","]","where","each","tuple","is","a","symmetrical","form","of","the","board","and","the","corresponding","pi","vector",".","This","is","used","when","training","the","neural","network","from","examples","."]
code: def getSymmetries(self, board, pi):
      """Board is left/right board symmetric
  
      Input:
          board: current board
          pi: policy vector of size self.getActionSize()
  
      Returns:
          symmForms: a list of [(board,pi)] where each tuple is a symmetrical
                     form of the board and the corresponding pi vector. This
                     is used when training the neural network from examples.
      """
      return [
          (board, pi),
          (
              np.array(board[:, ::-1], copy=True),
              np.array(pi[::-1], copy=True),
          ),
      ]
  
imports: import numpy
  from collections import namedtuple
label_desc: Use image node_id 9 for calling the Connect4Game obj's underlying member method code with example usage: obj.getSymmetries(board, pi) and returns: list