jboth commited on
Commit
c31c078
·
verified ·
1 Parent(s): 8fc4142

Upload pytorch3d_stub/pytorch3d/transforms/__init__.py with huggingface_hub

Browse files
pytorch3d_stub/pytorch3d/transforms/__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.transforms stub: {name} not implemented", stacklevel=2)
10
  def _dummy(*a, **kw): return None
 
4
 
5
 
6
  def __getattr__(name):
7
+ if name.startswith("__") and name.endswith("__"):
8
  raise AttributeError(name)
9
  warnings.warn(f"pytorch3d.transforms stub: {name} not implemented", stacklevel=2)
10
  def _dummy(*a, **kw): return None