"src/array/cuda/array_op_impl.hip" did not exist on "96297fb8fdd629fc2fd52872d718d78fa491cba1"
Unverified Commit 09129842 authored by Phil Butler's avatar Phil Butler Committed by GitHub
Browse files

Remove redundant lines (#7396)


Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
parent 33b363ed
...@@ -90,7 +90,6 @@ class Encoder(nn.Module): ...@@ -90,7 +90,6 @@ class Encoder(nn.Module):
padding=1, padding=1,
) )
self.mid_block = None
self.down_blocks = nn.ModuleList([]) self.down_blocks = nn.ModuleList([])
# down # down
...@@ -228,7 +227,6 @@ class Decoder(nn.Module): ...@@ -228,7 +227,6 @@ class Decoder(nn.Module):
padding=1, padding=1,
) )
self.mid_block = None
self.up_blocks = nn.ModuleList([]) self.up_blocks = nn.ModuleList([])
temb_channels = in_channels if norm_type == "spatial" else None temb_channels = in_channels if norm_type == "spatial" else None
...@@ -474,7 +472,6 @@ class MaskConditionDecoder(nn.Module): ...@@ -474,7 +472,6 @@ class MaskConditionDecoder(nn.Module):
padding=1, padding=1,
) )
self.mid_block = None
self.up_blocks = nn.ModuleList([]) self.up_blocks = nn.ModuleList([])
temb_channels = in_channels if norm_type == "spatial" else None temb_channels = in_channels if norm_type == "spatial" else None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment