Caffe2 - Python API
A deep learning, cross platform ML framework
Packages
Classes
Files
C++ API
Python API
GitHub
File List
test
data
network2.py
1
import
torch.nn
as
nn
2
3
4
class
Net
(nn.Module):
5
6
def
__init__(self):
7
super(Net, self).__init__()
8
self.
linear
= nn.Linear(10, 20)
9
self.
relu
= nn.ReLU()
network2.Net
Definition:
network2.py:4
network2.Net.relu
relu
Definition:
network2.py:9
torch.nn
Definition:
__init__.py:1
network2.Net.linear
linear
Definition:
network2.py:8
Generated on Thu Mar 21 2019 13:06:36 for Caffe2 - Python API by
1.8.11