latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.nn.functional.pad
- tensorplay.nn.functional.pad(input, pad, mode='constant', value=0)[source]
Pads tensor.
padvalues are described starting from the last dimension and may cover any suffix of the input dimensions.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

