class_docstr: A base class for keras optimized model.
class_docstr_tok: ["A","base","class","for","keras","optimized","model","."]
docstr: Preprocess inputs, such as convert inputs to numpy ndarray.
docstr_tok: ["Preprocess","inputs",",","such","as","convert","inputs","to","numpy","ndarray","."]
code: def preprocess(self, args: Sequence[Any], kwargs: Dict[str, Any]):
      """Preprocess inputs, such as convert inputs to numpy ndarray."""
      invalidInputError(
          False, "preprocess function is not implemented."
      )
  
file_path: BigDL/python/nano/src/bigdl/nano/tf/model.py
imports: from pathlib import Path
  from typing import Sequence, Any, Union, Dict
  import yaml
  import tensorflow
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 3 for calling the KerasOptimizedModel obj's underlying member method code with example usage: obj.preprocess(args, kwargs) without return types