get_output_mask_at

FullyConnected.get_output_mask_at(node_index)

Retrieves the output mask tensor(s) of a layer at a given node.

Parameters:

node_index – Integer, index of the node from which to retrieve the attribute. E.g. node_index=0 will correspond to the first time the layer was called.

Returns:

A mask tensor (or list of tensors if the layer has multiple outputs).