ClikaRT::ops::replicate_pad
function
replicate_pad()
Tensor replicate_pad(Tensor x, ClikaRT::Span<const ScalarOrTensor> pad)
pad in edge-replicate mode: the padding repeats each padded edge's value. Same (lo, hi) pair layout as constant_pad. Copies.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) when the pair list exceeds the rank (code_name()carries the reason).
Returns: a new tensor with each padded axis grown by lo + hi.
Declared in ClikaRT/compute/ops.h, line 3265