diffusion_rs_common::nn::ops

Function replication_pad2d

source
pub fn replication_pad2d(xs: &Tensor, pad: usize) -> Result<Tensor>