Skip to content

Commit

Permalink
Add broadcast_to() (#34)
Browse files Browse the repository at this point in the history
* add `broadcast_to`

* add doc of `broadcast_to`
  • Loading branch information
chaoming0625 authored Jul 9, 2024
1 parent a1b421e commit d915314
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion brainunit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# ==============================================================================

__version__ = "0.0.1"
__version__ = "0.0.1.1"

from . import math
from ._base import *
Expand Down
2 changes: 1 addition & 1 deletion brainunit/math/_fun_keep_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'split', 'array_split', 'dsplit', 'hsplit', 'vsplit',

# broadcasting arrays
'atleast_1d', 'atleast_2d', 'atleast_3d', 'broadcast_arrays',
'atleast_1d', 'atleast_2d', 'atleast_3d', 'broadcast_arrays', 'broadcast_to',

# array manipulation
'reshape', 'moveaxis', 'transpose', 'swapaxes', 'tile', 'repeat',
Expand Down
1 change: 1 addition & 0 deletions docs/apis/brainunit.math.keep-unit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Functions that Keeping Unit
atleast_2d
atleast_3d
broadcast_arrays
broadcast_to
reshape
moveaxis
transpose
Expand Down

0 comments on commit d915314

Please sign in to comment.