Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ifrit98 committed Oct 30, 2023
1 parent 5cdd1ff commit 03b3a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bittensor/dendrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def forward(
the requests, and then sends them off. After getting the responses, it processes and
collates them into a unified format.
When querying an Axon that sends back data in chunks using the Dednrite, this function
When querying an Axon that sends back data in chunks using the Dendrite, this function
returns an AsyncGenerator that yields each chunk as it is received. The generator can be
iterated over to process each chunk individually.
Expand Down
2 changes: 1 addition & 1 deletion bittensor/metagraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def _set_weights_and_bonds(self, subtensor: bittensor.subtensor = None):
None.
"""
# TODO: Check and test the computation of weights and bonds
if self.netuid == 0: # Is this the root network?
if self.netuid == 0:
self.weights = self._process_root_weights(
[neuron.weights for neuron in self.neurons], "weights", subtensor
)
Expand Down

0 comments on commit 03b3a3f

Please sign in to comment.