kernel, _ = init_kernels(win_len, win_inc, self.fft_len, win_type)
attr_p=paddle.ParamAttr(initializer=nn.initializer.Assign(kernel))
#
self.weight =paddle.create_parameter(kernel.shape,"float32",attr=attr_p)
?
2024-01-10 23:46:34
kernel, _ = init_kernels(win_len, win_inc, self.fft_len, win_type)
attr_p=paddle.ParamAttr(initializer=nn.initializer.Assign(kernel))
#
self.weight =paddle.create_parameter(kernel.shape,"float32",attr=attr_p)
?