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

Class DeepLabV3DecoderImpl

src/architectures/DeepLabDecoder.h:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}; TORCH_MODULE(ASPP);
72
73class DeepLabV3DecoderImpl : public torch::nn::Module
74{
75public:
76 DeepLabV3DecoderImpl(int in_channels, int out_channels = 256, std::vector<int> atrous_rates = { 12, 24, 36 });
77 torch::Tensor forward(std::vector< torch::Tensor> x);
78 int out_channels = 0;
79private:
80 torch::nn::Sequential seq{};
81}; TORCH_MODULE(DeepLabV3Decoder);
82
83class DeepLabV3PlusDecoderImpl :public torch::nn::Module {
84public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected