code: def predict(ctx, input_model, test_data, test_output_data):
      logger.info(f"start scale transform")
  
      from fate.ml.preprocessing import FeatureScale
  
      sub_ctx = ctx.sub_ctx("predict")
      model = input_model.read()
      scaler = FeatureScale.from_model(model)
      test_data = test_data.read()
      output_data = scaler.transform(sub_ctx, test_data)
      test_output_data.write(output_data)
  
file_path: FATE/python/fate/components/components/feature_scale.py
imports: import logging
  from typing import List, Union
  from fate.arch import Context
  from fate.components.core import GUEST, HOST, Role, cpn, params
label_desc: Use image node_id 5 for calling a global function with example usage: predict(ctx, input_model, test_data, test_output_data) without return types