Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
chhzh123 committed Jan 13, 2025
1 parent e924a0d commit ac4aec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutorials/dive_01_data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ def cast(a: int32) -> int16:
# --------------
# As hardware accelerators have ability to manipulate each bit of the data, Allo supports bit operations on
# those integer types. For example, we can access a specific bit in an integer ``a`` using the indexing operator:
#
#
# .. code-block:: python
#
# a[15]

# %%
# We can also extract a chunk of bits from an integer using the slicing operator:
#
#
# .. code-block:: python
#
# a[0:16]
#
#
# .. note::
#
# Allo follows the Python convention that the upper bound is not included, so ``[0:16]`` means
Expand Down

0 comments on commit ac4aec0

Please sign in to comment.