Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch/autodiff_pnl_showgraph #3125

Merged
merged 16 commits into from
Nov 22, 2024
Merged

patch/autodiff_pnl_showgraph #3125

merged 16 commits into from
Nov 22, 2024

Conversation

jdcpni
Copy link
Collaborator

@jdcpni jdcpni commented Nov 22, 2024

• pytorchshowgraph
show_graph(): override of show_graph to implement autodiff-specific options:

  • If show_pytorch==True, build pytorch rep of autofiffcomposition
  • If show_learning==PNL, infer backpropagation learning pathways for Python version of graph

from psyneulink.core.compositions import NodeRole
from psyneulink.core.compositions.showgraph import ShowGraph, SHOW_JUST_LEARNING_PROJECTIONS
from psyneulink.core.compositions.showgraph import ShowGraph, SHOW_JUST_LEARNING_PROJECTIONS, SHOW_LEARNING

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'SHOW_JUST_LEARNING_PROJECTIONS' is not used.
from psyneulink.core.globals.keywords import BOLD, NESTED, INSET
from psyneulink.core.llvm import ExecutionMode
from psyneulink.core.globals.context import ContextFlags, handle_external_context
from psyneulink.core.globals.keywords import BOLD, INSET, NESTED, PNL

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'BOLD' is not used.
Import of 'INSET' is not used.
Import of 'NESTED' is not used.
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.11):

No differences!

...

See CI logs for the full diff.

@coveralls
Copy link

coveralls commented Nov 22, 2024

Coverage Status

coverage: 83.887% (-0.009%) from 83.896%
when pulling 062fe1d on patch/autodiff_pnl_showgraph
into ad1e743 on devel.

Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.11):

No differences!

...

See CI logs for the full diff.

Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.11):

No differences!

...

See CI logs for the full diff.

@jdcpni jdcpni merged commit bf1e6b3 into devel Nov 22, 2024
71 checks passed
@jdcpni jdcpni deleted the patch/autodiff_pnl_showgraph branch November 22, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants