class_docstr: Interface for models realisations methods
  Contains abstract methods, which should be implemented for applying EA
  optimizer on it
class_docstr_tok: ["Interface","for","models","realisations","methods","Contains","abstract","methods",",","which","should","be","implemented","for","applying","EA","optimizer","on","it"]
docstr: Method prepare prediction of operation as OutputData object 
docstr_tok: ["Method","prepare","prediction","of","operation","as","OutputData","object"]
code: def _convert_to_output(
      input_data: InputData,
      predict: np.array,
      data_type: DataTypesEnum = DataTypesEnum.table,
  ):
      """Method prepare prediction of operation as OutputData object"""
  
      converted = _convert_to_output_function(
          input_data, predict, data_type
      )
      return converted
  
imports: from abc import ABC, abstractmethod
  from copy import deepcopy
  from typing import Optional
  import numpy
  from golem.core.log import default_log
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 6 for calling the ModelImplementation obj's underlying member method code with example usage: obj._convert_to_output(input_data, predict, data_type) and returns: converted