Skip to content

Commit

Permalink
fix many bug and optimize code (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhwesky2010 authored Sep 12, 2023
1 parent d0b8654 commit 99c43a0
Show file tree
Hide file tree
Showing 35 changed files with 782 additions and 1,028 deletions.
8 changes: 8 additions & 0 deletions paconvert/api_alias_mapping.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"torch.Tensor.divide": "torch.Tensor.div",
"torch.amp.autocast_mode.autocast": "torch.amp.autocast",
"torch.autograd.function.Function": "torch.autograd.Function",
"torch.cuda.amp.autocast_mode.autocast": "torch.cuda.amp.autocast",
Expand Down Expand Up @@ -32,6 +33,8 @@
"torch.distributions.transforms.StickBreakingTransform": "torch.distributions.StickBreakingTransform",
"torch.distributions.transforms.Transform": "torch.distributions.Transform",
"torch.distributions.uniform.Uniform": "torch.distributions.Uniform",
"torch.divide": "torch.div",
"torch.matrix_exp": "torch.linalg.matrix_exp",
"torch.nn.NLLLoss2d": "torch.nn.NLLLoss",
"torch.nn.modules.AvgPool1d": "torch.nn.modules.AvgPool2d",
"torch.nn.modules.AvgPool2d": "torch.nn.modules.AvgPool2d",
Expand Down Expand Up @@ -73,14 +76,19 @@
"torch.nn.parallel.distributed.DistributedDataParallel": "torch.nn.parallel.DistributedDataParallel",
"torch.nn.parameter.Parameter": "torch.nn.Parameter",
"torch.nn.parameter.UninitializedParameter": "torch.nn.UninitializedParameter",
"torch.nn.utils.clip_grad_norm": "torch.nn.utils.clip_grad_norm_",
"torch.optim.sgd.SGD": "torch.optim.SGD",
"torch.orgqr": "torch.linalg.householder_product",
"torch.random.get_rng_state": "torch.get_rng_state",
"torch.random.initial_seed": "torch.initial_seed",
"torch.random.manual_seed": "torch.manual_seed",
"torch.random.seed": "torch.seed",
"torch.random.set_rng_state": "torch.set_rng_state",
"torch.special.gammainc": "torch.igamma",
"torch.special.gammaincc": "torch.igammac",
"torch.torch.Tensor": "torch.Tensor",
"torch.torch.finfo": "torch.finfo",
"torch.trapz": "torch.trapezoid",
"torch.utils.data._utils.collate.default_collate": "torch.utils.data.default_collate",
"torch.utils.data.dataloader.DataLoader": "torch.utils.data.DataLoader",
"torch.utils.data.dataloader.default_collate": "torch.utils.data.default_collate",
Expand Down
Loading

0 comments on commit 99c43a0

Please sign in to comment.