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

Function ASPPConv

src/architectures/DeepLabDecoder.cpp:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4torch::nn::Sequential ASPPConv(int in_channels, int out_channels, int dilation) {
5 return torch::nn::Sequential(
6 torch::nn::Conv2d(conv_options(in_channels, out_channels, 3, 1, dilation, 1, false, dilation)),
7 torch::nn::BatchNorm2d(torch::nn::BatchNorm2dOptions(out_channels)),
8 torch::nn::ReLU()
9 );
10}
11
12torch::nn::Sequential SeparableConv2d(int in_channels, int out_channels, int kernel_size, int stride,
13 int padding, int dilation, bool bias) {

Callers 1

ASPPImplMethod · 0.85

Calls 1

conv_optionsFunction · 0.85

Tested by

no test coverage detected