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

Update shape.rst #155

Merged
merged 1 commit into from
Aug 17, 2023
Merged
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
8 changes: 4 additions & 4 deletions docs/source/developer/design/shape.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Basic operations
The unifying theme of objects in the shape component is that they are
shapes. It is common to not This means they have:

- rank
- extents
- :ref:`term_rank`
- :ref:`term_extent`
- sub-shapes (a sub-shape can be either a :ref:`term_slice` or a
:ref:`term_chip`)
- *N.B.*, some, all, or none of these properties may be known at compile
Expand Down Expand Up @@ -210,7 +210,7 @@ as a vector of vectors. The point of the ``NestedShape`` object is to partition
the ranks of the tensor into layers, so we know how many layers the user is
viewing the tensor as, and how many ranks each layer has. Mathematically
the various ways of a viewing a tensor do not change the properties of the
tensor; however, when we are physically laying the tensor out on the computer
tensor; however, when we are physically laying the tensor out on the computer,
how we view the tensor can affect physical layout.

IndexedShape
Expand Down Expand Up @@ -690,7 +690,7 @@ returned as offsets from the origin, in lexicographical order. For example:
s.set_origin({10, 10});
print_shape(s); // prints {10,10} {10,11} {10,12} {11,10} {11,11} {11,12}

For completeness we define an overloads of ``Shape`` and ``JaggedShape`` which
For completeness we define overloads of ``Shape`` and ``JaggedShape`` which
also take an origin. For ``JaggedShape`` the origin needs to be specified for
the internal shapes and the explicitly unrolled ranks.

Expand Down
Loading