class_docstr: Slices the input at a specific axis and at specific indices.
  
  Parameters
  ----------
  incoming : a :class:`Layer` instance or a tuple
      The layer feeding into this layer, or the expected input shape
  
  indices : int or slice instance
      If an ``int``, selects a single element from the given axis, dropping
      the axis. If a slice, selects all elements in the given range, keeping
      the axis.
  
  axis : int
      Specifies the axis from which the indices are selected.
  
  Examples
  --------
  >>> from lasagne.layers import SliceLayer, InputLayer
  >>> l_in = InputLayer((2, 3, 4))
  >>> SliceLayer(l_in, indices=0, axis=1).output_shape
  ... # equals input[:, 0]
  (2, 4)
  >>> SliceLayer(l_in, indices=slice(0, 1), axis=1).output_shape
  ... # equals input[:, 0:1]
  (2, 1, 4)
  >>> SliceLayer(l_in, indices=slice(-2, None), axis=-1).output_shape
  ... # equals input[..., -2:]
  (2, 3, 2)
code: def get_output_shape_for(self, input_shape):
      output_shape = list(input_shape)
      if isinstance(self.slice, int_types):
          del output_shape[self.axis]
      elif input_shape[self.axis] is not None:
          output_shape[self.axis] = len(
              range(*self.slice.indices(input_shape[self.axis]))
          )
      else:
          output_shape[self.axis] = None
      return tuple(output_shape)
  
imports: import numpy
  import theano.tensor
  from ..theano_extensions import padding
  from ..utils import int_types
  from .base import Layer
label_desc: Use image node_id 2 for calling the SliceLayer obj's underlying member method code with example usage: obj.get_output_shape_for(input_shape) and returns: tuple