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
jerrrrry
infinicore
Commits
e9ac22c0
Commit
e9ac22c0
authored
Mar 11, 2026
by
qinyiqun
Browse files
Issue/1030: add a function to get quantization ptr
parent
21c6af2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/infinicore/nn/linear.hpp
include/infinicore/nn/linear.hpp
+2
-0
No files found.
include/infinicore/nn/linear.hpp
View file @
e9ac22c0
...
...
@@ -35,6 +35,8 @@ public:
Tensor
weight_scale
()
const
{
return
weight_scale_
;
}
Tensor
weight_zeros
()
const
{
return
weight_zeros_
;
}
std
::
shared_ptr
<
infinicore
::
quantization
::
BaseQuantization
>
get_quantization
()
const
{
return
quantization_
;
}
protected:
// Parameters
INFINICORE_NN_PARAMETER
(
weight
);
...
...
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