parameters: (self, output_type)
docstring: Sets the output type.
docstring_summary: Sets the output type.
docstring_tokens: Sets the output type .
function: def output_type(self, output_type):
          """Sets the output type.
          """
          if output_type != 'float' and output_type != 'int':
              raise ValueError('The `output_type` must be `int` or `float`')
          self._internal.set_output_type(str(output_type))
function_tokens: def output_type ( self , output_type ) : if output_type != 'float' and output_type != 'int' : raise ValueError ( 'The `output_type` must be `int` or `float`' ) self . _internal . set_output_type ( str ( output_type ) )