Habr
β
How to become an author
My feed
All streams
Search
Write a publication
Settings
Login
Pull to refresh
0
0
@timer5000
User
Follow
Send message
Profile
Articles
Posts
News
Comments
2
More
Dropdown
Bookmarks
Followers
Following
1
Copy RSS link
Продвинутое использование библиотеки PYTORCH: от подготовки данных до визуализации
timer5000
Apr 22 2021 at 13:03
#Создадим экземпляр нашей нейросети и выведем ее структуру. Мы увидим количество слоев, количество параметров на входе и выходе у каждого слоя и наличие\отсутствие свободного члена.
net = Net()
print(net)
Net(
(fc1): Linear(in_features=2, out_features=50, bias=True)
(fc2): Linear(in_features=50, out_features=50, bias=True)
(fc3): Linear(in_features=50, out_features=1, bias=True)
)
Не работает.
File "<ipython-input-7-82bad3c48de0>", line 6
(fc1): Linear(in_features=2, out_features=50, bias=True)
^
SyntaxError: invalid syntax
Зимний Дзержинск: город, где закрыли два портала в ад
timer5000
Mar 11 2021 at 04:57
Заброшенный дом в центре города — признали аварийный и будет расселен и снесен.
Information
Rating
Does not participate
Registered
January 20 2020
Activity
April 3 2023 at 07:31
net = Net()
print(net)
Net(
(fc1): Linear(in_features=2, out_features=50, bias=True)
(fc2): Linear(in_features=50, out_features=50, bias=True)
(fc3): Linear(in_features=50, out_features=1, bias=True)
)
Не работает.
File "<ipython-input-7-82bad3c48de0>", line 6
(fc1): Linear(in_features=2, out_features=50, bias=True)
^
SyntaxError: invalid syntax