Fills the {3, 4, 5}-dimensional input Tensor
with the Dirac
delta function. Preserves the identity of the inputs in Convolutional
layers, where as many input channels are preserved as possible. In case
of groups>1, each group of channels preserves identity.
Examples
if (torch_is_installed()) {
if (FALSE) { # \dontrun{
w <- torch_empty(3, 16, 5, 5)
nn_init_dirac_(w)
} # }
}