9c10cffeab618e30b0661cd9365e87fea00ba2b8,stellargraph/layer/graphsage.py,GraphSAGEAggregator,get_config,#GraphSAGEAggregator#,73
Before Change
Gets class configuration for Keras serialization
config = {
"output_dim": self.output_dim,
"bias": self.has_bias,
"act": activations.serialize(self.act),
}
base_config = super().get_config()
return {**base_config, **config}
def calculate_group_sizes(self, input_shape):
After Change
Gets class configuration for Keras serialization
config = {
"output_dim": self.output_dim,
"bias": self.has_bias,
"act": activations.serialize(self.act),
"kernel_initializer": initializers.serialize(self.kernel_initializer),
"kernel_regularizer": regularizers.serialize(self.kernel_regularizer),
"kernel_constraint": constraints.serialize(self.kernel_constraint),
"bias_initializer": initializers.serialize(self.bias_initializer),
"bias_regularizer": regularizers.serialize(self.bias_regularizer),
"bias_constraint": constraints.serialize(self.bias_constraint),
}
base_config = super().get_config()
return {**base_config, **config}
def calculate_group_sizes(self, input_shape):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 16
Instances
Project Name: stellargraph/stellargraph
Commit Name: 9c10cffeab618e30b0661cd9365e87fea00ba2b8
Time: 2019-09-29
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/layer/graphsage.py
Class Name: GraphSAGEAggregator
Method Name: get_config
Project Name: Hironsan/anago
Commit Name: f9b869cbaab08d5d9c998ba487aadbde685dae78
Time: 2017-08-30
Author: light.tree.1.13@gmail.com
File Name: anago/layers.py
Class Name: ChainCRF
Method Name: get_config
Project Name: stellargraph/stellargraph
Commit Name: 9c10cffeab618e30b0661cd9365e87fea00ba2b8
Time: 2019-09-29
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/layer/hinsage.py
Class Name: MeanHinAggregator
Method Name: get_config
Project Name: stellargraph/stellargraph
Commit Name: 9c10cffeab618e30b0661cd9365e87fea00ba2b8
Time: 2019-09-29
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/layer/graphsage.py
Class Name: GraphSAGEAggregator
Method Name: get_config