torch.nn.utils.convert_parameters.parameters_to_vector
-
torch.nn.utils.convert_parameters.parameters_to_vector(parameters)[source] -
Flatten an iterable of parameters into a single vector.
torch.nn.utils.convert_parameters.parameters_to_vector(parameters) [source]
Flatten an iterable of parameters into a single vector.
© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.nn.utils.convert_parameters.parameters_to_vector.html