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

[math] Remove op register #700

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading