scvi.nn.FCLayers.forward

FCLayers.forward(x, *cat_list)[source]

Forward computation on x.

Parameters
x : torch.Tensor

tensor of values with shape (n_in,)

cat_list : intint

list of category membership(s) for this sample

x

Returns

py:class:torch.Tensor tensor of shape (n_out,)