MultiFullyConnectedHead#

class ctlearn.core.MultiFullyConnectedHead(heads_dict, single_output_task=None)[source]#

Bases: Module

A PyTorch container module to hold the multi-task fully connected heads.

Methods Summary

forward(x)

Perform the forward pass of the neural network.

Methods Documentation

forward(x)[source]#

Perform the forward pass of the neural network.

Parameters#

xtorch.Tensor

The input tensor.

Returns#

torch.Tensor

The output tensor after processing.