class_docstr: The layer that converts data type of its input
  
  :param input_layer: The input layer and the number of its output. If no number
      is specified, the first output will be connected.
  :type input_layer: object, tuple(object, int)
  :param output_type: Type of the output.
  :type output_type: str, 'float' or 'int', default='float'
  :param name: The layer name.
  :type name: str, default=None
docstr: Sets the output type.
          
docstr_tok: ["Sets","the","output","type","."]
code: 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))
  
file_path: neoml/NeoML/Python/neoml/Dnn/Cast.py
imports: import neoml.PythonWrapper
  from .Dnn import Layer
  from neoml.Utils import check_input_layers
label_desc: Use image node_id 3 for calling the Cast obj's underlying member method code with example usage: obj.output_type(output_type) without return types