You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bittensor/core/async_subtensor.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1596,9 +1596,11 @@ async def set_weights(
1596
1596
1597
1597
This function is crucial in shaping the network's collective intelligence, where each neuron's learning and contribution are influenced by the weights it sets towards others【81†source】.
success (bool): Flag is ``true`` if extrinsic was finalized or included in the block. If we did not wait for finalization / inclusion, the response is ``true``.
Retrieves detailed information about a specific neuron identified by its unique identifier (UID) within a specified subnet (netuid) of the Bittensor network. This function provides a comprehensive view of a neuron's attributes, including its stake, rank, and operational status.
963
963
964
964
Args:
965
-
uid (Optional[int]): The unique identifier of the neuron.
965
+
uid (int): The unique identifier of the neuron.
966
966
netuid (int): The unique identifier of the subnet.
967
967
block (Optional[int]): The blockchain block number for the query.
968
968
@@ -1814,23 +1814,36 @@ def set_weights(
1814
1814
1815
1815
This function is crucial in shaping the network's collective intelligence, where each neuron's learning and contribution are influenced by the weights it sets towards others【81†source】.
0 commit comments