Skip to content

Commit

Permalink
Merge pull request #1694 from PrincetonUniversity/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
dillontsmith authored Jun 30, 2020
2 parents f03564f + b2af558 commit 186ba7e
Show file tree
Hide file tree
Showing 28 changed files with 681 additions and 457 deletions.
35 changes: 19 additions & 16 deletions docs/source/Component.rst
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
Component
=========
.. container:: subclasses

*Subclasses:*
*Subclasses*

.. toctree::
:maxdepth: 1
.. toctree::
:maxdepth: 1

Mechanisms <Mechanism>
Projections <Projection>
Ports <Port>
Functions <Functions>
Mechanisms <Mechanism>
Projections <Projection>
Ports <Port>
Functions <Functions>
|
|
*Related*
.. container:: related

.. toctree::
:maxdepth: 1
*Related*

.. toctree::
:maxdepth: 1

Parameters
Log
Registry
Preferences

Parameters
Log
Registry
Preferences
|
.. automodule:: psyneulink.core.components.component
:members:
:private-members:
Expand Down
33 changes: 19 additions & 14 deletions docs/source/Composition.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
Composition
===========

*Subclasses*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

AutodiffComposition
CompositionFunctionApproximator
|
*Related*
.. toctree::
:maxdepth: 1

* `NodeRoles <NodeRole>`
AutodiffComposition
CompositionFunctionApproximator
|
.. toctree::
:maxdepth: 1
.. container:: related

*Related*

* `NodeRoles <NodeRole>`

.. toctree::
:maxdepth: 1

Pathway
Scheduling
Visualization

Pathway
Scheduling
Visualization
|
.. automodule:: psyneulink.core.compositions.composition
:members: Composition, NodeRole
:private-members:
Expand Down
11 changes: 7 additions & 4 deletions docs/source/CompositionFunctionApproximator.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
CompositionFunctionApproximator
===============================

*Subclasses*

.. toctree::
:maxdepth: 1
.. container:: subclasses

*Subclasses*

.. toctree::
:maxdepth: 1

RegressionCFA
RegressionCFA

.. toctree::
:maxdepth: 2
Expand Down
12 changes: 7 additions & 5 deletions docs/source/ControlMechanism.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ ControlMechanism

.. _ControlMechanism_Subtypes:

*Subclasses*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

GatingMechanism
OptimzationControlMechanism
.. toctree::
:maxdepth: 1

GatingMechanism
OptimizationControlMechanism

.. automodule:: psyneulink.core.components.mechanisms.modulatory.control.controlmechanism
:members:
Expand Down
27 changes: 16 additions & 11 deletions docs/source/Mechanism.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
Mechanism
=========

*Subclasses:*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

ProcessingMechanism
ModulatoryMechanism
|
*Related*
.. toctree::
:maxdepth: 1

.. toctree::
:maxdepth: 1
ProcessingMechanism
ModulatoryMechanism
|
.. container:: related

*Related*

.. toctree::
:maxdepth: 1

Port

Port
|
.. automodule:: psyneulink.core.components.mechanisms.mechanism
:members:
:private-members:
Expand Down
3 changes: 2 additions & 1 deletion docs/source/Mechanisms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Mechanisms
.. toctree::
:maxdepth: 3

*Subclasses:*
.. container:: subclasses
*Subclasses*
ProcessingMechanisms
ModulatoryMechanisms
12 changes: 7 additions & 5 deletions docs/source/ModulatoryMechanism.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ ModulatoryMechanism

.. _ModulatoryMechanism_Subtypes:

*Subclasses*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

ControlMechanism
LearningMechanism
.. toctree::
:maxdepth: 1

ControlMechanism
LearningMechanism

.. automodule:: psyneulink.core.components.mechanisms.modulatory.modulatorymechanism
:members:
Expand Down
14 changes: 8 additions & 6 deletions docs/source/ModulatoryProjection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ ModulatoryProjection

