xnn.gnn.fast.megnet.stage#

xnn.gnn.fast.megnet.stage(kind, shape, act, n_inputs, n_constants, like, grad)[source]#

The stage kind ("encode", "block", "set2set") of the given layer counts.

For CUDA tensors compiled, with first and second derivatives when grad; as written otherwise. n_inputs arguments are differentiated, n_constants follow.

Parameters:
Return type:

Callable