class_docstr: The identity link function g(x)=x.
class_docstr_tok: ["The","identity","link","function","g","(","x",")","=x","."]
code: def link(self, y_pred, out=None):
      if out is not None:
          np.copyto(out, y_pred)
          return out
      else:
          return y_pred
  
imports: from abc import ABC, abstractmethod
  from dataclasses import dataclass
  import numpy
  from scipy.special import expit, logit
  from scipy.stats import gmean
  from ..utils.extmath import softmax
label_desc: Use image node_id 1 for calling the IdentityLink obj's underlying member method code with example usage: obj.link(y_pred, out) and returns: out, y_pred