Class MaxPoolAggregatingLayer
- java.lang.Object
-
- org.neo4j.gds.embeddings.graphsage.MaxPoolAggregatingLayer
-
-
Constructor Summary
Constructors Constructor Description MaxPoolAggregatingLayer(int sampleSize, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> poolWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> selfWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> neighborsWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Vector> bias, ActivationFunction activationFunction, long randomState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregatoraggregator()org.neo4j.gds.ml.core.subgraph.NeighborhoodSamplersampler()intsampleSize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.embeddings.graphsage.Layer
neighborhoodFunction, randomState, weights
-
-
-
-
Constructor Detail
-
MaxPoolAggregatingLayer
public MaxPoolAggregatingLayer(int sampleSize, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> poolWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> selfWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Matrix> neighborsWeights, org.neo4j.gds.ml.core.functions.Weights<org.neo4j.gds.ml.core.tensor.Vector> bias, ActivationFunction activationFunction, long randomState)
-
-
Method Detail
-
sampleSize
public int sampleSize()
- Specified by:
sampleSizein interfaceLayer
-
aggregator
public Aggregator aggregator()
- Specified by:
aggregatorin interfaceLayer
-
-