Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!199
Typing and general code cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Typing and general code cleanup
cleanup
into
master
Overview
0
Commits
1
Pipelines
5
Changes
9
Merged
Oscar Gustafsson
requested to merge
cleanup
into
master
2 years ago
Overview
0
Commits
1
Pipelines
5
Changes
9
Expand
0
0
Merge request reports
Viewing commit
04f57ca9
Show latest version
9 files
+
96
−
96
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
04f57ca9
Typing and general code cleanup
· 04f57ca9
Oscar Gustafsson
authored
2 years ago
b_asic/core_operations.py
+
3
−
3
Options
@@ -258,12 +258,12 @@ class AddSub(AbstractOperation):
@property
def
is_add
(
self
)
->
Num
:
"""
Get if operation is a
dd
.
"""
"""
Get if operation is a
n addition
.
"""
return
self
.
param
(
"
is_add
"
)
@is_add.setter
def
is_add
(
self
,
is_add
:
bool
)
->
None
:
"""
Set if operation is a
dd
.
"""
"""
Set if operation is a
n addition
.
"""
self
.
set_param
(
"
is_add
"
,
is_add
)
@@ -774,7 +774,7 @@ class Reciprocal(AbstractOperation):
latency_offsets
:
Optional
[
Dict
[
str
,
int
]]
=
None
,
execution_time
:
Optional
[
int
]
=
None
,
):
"""
Construct a
n
Reciprocal operation.
"""
"""
Construct a Reciprocal operation.
"""
super
().
__init__
(
input_count
=
1
,
output_count
=
1
,
Loading