MCPcopy Create free account
hub / github.com/AllentDan/LibtorchSegmentation / PANDecoderImpl

Class PANDecoderImpl

src/architectures/PANDecoder.h:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected