code: def soft_threshold(x, threshold):
      return (
          (np.abs(x) > threshold) * (np.abs(x) - threshold) * np.sign(x)
      )
  
file_path: RecBole/recbole/model/general_recommender/admmslim.py
imports: from recbole.utils.enum_type import ModelType
  import numpy
  import scipy.sparse
  import torch
  from recbole.utils import InputType
  from recbole.model.abstract_recommender import GeneralRecommender
label_desc: Use image node_id 1 for calling a global function with example usage: soft_threshold(x, threshold) and returns: unknown