docstr: For segmentwise, k_t is the model parameter representing the trend slope(actually, trend slope-k_0) in the
  current_segment at time t (for each sample of the batch).
  
  For not segmentwise, k_t is the model parameter representing the difference between trend slope in the
  current_segment at time t and the trend slope in the previous segment (for each sample of the batch).
  
  Parameters
  ----------
      current_segment : torch.Tensor, int
          segment corresponding to time t (batch_size, n_forecasts, segments (+ 1))
  
      past_next_changepoint : torch.Tensor, bool
          whether the a changepoint >= time t (batch_size, n_forecasts, segments (+ 1))
  
      meta_name_tensor_one_hot : torch.Tensor, float
          Metadata about the all the samples of the model input batch.
  
          Contains the following:
              * ``df_name`` (list, str), time series name ID corresponding to each sample of the input batch.
  Returns
  -------
      torch.Tensor
          k_t,  ( batch_size, n_forecasts, quantiles_size)
docstr_tok: ["For","segmentwise",",","k_t","is","the","model","parameter","representing","the","trend","slope","(","actually",",","trend","slope-k_0",")","in","the","current_segment","at","time","t","(","for","each","sample","of","the","batch",")",".","For","not","segmentwise",",","k_t","is","the","model","parameter","representing","the","difference","between","trend","slope","in","the","current_segment","at","time","t","and","the","trend","slope","in","the","previous","segment","(","for","each","sample","of","the","batch",")",".","Parameters","--","--","--","--","--","current_segment",":","torch.Tensor",",","int","segment","corresponding","to","time","t","(","batch_size",",","n_forecasts",",","segments","(","+","1",")",")","past_next_changepoint",":","torch.Tensor",",","bool","whether","the","a","changepoint",">","=","time","t","(","batch_size",",","n_forecasts",",","segments","(","+","1",")",")","meta_name_tensor_one_hot",":","torch.Tensor",",","float","Metadata","about","the","all","the","samples","of","the","model","input","batch",".","Contains","the","following",":","*","``","df_name","``","(","list",",","str",")",",","time","series","name","ID","corresponding","to","each","sample","of","the","input","batch",".","Returns","--","--","--","-","torch.Tensor","k_t",",","(","batch_size",",","n_forecasts",",","quantiles_size",")"]
code: def compute_k_t(
      self,
      current_segment,
      past_next_changepoint,
      meta_name_tensor_one_hot,
  ):
      """For segmentwise, k_t is the model parameter representing the trend slope(actually, trend slope-k_0) in the
      current_segment at time t (for each sample of the batch).
  
      For not segmentwise, k_t is the model parameter representing the difference between trend slope in the
      current_segment at time t and the trend slope in the previous segment (for each sample of the batch).
  
      Parameters
      ----------
          current_segment : torch.Tensor, int
              segment corresponding to time t (batch_size, n_forecasts, segments (+ 1))
  
          past_next_changepoint : torch.Tensor, bool
              whether the a changepoint >= time t (batch_size, n_forecasts, segments (+ 1))
  
          meta_name_tensor_one_hot : torch.Tensor, float
              Metadata about the all the samples of the model input batch.
  
              Contains the following:
                  * ``df_name`` (list, str), time series name ID corresponding to each sample of the input batch.
      Returns
      -------
          torch.Tensor
              k_t,  ( batch_size, n_forecasts, quantiles_size)
      """
  
      pass
  
imports: import numpy
  import torch
  import torch.nn
  from neuralprophet.components.trend import Trend
  from neuralprophet.utils_torch import init_parameter
label_desc: Use image node_id 5 for calling the PiecewiseLinearTrend obj's underlying member method code with example usage: obj.compute_k_t(current_segment, past_next_changepoint, meta_name_tensor_one_hot) without return types