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

Class ASPPImpl

src/architectures/DeepLabDecoder.h:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}; TORCH_MODULE(ASPPPooling);
62
63class ASPPImpl : public torch::nn::Module {
64public:
65 ASPPImpl(int in_channels, int out_channels, std::vector<int> atrous_rates, bool separable = false);
66 torch::Tensor forward(torch::Tensor x);
67private:
68 torch::nn::ModuleList modules{};
69 ASPPPooling aspppooling{ nullptr };
70 torch::nn::Sequential project{ nullptr };
71}; TORCH_MODULE(ASPP);
72
73class DeepLabV3DecoderImpl : public torch::nn::Module
74{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected