parameters: (self, type)
docstring: Sets the type of operation the layer performs.
docstring_summary: Sets the type of operation the layer performs.
docstring_tokens: Sets the type of operation the layer performs .
function: def type(self, type):
          """Sets the type of operation the layer performs.
          """
          type_index = self.types.index(type)
  
          self._internal.set_type(type_index)
function_tokens: def type ( self , type ) : type_index = self . types . index ( type ) self . _internal . set_type ( type_index )