Remove some pyre fixmes

Reviewed By: divchenko

Differential Revision: D27835360

fbshipit-source-id: cbb23793ee57382e43bd65bd40cfeb2820c6eec2
This commit is contained in:
Wanchao Liang
2021-04-17 11:19:11 -07:00
committed by Facebook GitHub Bot
parent 1c45ec9770
commit 8660db9806
2 changed files with 1 additions and 7 deletions

View File

@@ -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)