Skip to content

Commit

Permalink
Update v3.0.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Jul 26, 2023
1 parent f1cca01 commit 5924fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v3/core/v3.0.rst
Expand Up @@ -1192,10 +1192,10 @@ of an additional operation:
encoded representations, such as compression algorithms. Depending on the
type of the codec, the signature could differ:

- ``c.compute_encoded_size(array_size, dtype) -> (array_size, dtpye)``
- ``c.compute_encoded_size(array_size, data_type) -> (array_size, data_type)``
for ``array -> array`` codecs, where ``array_size`` is the number of items
in the array, i.e., the product of the components of the array's shape;
- ``c.compute_encoded_size(array_size, dtype) -> byte_size``
- ``c.compute_encoded_size(array_size, data_type) -> byte_size``
for ``array -> bytes`` codecs;
- ``c.compute_encoded_size(byte_size) -> byte_size``
for ``bytes -> bytes`` codecs.
Expand Down

0 comments on commit 5924fc1

Please sign in to comment.