code: def node_weight(self, sum_grad, sum_hess):
      sum_grad = self._l1_reg(sum_grad)
      weight = -(sum_grad / (sum_hess + self.l2))
      return self.truncate(weight)
  
imports: import torch
  import numpy
  import logging
  from fate.arch.dataframe import DataFrame
  from fate.arch import Context
  from fate.arch.histogram import DistributedHistogram
label_desc: Use image node_id 6 for calling the SBTSplitter obj's underlying member method code with example usage: obj.node_weight(sum_grad, sum_hess) and returns: self