| 7 | } |
| 8 | |
| 9 | torch::Tensor ConvReluBnImpl::forward(torch::Tensor x) { |
| 10 | x = torch::relu(conv->forward(x)); |
| 11 | x = bn(x); |
| 12 | return x; |
| 13 | } |
| 14 | |
| 15 | LinearBnReluImpl::LinearBnReluImpl(int in_features, int out_features){ |
| 16 | ln = register_module("ln", torch::nn::Linear(torch::nn::LinearOptions(in_features, out_features))); |
nothing calls this directly
no outgoing calls
no test coverage detected