Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arraycontext
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
Alexandru Fikl
arraycontext
Commits
56ac56d1
Commit
56ac56d1
authored
3 years ago
by
Kaushik Kulkarni
Browse files
Options
Downloads
Patches
Plain Diff
do not expose keyed_ variants of the mappers under arraycontext module
parent
b0af7bfb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arraycontext/__init__.py
+0
-2
0 additions, 2 deletions
arraycontext/__init__.py
arraycontext/impl/pytato/compile.py
+1
-1
1 addition, 1 deletion
arraycontext/impl/pytato/compile.py
with
1 addition
and
3 deletions
arraycontext/__init__.py
+
0
−
2
View file @
56ac56d1
...
@@ -52,7 +52,6 @@ from .container.traversal import (
...
@@ -52,7 +52,6 @@ from .container.traversal import (
rec_multimap_array_container
,
rec_multimap_array_container
,
mapped_over_array_containers
,
mapped_over_array_containers
,
multimapped_over_array_containers
,
multimapped_over_array_containers
,
keyed_map_array_container
,
rec_keyed_map_array_container
,
thaw
,
freeze
,
thaw
,
freeze
,
from_numpy
,
to_numpy
)
from_numpy
,
to_numpy
)
...
@@ -84,7 +83,6 @@ __all__ = (
...
@@ -84,7 +83,6 @@ __all__ = (
"
rec_map_array_container
"
,
"
rec_multimap_array_container
"
,
"
rec_map_array_container
"
,
"
rec_multimap_array_container
"
,
"
mapped_over_array_containers
"
,
"
mapped_over_array_containers
"
,
"
multimapped_over_array_containers
"
,
"
multimapped_over_array_containers
"
,
"
keyed_map_array_container
"
,
"
rec_keyed_map_array_container
"
,
"
thaw
"
,
"
freeze
"
,
"
thaw
"
,
"
freeze
"
,
"
from_numpy
"
,
"
to_numpy
"
,
"
from_numpy
"
,
"
to_numpy
"
,
...
...
This diff is collapsed.
Click to expand it.
arraycontext/impl/pytato/compile.py
+
1
−
1
View file @
56ac56d1
...
@@ -73,7 +73,7 @@ def _ary_container_key_stringifier(keys: Tuple[Any, ...]) -> str:
...
@@ -73,7 +73,7 @@ def _ary_container_key_stringifier(keys: Tuple[Any, ...]) -> str:
Helper for :meth:`LazilyCompilingFunctionCaller.__call__`. Stringifies an
Helper for :meth:`LazilyCompilingFunctionCaller.__call__`. Stringifies an
array-container
'
s component
'
s key. Goals of this routine:
array-container
'
s component
'
s key. Goals of this routine:
* No two different keys have the same stringification
* No two different keys
should
have the same stringification
* Stringified key must a valid identifier according to :meth:`str.isidentifier`
* Stringified key must a valid identifier according to :meth:`str.isidentifier`
* (informal) Shorter identifiers are preferred
* (informal) Shorter identifiers are preferred
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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