MCPcopy Create free account
hub / github.com/baowenbo/DAIN / SeparableConvModule

Class SeparableConvModule

my_package/SeparableConv/SeparableConvModule.py:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3from functions.SeparableConvLayer import SeparableConvLayer
4
5class SeparableConvModule(Module):
6 def __init__(self,filtersize):
7 super(SeparableConvModule, self).__init__()
8 self.f = SeparableConvLayer(filtersize)
9
10 def forward(self, input1, input2, input3):
11 return self.f(input1, input2, input3)
12
13 #we actually dont need to write the backward code for a module, since we have
14

Callers 1

test_SeparableConvModuleFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_SeparableConvModuleFunction · 0.68