MCPcopy Index your code
hub / github.com/NVIDIA/semantic-segmentation / get_aspp

Function get_aspp

network/utils.py:301–311  ·  view source on GitHub ↗

Create aspp block

(high_level_ch, bottleneck_ch, output_stride, dpc=False)

Source from the content-addressed store, hash-verified

299
300
301def get_aspp(high_level_ch, bottleneck_ch, output_stride, dpc=False):
302 """
303 Create aspp block
304 """
305 if dpc:
306 aspp = DPC(high_level_ch, bottleneck_ch, output_stride=output_stride)
307 else:
308 aspp = AtrousSpatialPyramidPoolingModule(high_level_ch, bottleneck_ch,
309 output_stride=output_stride)
310 aspp_out_ch = 5 * bottleneck_ch
311 return aspp, aspp_out_ch
312
313
314def BNReLU(ch):

Callers 12

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.85

Calls 2

DPCClass · 0.85

Tested by

no test coverage detected