compute_mask

FullyConnected.compute_mask(inputs, mask)

Computes an output mask tensor.

Parameters:
  • inputs – Tensor or list of tensors.

  • mask – Tensor or list of tensors.

Returns:

None or a tensor (or list of tensors,

one per output tensor of the layer).