class_docstr: Initializes parameters with the identity matrix.
class_docstr_tok: ["Initializes","parameters","with","the","identity","matrix","."]
docstr: Fill the provided tensor with the identity matrix.
  
  Args:
      params (tensor): Tensor to fill
docstr_tok: ["Fill","the","provided","tensor","with","the","identity","matrix",".","Args",":","params","(","tensor",")",":","Tensor","to","fill"]
code: def fill(self, param):
      """
      Fill the provided tensor with the identity matrix.
  
      Args:
          params (tensor): Tensor to fill
      """
      (nin, nout) = param.shape
      w_ary = np.zeros((nin, nout), dtype=np.float32)
      w_ary[:, :nin] = np.eye(nin)
      param[:] = w_ary
  
imports: import numpy
  from neon import NervanaObject
  from neon.backends.backend import Tensor
label_desc: Use image node_id 2 for calling the IdentityInit obj's underlying member method code with example usage: obj.fill(param) without return types