80cb51a6e9b3cdb118979dc40baa60bbc4cfc3f2,stellargraph/__init__.py,,,#,18
Before Change
import warnings
// Custom layers for keras deserialization:
custom_keras_layers = {
"GraphConvolution": layer.GraphConvolution,
"ClusterGraphConvolution": layer.ClusterGraphConvolution,
"GraphAttention": layer.GraphAttention,
"GraphAttentionSparse": layer.GraphAttentionSparse,
"SqueezedSparseConversion": layer.SqueezedSparseConversion,
"MeanAggregator": layer.graphsage.MeanAggregator,
"MaxPoolingAggregator": layer.graphsage.MaxPoolingAggregator,
"MeanPoolingAggregator": layer.graphsage.MeanPoolingAggregator,
"AttentionalAggregator": layer.graphsage.AttentionalAggregator,
"MeanHinAggregator": layer.hinsage.MeanHinAggregator,
"RelationalGraphConvolution": layer.rgcn.RelationalGraphConvolution,
"PPNPPropagationLayer": layer.ppnp.PPNPPropagationLayer,
"APPNPPropagationLayer": layer.appnp.APPNPPropagationLayer,
"GatherIndices": layer.misc.GatherIndices,
"SortPooling": layer.SortPooling,
}
A dictionary of the ``tensorflow.keras`` layers defined by StellarGraph.
When Keras models using StellarGraph layers are saved, they can be loaded by passing this value to
After Change
LeakyClippedLinear as _LeakyClippedLinear,
)
custom_keras_layers = {
class_.__name__: class_
for class_ in [
layer.GraphConvolution,
layer.ClusterGraphConvolution,
layer.GraphAttention,
layer.GraphAttentionSparse,
layer.SqueezedSparseConversion,
layer.graphsage.MeanAggregator,
layer.graphsage.MaxPoolingAggregator,
layer.graphsage.MeanPoolingAggregator,
layer.graphsage.AttentionalAggregator,
layer.hinsage.MeanHinAggregator,
layer.rgcn.RelationalGraphConvolution,
layer.ppnp.PPNPPropagationLayer,
layer.appnp.APPNPPropagationLayer,
layer.misc.GatherIndices,
layer.deep_graph_infomax.DGIDiscriminator,
layer.deep_graph_infomax.DGIReadout,
layer.graphsage.GraphSAGEAggregator,
layer.knowledge_graph.ComplExScore,
layer.knowledge_graph.DistMultScore,
layer.preprocessing_layer.GraphPreProcessingLayer,
layer.preprocessing_layer.SymmetricGraphPreProcessingLayer,
layer.watch_your_step.AttentiveWalk,
layer.sort_pooling.SortPooling,
layer.gcn_lstm.FixedAdjacencyGraphConvolution,
_LinkEmbedding,
_LeakyClippedLinear,
]
}
A dictionary of the ``tensorflow.keras`` layers defined by StellarGraph.
When Keras models using StellarGraph layers are saved, they can be loaded by passing this value to
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: stellargraph/stellargraph
Commit Name: 80cb51a6e9b3cdb118979dc40baa60bbc4cfc3f2
Time: 2020-05-04
Author: Huon.Wilson@data61.csiro.au
File Name: stellargraph/__init__.py
Class Name:
Method Name:
Project Name: Theano/Theano
Commit Name: b7d23606db54f1b60d0efae50922549234b20661
Time: 2017-07-31
Author: abergeron@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name:
Project Name: Theano/Theano
Commit Name: f8a7c0edb2c4123d032fa32073c7356a7a17d9f0
Time: 2017-08-07
Author: stevenbocco@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name: