mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "Add support for torch.Generator
type in TorchScript (#110413)"
This reverts commit 54493fe8c4b1cca4c5ff993b99eb3e3dbc984226. Reverted https://github.com/pytorch/pytorch/pull/110413 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it is, unfortunately, still breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/110413#issuecomment-1811625557))
This commit is contained in:
@ -933,10 +933,10 @@ def get_testing_overrides() -> Dict[Callable, Callable]:
|
||||
distance_function=None, margin=1.0,
|
||||
swap=False, reduction='mean': -1),
|
||||
torch.nn.functional.unfold: lambda input, kernel_size, dilation=1, padding=0, stride=1: -1,
|
||||
torch.nn.init.uniform_: lambda tensor, a=0., b=1., generator=None: -1,
|
||||
torch.nn.init.normal_: lambda tensor, mean=0., std=1., generator=None: -1,
|
||||
torch.nn.init.uniform_: lambda tensor, a=0., b=1.: -1,
|
||||
torch.nn.init.normal_: lambda tensor, mean=0., std=1.: -1,
|
||||
torch.nn.init.constant_: lambda tensor, val: -1,
|
||||
torch.nn.init.kaiming_uniform_: lambda tensor, a=0, mode='fan_in', nonlinearity='leaky_relu', generator=None: -1,
|
||||
torch.nn.init.kaiming_uniform_: lambda tensor, a=0, mode='fan_in', nonlinearity='leaky_relu': -1,
|
||||
torch.nonzero: lambda input, as_tuple=False: -1,
|
||||
torch.nonzero_static: lambda input, *, size, fill_value=-1: -1,
|
||||
torch.argwhere: lambda input: -1,
|
||||
|
Reference in New Issue
Block a user