mirror of
https://github.com/AntoineHX/BU_Stoch_pool.git
synced 2025-05-04 09:40:46 +02:00
added faster filtering and convolution, but not working yet for BU
This commit is contained in:
parent
9d68bc30bd
commit
f7436d0002
5 changed files with 295 additions and 11 deletions
|
@ -119,7 +119,7 @@ class ResNet(nn.Module):
|
|||
def forward(self, x , stoch = False):
|
||||
#if self.training==False:
|
||||
# stoch=False
|
||||
print(stoch)
|
||||
#print(stoch)
|
||||
# self.layer1.stoch=stoch
|
||||
# self.layer2.stoch=stoch
|
||||
# self.layer3.stoch=stoch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue