Spaces:
Paused
Paused
Upload pytorch3d_stub/pytorch3d/structures/__init__.py with huggingface_hub
Browse files
pytorch3d_stub/pytorch3d/structures/__init__.py
CHANGED
|
@@ -4,7 +4,7 @@ import warnings
|
|
| 4 |
|
| 5 |
|
| 6 |
def __getattr__(name):
|
| 7 |
-
if name.startswith("
|
| 8 |
raise AttributeError(name)
|
| 9 |
warnings.warn(f"pytorch3d.structures stub: {name} not implemented", stacklevel=2)
|
| 10 |
class _Dummy:
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
def __getattr__(name):
|
| 7 |
+
if name.startswith("__") and name.endswith("__"):
|
| 8 |
raise AttributeError(name)
|
| 9 |
warnings.warn(f"pytorch3d.structures stub: {name} not implemented", stacklevel=2)
|
| 10 |
class _Dummy:
|