Final Train Runs
This commit is contained in:
@ -207,15 +207,11 @@ class ShapeMixin:
|
||||
return shape
|
||||
|
||||
|
||||
class F_x(ShapeMixin, nn.Module):
|
||||
class F_x(ShapeMixin, nn.Identity):
|
||||
def __init__(self, in_shape):
|
||||
super(F_x, self).__init__()
|
||||
self.in_shape = in_shape
|
||||
|
||||
@staticmethod
|
||||
def forward(x):
|
||||
return x
|
||||
|
||||
|
||||
class SlidingWindow(ShapeMixin, nn.Module):
|
||||
def __init__(self, in_shape, kernel, stride=1, padding=0, keepdim=False):
|
||||
|
Reference in New Issue
Block a user