Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
EVC
Ufv1 0
Commits
fdb982f9
Commit
fdb982f9
authored
Nov 23, 2025
by
valentini
Browse files
Carica un nuovo file
parent
eb7476bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Reference Software/UFV1.0-Pruning/src/model/dummy_sr_model.py
0 → 100644
View file @
fdb982f9
import
torch
from
torch
import
nn
class
DummySRModel
(
nn
.
Module
):
"""
A basic SRCNN-like super-resolution model for demonstration.
Structure: (Optional CNN+PixelShuffle Upsample) -> Conv(9x9) -> ReLU -> Conv(5x5) -> ReLU -> Conv(5x5)
"""
def
__init__
(
self
,
in_channels
=
1
,
out_channels
=
1
,
super_resolution
=
1
):
pass
def
forward
(
self
,
x
):
pass
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment