![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self) | |
forward (self, a, b) | |
Public Attributes | |
linear = nn.Linear(8, 2) | |
linear Layer with 8 inputs, 2 outputs | |
Example model with 2 different input tensors
Definition at line 17 of file write_test_file.py.
__init__ | ( | self | ) |
Intialize with a single Linear layer
Definition at line 21 of file write_test_file.py.
forward | ( | self, | |
a, | |||
b ) |
Run the forward pass - a and b are concatenated and b is flattened
Definition at line 30 of file write_test_file.py.
linear = nn.Linear(8, 2) |
linear Layer with 8 inputs, 2 outputs
Definition at line 28 of file write_test_file.py.