Skip to content

Commit

Permalink
[math] Remove op register (#700)
Browse files Browse the repository at this point in the history
Remove op register
  • Loading branch information
Routhleck authored Nov 23, 2024
1 parent 65baea4 commit 665d260
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 2,331 deletions.
1 change: 0 additions & 1 deletion brainpy/_src/math/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from . import random, linalg, fft

# operators
from .op_register import *
from .pre_syn_post import *
from . import surrogate, event, sparse, jitconn

Expand Down
6 changes: 2 additions & 4 deletions brainpy/_src/math/jitconn/matvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@

import jax
import numpy as np
from jax import numpy as jnp

from brainpy._src.dependency_check import import_braintaichi, raise_braintaichi_not_found
from brainpy._src.math import defaults
from brainpy._src.math.interoperability import as_jax
from brainpy._src.math.ndarray import Array
from brainpy._src.math.op_register import XLACustomOp
from brainpy.errors import PackageMissingError
from brainpy._src.dependency_check import import_braintaichi, raise_braintaichi_not_found
from jax import numpy as jnp

bti = import_braintaichi(error_if_not_found=False)

Expand Down
7 changes: 0 additions & 7 deletions brainpy/_src/math/op_register/__init__.py

This file was deleted.

56 changes: 0 additions & 56 deletions brainpy/_src/math/op_register/ad_support.py

This file was deleted.

224 changes: 0 additions & 224 deletions brainpy/_src/math/op_register/base.py

This file was deleted.

Loading

0 comments on commit 665d260

Please sign in to comment.