![]() |
Belle II Software light-2509-fornax
|


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 19 of file write_test_files.py.
| __init__ | ( | self | ) |
Initialize with a single Linear layer
Definition at line 24 of file write_test_files.py.
| forward | ( | self, | |
| a, | |||
| b ) |
Run the forward pass - a and b are concatenated and b is flattened
Definition at line 33 of file write_test_files.py.
| linear = nn.Linear(8, 2) |
linear Layer with 8 inputs, 2 outputs
Definition at line 31 of file write_test_files.py.