Download int8/vendor/pytorch3d/transforms/__init__.py from moonbox-dev/sam-3d-objects-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/moonbox-dev/sam-3d-objects-ONNX/resolve/main/int8/vendor/pytorch3d/transforms/__init__.py
- Command line
-
hf download hf://moonbox-dev/sam-3d-objects-ONNX/int8/vendor/pytorch3d/transforms/__init__.py
-
curl -L -o __init__.py https://huggingface.co/moonbox-dev/sam-3d-objects-ONNX/resolve/main/int8/vendor/pytorch3d/transforms/__init__.py
1.13 kB
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the BSD-style license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # pyre-unsafe | |
| from .math import acos_linear_extrapolation | |
| from .rotation_conversions import ( | |
| axis_angle_to_matrix, | |
| axis_angle_to_quaternion, | |
| euler_angles_to_matrix, | |
| matrix_to_axis_angle, | |
| matrix_to_euler_angles, | |
| matrix_to_quaternion, | |
| matrix_to_rotation_6d, | |
| quaternion_apply, | |
| quaternion_invert, | |
| quaternion_multiply, | |
| quaternion_raw_multiply, | |
| quaternion_to_axis_angle, | |
| quaternion_to_matrix, | |
| random_quaternions, | |
| random_rotation, | |
| random_rotations, | |
| rotation_6d_to_matrix, | |
| standardize_quaternion, | |
| ) | |
| from .se3 import se3_exp_map, se3_log_map | |
| from .so3 import ( | |
| so3_exp_map, | |
| so3_exponential_map, | |
| so3_log_map, | |
| so3_relative_angle, | |
| so3_rotation_angle, | |
| ) | |
| from .transform3d import Rotate, RotateAxisAngle, Scale, Transform3d, Translate | |
| __all__ = [k for k in globals().keys() if not k.startswith("_")] | |