TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.nn.functional.pad

tensorplay.nn.functional.pad(input, pad, mode='constant', value=0)[source]

Pads tensor. pad values are described starting from the last dimension and may cover any suffix of the input dimensions.

On this page

Ask DeepWiki