Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
liuanji committed Mar 1, 2024
1 parent 9fc5014 commit 141fadd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/02_construct_simple_pc.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
# :code:`ms` defines a product node vector where every node have two children: the first child is a node in :code:`ni0` and the second child is a node in :code:`ni1`.
# :code:`edge_ids` specifies which child nodes do every node in :code:`ms` connects to. Specifically, :code:`edge_ids` has size :code:`[# product node blocks, # child node vectors]`, so in this case, it should has size :code:`[4, 2]`.
# The semantic of :code:`edge_ids[i,j]` is:
# the :math:`i`th product node block connects to the `edge_ids[i,j]`th node block in the jth child node vector (assume we always count from 0).
# the :math:`i`th
# product node block connects to the :math:`edge_ids[i,j]`th
# node block in the jth child node vector (assume we always count from 0).
# For example, `edge_ids[1,0] = 1` means that the 1th product node block connects to the 1th node block in :code:`ni0`.
#
# We require the node vectors fed to :code:`pyjuice.multiply` have the same :code:`block_size`. And the block size of the output product node vector is also the same with that of the inputs.
Expand Down

0 comments on commit 141fadd

Please sign in to comment.