layer_graph_conv_skip: GraphConvSkip

Description Usage Arguments

View source: R/layers_conv.R

Description

\loadmathjax

A simple convolutional layer with a skip connection.

Mode: single, disjoint, mixed, batch.

This layer computes: \mjdeqn Z = D^-1/2 A D^-1/2 X W_1 + X W_2 + b where \mjeqn A does not have self-loops (unlike in GraphConv).

Input

Output

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
layer_graph_conv_skip(
  object,
  channels,
  activation = NULL,
  use_bias = TRUE,
  kernel_initializer = "glorot_uniform",
  bias_initializer = "zeros",
  kernel_regularizer = NULL,
  bias_regularizer = NULL,
  activity_regularizer = NULL,
  kernel_constraint = NULL,
  bias_constraint = NULL,
  ...
)

Arguments

channels

number of output channels

activation

activation function to use

use_bias

bool, add a bias vector to the output

kernel_initializer

initializer for the weights

bias_initializer

initializer for the bias vector

kernel_regularizer

regularization applied to the weights

bias_regularizer

regularization applied to the bias vector

activity_regularizer

regularization applied to the output

kernel_constraint

constraint applied to the weights

bias_constraint

constraint applied to the bias vector.


rdinnager/rspektral documentation built on June 12, 2021, 1:26 a.m.