parameters: (self, nextLayer)
docstring: Sets the output characteristics based on the next layer
docstring_summary: Sets the output characteristics based on the next layer
docstring_tokens: Sets the output characteristics based on the next layer
function: def set_output_characteristics(self, nextLayer):
          """Sets the output characteristics based on the next layer"""
  
          if nextLayer:
              self.layer.ell_outputPaddingParameters = nextLayer.layer.ell_inputPaddingParameters
              self.layer.ell_outputShape = utilities.get_adjusted_shape(
                  self.layer.output.shape, self.layer.ell_outputPaddingParameters)
              self.layer.ell_outputShapeMinusPadding = utilities.get_shape(
                  self.layer.output.shape)
          else:
              # last layer
              self.layer.ell_outputPaddingParameters = ell.neural.NoPadding()
              self.layer.ell_outputShape = utilities.get_adjusted_shape(
                  self.layer.output.shape, ell.neural.NoPadding())
              self.layer.ell_outputShapeMinusPadding = self.layer.ell_outputShape
function_tokens: def set_output_characteristics ( self , nextLayer ) : if nextLayer : self . layer . ell_outputPaddingParameters = nextLayer . layer . ell_inputPaddingParameters self . layer . ell_outputShape = utilities . get_adjusted_shape ( self . layer . output . shape , self . layer . ell_outputPaddingParameters ) self . layer . ell_outputShapeMinusPadding = utilities . get_shape ( self . layer . output . shape ) else : # last layer self . layer . ell_outputPaddingParameters = ell . neural . NoPadding ( ) self . layer . ell_outputShape = utilities . get_adjusted_shape ( self . layer . output . shape , ell . neural . NoPadding ( ) ) self . layer . ell_outputShapeMinusPadding = self . layer . ell_outputShape