Skip to content

Commit

Permalink
version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerYep committed Jul 3, 2021
1 parent f28fa62 commit 49498c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fixtures/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Any, Dict, Tuple, cast

import torch
import torch.nn as nn
from torch import nn
from torch.nn import functional as F
from torch.nn.utils.rnn import pack_padded_sequence

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = torchinfo
version = 0.1.5
version = 1.5.0
description = Model summary in PyTorch, based off of the original torchsummary.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion tests/depth_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from collections import namedtuple

import torch
import torch.nn as nn
from torch import nn

from fixtures.models import IdentityModel
from torchinfo import summary
Expand Down
2 changes: 1 addition & 1 deletion torchinfo/layer_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Any, Dict, Iterable, List, Optional, Sequence, Union

import torch
import torch.nn as nn
from torch import nn
from torch.jit import ScriptModule

DETECTED_INPUT_OUTPUT_TYPES = Union[
Expand Down
2 changes: 1 addition & 1 deletion torchinfo/torchinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

import torch
import torch.nn as nn
from torch import nn
from torch.jit import ScriptModule
from torch.utils.hooks import RemovableHandle

Expand Down

0 comments on commit 49498c1

Please sign in to comment.