torch.nn.
RNNBase
flatten_parameters
Resets parameter data pointer so that they can use faster code paths.
Right now, this works only if the module is on the GPU and cuDNN is enabled. Otherwise, it’s a no-op.
此页内容是否对您有帮助
感谢反馈!