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

Class DeepLabV3PlusDecoderImpl

src/architectures/DeepLabDecoder.h:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}; TORCH_MODULE(DeepLabV3Decoder);
82
83class DeepLabV3PlusDecoderImpl :public torch::nn::Module {
84public:
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);
88private:
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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected