Pad

class Pad(pad_witdth, mode='constant', constant_val=0.0)[源代码]

Pad 用于为张量填充值。 支持常量、边缘(复制)和反射模式,默认为常量模式。