| 42 | }; TORCH_MODULE(GAUBlock); |
| 43 | |
| 44 | class PANDecoderImpl:public torch::nn::Module |
| 45 | { |
| 46 | public: |
| 47 | PANDecoderImpl(std::vector<int> encoder_channels, int decoder_channels, std::string upscale_mode = "bilinear"); |
| 48 | torch::Tensor forward(std::vector<torch::Tensor> x); |
| 49 | private: |
| 50 | FPABlock fpa{ nullptr }; |
| 51 | GAUBlock gau3{ nullptr }; |
| 52 | GAUBlock gau2{ nullptr }; |
| 53 | GAUBlock gau1{ nullptr }; |
| 54 | |
| 55 | }; TORCH_MODULE(PANDecoder); |
| 56 |
nothing calls this directly
no outgoing calls
no test coverage detected