Download flow_matching/utils/__init__.py from ChatterjeeLab/pCoMole: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/ChatterjeeLab/pCoMole/resolve/main/flow_matching/utils/__init__.py
- Command line
-
hf download hf://ChatterjeeLab/pCoMole/flow_matching/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/ChatterjeeLab/pCoMole/resolve/main/flow_matching/utils/__init__.py
483 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the CC-by-NC license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| from .categorical_sampler import categorical | |
| from .model_wrapper import ModelWrapper | |
| from .utils import expand_tensor_like, gradient, unsqueeze_to_match | |
| __all__ = [ | |
| "unsqueeze_to_match", | |
| "expand_tensor_like", | |
| "gradient", | |
| "categorical", | |
| "ModelWrapper", | |
| ] | |