xnn.gnn.fast.cgcnn.stage#

xnn.gnn.fast.cgcnn.stage(key, num_edges, n_inputs, n_constants, like, grad)[source]#

The network stage of key (the arguments of network_function()) for a graph of num_edges.

For CUDA tensors compiled, with a fast first derivative and a second one on request when grad (compile_differentiable()); as written otherwise. n_inputs arguments are differentiated, n_constants follow. Each size_class() is compiled on its own, for the sizes mark_sizes() gives the compiler.

Parameters:
Return type:

Callable