parameters: (node: Node, value: np.ndarray)
docstring: Set new value of bias for node
      :param node:  NetworkX node to set new bias value
      :param value: new bias value
      :return: None
docstring_summary: Set new value of bias for node
      :param node:  NetworkX node to set new bias value
      :param value: new bias value
      :return: None
docstring_tokens: Set new value of bias for node : param node : NetworkX node to set new bias value : param value : new bias value : return : None
function: def set_bias_for_node(node: Node, value: np.ndarray):
      """
      Set new value of bias for node
      :param node:  NetworkX node to set new bias value
      :param value: new bias value
      :return: None
      """
      bias = get_bias_for_node(node)
      if bias is None:
          raise Exception('Can\'t set bias for node {} because node does not have a bias'.format(node.name))
      set_node_value(bias, value)
function_tokens: def set_bias_for_node ( node : Node , value : np . ndarray ) : bias = get_bias_for_node ( node ) if bias is None : raise Exception ( 'Can\'t set bias for node {} because node does not have a bias' . format ( node . name ) ) set_node_value ( bias , value )