parameters: (self, name, input, axes=[2])
return_statement: return self.layer(name=name, op="Squeeze", inputs=[input_tensor], outputs=[name + ":0"], attrs={'axes': axes})
docstring: Adds to the graph an Squeeze node for the given axes and to the given input.
      :param self: The gs.Graph object being extended.
      :param name: The name to use for the node.
      :param input: The tensor to be "squeezed".
      :param axes: A list of axes on which to remove a dimension(s).
      :return: The first output tensor, to allow chained graph construction.
docstring_summary: Adds to the graph an Squeeze node for the given axes and to the given input.
      :param self: The gs.Graph object being extended.
      :param name: The name to use for the node.
      :param input: The tensor to be "squeezed".
      :param axes: A list of axes on which to remove a dimension(s).
      :return: The first output tensor, to allow chained graph construction.
docstring_tokens: Adds to the graph an Squeeze node for the given axes and to the given input . : param self : The gs . Graph object being extended . : param name : The name to use for the node . : param input : The tensor to be squeezed . : param axes : A list of axes on which to remove a dimension ( s ) . : return : The first output tensor to allow chained graph construction .
function: def squeeze(self, name, input, axes=[2]):
      """
      Adds to the graph an Squeeze node for the given axes and to the given input.
      :param self: The gs.Graph object being extended.
      :param name: The name to use for the node.
      :param input: The tensor to be "squeezed".
      :param axes: A list of axes on which to remove a dimension(s).
      :return: The first output tensor, to allow chained graph construction.
      """
      input_tensor = input if type(input) is gs.Variable else input[0]
      log.debug("Created Squeeze node '{}': {}".format(name, axes))
      return self.layer(name=name, op="Squeeze", inputs=[input_tensor], outputs=[name + ":0"], attrs={'axes': axes})
function_tokens: def squeeze ( self , name , input , axes = [ 2 ] ) : input_tensor = input if type ( input ) is gs . Variable else input [ 0 ] log . debug ( "Created Squeeze node '{}': {}" . format ( name , axes ) ) return self . layer ( name = name , op = "Squeeze" , inputs = [ input_tensor ] , outputs = [ name + ":0" ] , attrs = { 'axes' : axes } )