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
Andreas Klöckner
arraycontext
Commits
a80b924b
Commit
a80b924b
authored
3 years ago
by
Kaushik Kulkarni
Browse files
Options
Downloads
Patches
Plain Diff
improves _get_arg_id_to_arg_and_arg_id_to_descr docs
Co-authored-by:
Andreas Kloeckner
<
inform@tiker.net
>
parent
ef0914cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arraycontext/impl/pytato/compile.py
+5
-4
5 additions, 4 deletions
arraycontext/impl/pytato/compile.py
with
5 additions
and
4 deletions
arraycontext/impl/pytato/compile.py
+
5
−
4
View file @
a80b924b
...
...
@@ -97,10 +97,11 @@ def _get_arg_id_to_arg_and_arg_id_to_descr(args: Tuple[Any, ...]
AbstractInputDescriptor]
\
]
"
:
"""
Helper for :meth:`LazilyCompilingFunctionCaller.__call__`. Extracts the
argument id to argument values and descriptor mappings from the input
arguments. See :attr:`CompiledFunction.input_id_to_name_in_program` for
argument-id
'
s representation.
Helper for :meth:`LazilyCompilingFunctionCaller.__call__`. Extracts
mappings from argument id to argument values and from argument id to
:class:`AbstractInputDescriptor`. See
:attr:`CompiledFunction.input_id_to_name_in_program` for argument-id
'
s
representation.
"""
arg_id_to_arg
:
Dict
[
Tuple
[
Any
,
...],
Any
]
=
{}
arg_id_to_descr
:
Dict
[
Tuple
[
Any
,
...],
AbstractInputDescriptor
]
=
{}
...
...
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