parameters: (graph, node)
return_statement: return ops.OpStats("weight_parameters", bias_count)
docstring: Calculates the on-disk weight parameters for BiasAdd.
docstring_summary: Calculates the on-disk weight parameters for BiasAdd.
docstring_tokens: Calculates the on - disk weight parameters for BiasAdd .
function: def _calc_bias_add_weight_params(graph, node):
    """Calculates the on-disk weight parameters for BiasAdd."""
    bias_shape = graph_util.tensor_shape_from_node_def_name(graph, node.input[1])
    bias_shape.assert_is_fully_defined()
    bias_count = np.prod(bias_shape.as_list())
    return ops.OpStats("weight_parameters", bias_count)
function_tokens: def _calc_bias_add_weight_params ( graph , node ) : bias_shape = graph_util . tensor_shape_from_node_def_name ( graph , node . input [ 1 ] ) bias_shape . assert_is_fully_defined ( ) bias_count = np . prod ( bias_shape . as_list ( ) ) return ops . OpStats ( "weight_parameters" , bias_count )