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

Class PSPModuleImpl

src/architectures/PSPNetDecoder.h:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14class PSPModuleImpl : public torch::nn::Module {
15public:
16 PSPModuleImpl(int in_channels, std::vector<int> sizes, bool use_bathcnorm = true);
17 torch::Tensor forward(torch::Tensor x);
18private:
19 torch::nn::ModuleList blocks;
20}; TORCH_MODULE(PSPModule);
21
22class PSPDecoderImpl : public torch::nn::Module {
23public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected