| 81 | }; TORCH_MODULE(DeepLabV3Decoder); |
| 82 | |
| 83 | class DeepLabV3PlusDecoderImpl :public torch::nn::Module { |
| 84 | public: |
| 85 | DeepLabV3PlusDecoderImpl(std::vector<int> encoder_channels, int out_channels, |
| 86 | std::vector<int> atrous_rates, int output_stride = 16); |
| 87 | torch::Tensor forward(std::vector< torch::Tensor> x); |
| 88 | private: |
| 89 | ASPP aspp{ nullptr }; |
| 90 | torch::nn::Sequential aspp_seq{ nullptr }; |
| 91 | torch::nn::Upsample up{ nullptr }; |
| 92 | torch::nn::Sequential block1{ nullptr }; |
| 93 | torch::nn::Sequential block2{ nullptr }; |
| 94 | }; TORCH_MODULE(DeepLabV3PlusDecoder); |
nothing calls this directly
no outgoing calls
no test coverage detected