Skip to content

Commit

Permalink
Support for convolution transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Dec 28, 2018
1 parent 911bbc2 commit e39c54b
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 614 deletions.
1 change: 0 additions & 1 deletion nengo_loihi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from .simulator import Simulator
from .config import add_params, set_defaults
from .conv import Conv2D

logger = logging.getLogger(__name__)
try:
Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def build_no_solver(model, solver, conn, rng, transform):

@Builder.register(Connection) # noqa: C901
def build_connection(model, conn):
if isinstance(conn.transform, conv.Conv2D):
if isinstance(conn.transform, nengo.Convolution):
# TODO: integrate these into the same function
conv.build_conv2d_connection(model, conn)
return
Expand Down
Loading

0 comments on commit e39c54b

Please sign in to comment.