code: def _pred(dt, w, base):
      return ivy.matmul(dt, w[:-1]) + w[-1] + base
  
file_path: ivy/ivy/functional/frontends/xgboost/gbm/gbm.py
imports: import ivy
  from ivy.functional.frontends.xgboost.objective.regression_loss import LogisticRegression
  from ivy.functional.frontends.xgboost.linear.updater_coordinate import coordinate_updater
  from copy import deepcopy
label_desc: Use image node_id 2 for calling a global function with example usage: _pred(dt, w, base) and returns: unknown