Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ktransformers
Commits
f46b3fd5
Unverified
Commit
f46b3fd5
authored
Mar 03, 2025
by
Atream
Committed by
GitHub
Mar 03, 2025
Browse files
Merge pull request #778 from Conless/fix-shape
[Fix] Shape error in KLinearMarlin
parents
4e43e8a4
01755a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
ktransformers/operators/linear.py
ktransformers/operators/linear.py
+0
-1
No files found.
ktransformers/operators/linear.py
View file @
f46b3fd5
...
@@ -347,7 +347,6 @@ class KLinearMarlin(KLinearBase):
...
@@ -347,7 +347,6 @@ class KLinearMarlin(KLinearBase):
orig_shape
[
-
1
]
=
self
.
out_features
orig_shape
[
-
1
]
=
self
.
out_features
if
self
.
has_bias
:
if
self
.
has_bias
:
x
=
x
+
self
.
bias
x
=
x
+
self
.
bias
orig_shape
[
-
1
]
=
self
.
n
return
x
.
reshape
(
orig_shape
).
to
(
orig_dtype
)
return
x
.
reshape
(
orig_shape
).
to
(
orig_dtype
)
def
unload
(
self
):
def
unload
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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