% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initializers.R
\name{initializer_identity}
\alias{initializer_identity}
\title{Initializer that generates the identity matrix.}
\usage{
initializer_identity(gain = 1)
}
\arguments{
\item{gain}{Multiplicative factor to apply to the identity matrix}
}
\description{
Only use for square 2D matrices.
}
\seealso{
Other initializers: \code{\link{initializer_constant}},
  \code{\link{initializer_glorot_normal}},
  \code{\link{initializer_glorot_uniform}},
  \code{\link{initializer_he_normal}},
  \code{\link{initializer_he_uniform}},
  \code{\link{initializer_lecun_normal}},
  \code{\link{initializer_lecun_uniform}},
  \code{\link{initializer_ones}},
  \code{\link{initializer_orthogonal}},
  \code{\link{initializer_random_normal}},
  \code{\link{initializer_random_uniform}},
  \code{\link{initializer_truncated_normal}},
  \code{\link{initializer_variance_scaling}},
  \code{\link{initializer_zeros}}
}
