Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kaggle/docker-python
/ test_info
Method
test_info
tests/test_torchinfo.py:8–11 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
6
7
class
TestTorchinfo(unittest.TestCase):
8
def
test_info(self):
9
model = tnn.Linear(5,3)
10
s = summary(model)
11
self.assertEqual(1, len(s.summary_list))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected