Spec-Zone.ru › PyTorch 2.14

torch.fx.experimental.unification.utils.freeze

torch.fx.experimental.unification.utils.freeze(d) [исходный код]

Преобразует контейнер в хешируемую форму >>> freeze(1) 1 >>> freeze([1, 2]) (1, 2) >>> freeze({1: 2}) # doctest: +SKIP frozenset([(1, 2)])

Тип возвращаемого значения:

object

© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.fx.experimental.unification.utils.freeze.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API