torch.nn.utils.
parameters_to_vector
Convert parameters to one vector
parameters (Iterable[Tensor]) – an iterator of Tensors that are the parameters of a model.
The parameters represented by a single vector
此页内容是否对您有帮助
感谢反馈!