mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-05 08:24:57 +08:00
Fix data-related public API (#368)
Summary: X-link: https://github.com/pytorch/data/pull/368 This is PR aims to expose the right data-relate API. There are two more changes made in this PR to convert public api to private api `check_lambda_fn` -> `_check_lambda_fn` `deprecation_warning` -> `_deprecation_warning` Pull Request resolved: https://github.com/pytorch/pytorch/pull/76143 Reviewed By: albanD, NivekT Differential Revision: D35798311 Pulled By: ejguan fbshipit-source-id: b13fded5c88a533c706702fb2070c918c839dca4 (cherry picked from commit 0b534b829a2e90e1e533951c6d334fdeaa9358b9)
This commit is contained in:
committed by
Nikita Shulga
parent
2c2c13d21b
commit
0289ab2cec
@ -5,6 +5,7 @@ import torch
|
||||
from . import Sampler, Dataset
|
||||
import torch.distributed as dist
|
||||
|
||||
__all__ = ["DistributedSampler", ]
|
||||
|
||||
T_co = TypeVar('T_co', covariant=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user