public class GraphWiseAttentionLayerConfig extends GraphWiseBaseConvLayerConfig
GraphWiseAttentionLayerConfigBuilder
for a description of the hyperparameters.GraphWiseBaseConvLayerConfig.ConvLayerType
Modifier and Type | Field and Description |
---|---|
static AggregationOperation |
DEFAULT_AGGREGATION_OPERATION
|
static int |
DEFAULT_NUM_HEADS
3
|
DEFAULT_ACTIVATION_FUNCTION, DEFAULT_DROPOUT_RATE, DEFAULT_NUM_SAMPLED_NEIGHBORS, DEFAULT_WEIGHT_INIT_SCHEME
Constructor and Description |
---|
GraphWiseAttentionLayerConfig() |
GraphWiseAttentionLayerConfig(GraphWiseAttentionLayerConfig source) |
Modifier and Type | Method and Description |
---|---|
AggregationOperation |
getHeadAggregation() |
int |
getNumHeads() |
void |
setHeadAggregation(AggregationOperation aggregationOperation) |
void |
setNumHeads(int numHeads) |
getActivationFunction, getConvLayerType, getDropoutRate, getEdgeToEdgeConnection, getEdgeToVertexConnection, getNeighborWeightPropertyName, getNumSampledNeighbors, getVertexToEdgeConnection, getVertexToVertexConnection, getWeightInitScheme, setActivationFunction, setDropoutRate, setNumSampledNeighbors, setWeightInitScheme, useEdgeToEdgeConnection, useEdgeToVertexConnection, useVertexToEdgeConnection, useVertexToVertexConnection
public static final AggregationOperation DEFAULT_AGGREGATION_OPERATION
public static final int DEFAULT_NUM_HEADS
public GraphWiseAttentionLayerConfig()
public GraphWiseAttentionLayerConfig(GraphWiseAttentionLayerConfig source)
public AggregationOperation getHeadAggregation()
public int getNumHeads()
public void setHeadAggregation(AggregationOperation aggregationOperation)
public void setNumHeads(int numHeads)