.. _ModulatoryProjection_Subtypes:

*Subclasses*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

LearningProjection
ControlProjection
GatingProjection
.. toctree::
:maxdepth: 1

LearningProjection
ControlProjection
GatingProjection

.. automodule:: psyneulink.core.components.projections.modulatory.modulatoryprojection
:members: ModulatoryProjection_Base
Expand Down
17 changes: 9 additions & 8 deletions docs/source/ModulatorySignal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ ModulatorySignal

.. _ModulatorySignal_Subtypes:

*Subclasses*
.. container:: subclasses
*Subclasses*

.. toctree::
:maxdepth: 1
.. toctree::
:maxdepth: 1

LearningSignal
ControlSignal
GatingSignal
LearningSignal
ControlSignal
GatingSignal

.. toctree::
:maxdepth: 3
.. toctree::
:maxdepth: 3

.. automodule:: psyneulink.core.components.ports.modulatorysignals.modulatorysignal
:members:
Expand Down
14 changes: 8 additions & 6 deletions docs/source/PathwayProjection.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
PathwayProjection
=================

*Subclasses:*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

MappingProjection
MaskedMappingProjection
AutoAssociativeProjection
.. toctree::
:maxdepth: 1

MappingProjection
MaskedMappingProjection
AutoAssociativeProjection

.. automodule:: psyneulink.core.components.projections.pathway.pathwayprojection
:members:
Expand Down
10 changes: 6 additions & 4 deletions docs/source/PathwayProjections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ PathwayProjections
.. toctree::
:maxdepth: 1

*Subclasses:*
MappingProjection
MaskedMappingProjection
AutoAssociativeProjection
.. container:: subclasses

*Subclasses*
MappingProjection
MaskedMappingProjection
AutoAssociativeProjection
15 changes: 8 additions & 7 deletions docs/source/Port.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ Port
====

.. _Port_Subtypes:
.. container:: subclasses

*Subclasses:*
*Subclasses*

.. toctree::
:maxdepth: 1
.. toctree::
:maxdepth: 1

InputPort
ParameterPort
OutputPort
ModulatorySignal
InputPort
ParameterPort
OutputPort
ModulatorySignal

.. automodule:: psyneulink.core.components.ports.port
:members:
Expand Down
14 changes: 8 additions & 6 deletions docs/source/ProcessingMechanism.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ ProcessingMechanism

.. _ProcessingMechanism_Subtypes:

*Subclasses*
.. container:: subclasses

.. toctree::
:maxdepth: 1
*Subclasses*

TransferMechanism
IntegratorMechanism
ObjectiveMechanism
.. toctree::
:maxdepth: 1

TransferMechanism
IntegratorMechanism
ObjectiveMechanism

.. automodule:: psyneulink.core.components.mechanisms.processing.processingmechanism
:members:
Expand Down
11 changes: 6 additions & 5 deletions docs/source/Projection.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
Projection
==========

*Subclasses:*
.. container:: subclasses
*Subclasses*

.. toctree::
:maxdepth: 1
.. toctree::
:maxdepth: 1

PathwayProjection
ModulatoryProjection
PathwayProjection
ModulatoryProjection

.. automodule:: psyneulink.core.components.projections.projection
:members:
Expand Down
6 changes: 2 additions & 4 deletions psyneulink/core/components/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,8 @@ def _gen_llvm_function(self, *, ctx:pnlvm.LLVMBuilderContext,
p.attributes.add('noalias')

if "reset" in tags:
builder = self._gen_llvm_function_reset(ctx, builder,
params, state,
arg_in, arg_out,
tags=tags)
builder = self._gen_llvm_function_reset(ctx, builder, params, state,
arg_in, arg_out, tags=tags)
else:
builder = self._gen_llvm_function_body(ctx, builder, params, state,
arg_in, arg_out, tags=tags)
Expand Down
Loading

0 comments on commit 186ba7e

Please sign in to comment.