Skip to content
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
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,17 @@ pip install "arraybridge[cupy]"
```

Documentation: <https://arraybridge.readthedocs.io>

### Native array geometry

`MemoryType.reshape(array, shape)` and `MemoryType.broadcast_to(array, shape)`
operate in the array's framework and device. `MemoryType.ones_like(reference,
shape=..., dtype=...)` allocates on the reference's device; omitting `shape`
retains its shape. Reshape and broadcast preserve views where the backend can
represent them. Broadcasting is not a promise of a writable, independent buffer.

These operations never silently project pixels to NumPy. Pyclesperanto cannot
provide native changed-shape reshape or broadcasting, so those requests raise
`NotImplementedError`. Its native ones allocation supports one to three
dimensions and its supported integer/float32 dtypes; boolean allocation is
explicitly unsupported. Existing conversion and disk boundaries remain separate.
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ applications.
examples/index
contributing
ci-cd
release_035_validation
release_036_validation

Boundary rule
-------------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/release_035_validation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ArrayBridge 0.3.5 release preparation
===================================
=====================================

Parent integration owner; base ea3f2a4cc91c4810d12343f58f85c1195e1a41e6.
The reviewed callable-native dtype default and durable decorator-context
Expand Down
2 changes: 1 addition & 1 deletion docs/source/release_036_validation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ArrayBridge typed thread-local release correction
================================================
=================================================

Parent integration owner. Actual failed original 0.3.5 publisher:
https://github.com/OpenHCSDev/ArrayBridge/actions/runs/36946585391.
Expand Down
2 changes: 1 addition & 1 deletion src/arraybridge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
NumPy/numcodecs import cost.
"""

__version__ = "0.3.6"
__version__ = "0.3.7"

_LAZY_EXPORTS: dict[str, str] = {
"MemoryType": ".types",
Expand Down
Loading
Loading