又搞到3点,还是没有找到问题在哪,不过已经排除了是forward的问题
This commit is contained in:
14
algorithms/neat/genome/origin_neat/aggregations.py
Normal file
14
algorithms/neat/genome/origin_neat/aggregations.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Has the built-in aggregation functions, code for using them,
|
||||
and code for adding new user-defined ones.
|
||||
"""
|
||||
|
||||
def sum_aggregation(x):
|
||||
return sum(x)
|
||||
|
||||
|
||||
aggregation_dict = {
|
||||
'sum': sum_aggregation,
|
||||
}
|
||||
|
||||
full_aggregation_list = list(aggregation_dict.keys())
|
||||
Reference in New Issue
Block a user