API symbolsnn
Copy
tensorplay.nn.functional.upsample
- tensorplay.nn.functional.upsample(input, size=None, scale_factor=None, mode='nearest', align_corners=None)[source]
Upsamples the input to the given
sizeorscale_factor.Warning
This function is deprecated in favor of
interpolate(). Equivalent tointerpolate(...).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
tensorplay.nn.functional.unfold
Extract sliding local blocks from a batched input tensor (torch F.unfold, i.e. aten::im2col). 4-D batched input is the common case; unbatched 3-D input is accepted like aten’s im2col.
tensorplay.nn.functional.upsample_bilinear
Upsamples the input using bilinear upsampling.
