code: def get_input_dimension(model):
      return model.n_features_
  
imports: from ..._deps import _HAS_SKLEARN
  from ...models import MLModel
  from ._tree_ensemble import convert_tree_ensemble
label_desc: Use image node_id 2 for calling a global function with example usage: get_input_dimension(model) and returns: model