Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Multilinear Algebra SC22 Artifact
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Alexandros-Nikolaos Ziogas
Multilinear Algebra SC22 Artifact
Commits
4a1e0b5c
Commit
4a1e0b5c
authored
3 years ago
by
Alexandros-Nikolaos Ziogas
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typing.
parent
c75b98c2
Branches
Branches containing commit
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
comm_plot.py
+2
-2
2 additions, 2 deletions
comm_plot.py
plot.py
+2
-2
2 additions, 2 deletions
plot.py
with
4 additions
and
4 deletions
comm_plot.py
+
2
−
2
View file @
4a1e0b5c
...
...
@@ -6,7 +6,7 @@ import numpy as np
import
argparse
import
json
from
pathlib
import
Path
from
typing
import
Tuple
from
typing
import
List
,
Tuple
def
read_json_data
(
folder
:
str
=
'
.
'
,
frmwrk
:
str
=
'
dace_cpu
'
)
->
pd
.
DataFrame
:
...
...
@@ -20,7 +20,7 @@ def read_json_data(folder: str = '.', frmwrk: str = 'dace_cpu') -> pd.DataFrame:
df
=
pd
.
concat
([
df
,
data
])
return
df
def
filter_nodes
(
df
:
pd
.
DataFrame
,
allowed
:
l
ist
[
int
])
->
pd
.
DataFrame
:
def
filter_nodes
(
df
:
pd
.
DataFrame
,
allowed
:
L
ist
[
int
])
->
pd
.
DataFrame
:
return
df
[
df
.
nodes
.
isin
(
allowed
)]
...
...
This diff is collapsed.
Click to expand it.
plot.py
+
2
−
2
View file @
4a1e0b5c
...
...
@@ -4,7 +4,7 @@ import seaborn as sns
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
argparse
from
typing
import
Tuple
from
typing
import
List
,
Tuple
def
read_csv_data
(
folder
:
str
=
'
.
'
,
frmwrk
:
str
=
'
dace_cpu
'
)
->
pd
.
DataFrame
:
...
...
@@ -14,7 +14,7 @@ def read_csv_data(folder: str = '.', frmwrk: str = 'dace_cpu') -> pd.DataFrame:
df
=
pd
.
concat
([
df
,
data
])
return
df
def
filter_nodes
(
df
:
pd
.
DataFrame
,
allowed
:
l
ist
[
int
])
->
pd
.
DataFrame
:
def
filter_nodes
(
df
:
pd
.
DataFrame
,
allowed
:
L
ist
[
int
])
->
pd
.
DataFrame
:
return
df
[
df
.
nodes
.
isin
(
allowed
)]
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment