rename types to avoid clash

Summary: There are cases where importing pytorch3d seems to fail (internally at Meta) because of a clash between the builtin types module and ours, so rename ours.

Reviewed By: patricklabatut

Differential Revision: D34426817

fbshipit-source-id: f175448db6a4967a9a3f7bb6f595aad2ffb36455
This commit is contained in:
Jeremy Reizenstein
2022-02-25 07:53:34 -08:00
committed by Facebook GitHub Bot
parent 0e88b21de6
commit f816568735
20 changed files with 19 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ from typing import Optional
import torch
import torch.nn.functional as F
from ..common.types import Device
from ..common.datatypes import Device
"""

View File

@@ -10,7 +10,7 @@ from typing import List, Optional, Union
import torch
from ..common.types import Device, get_device, make_device
from ..common.datatypes import Device, get_device, make_device
from ..common.workaround import _safe_det_3x3
from .rotation_conversions import _axis_angle_rotation