mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 07:10:34 +08:00
Remove some pyre fixmes
Reviewed By: divchenko Differential Revision: D27835360 fbshipit-source-id: cbb23793ee57382e43bd65bd40cfeb2820c6eec2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1c45ec9770
commit
8660db9806
@@ -164,7 +164,6 @@ def packed_to_list(x: torch.Tensor, split_size: Union[list, int]):
|
||||
Returns:
|
||||
x_list: A list of Tensors
|
||||
"""
|
||||
# pyre-fixme[16]: `Tensor` has no attribute `split`.
|
||||
return x.split(split_size, dim=0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user