add
- FullyConnected.add(layer)
- Adds a layer instance on top of the layer stack. - Parameters:
- layer – layer instance. 
- Raises:
- TypeError – If layer is not a layer instance. 
- ValueError – In case the layer argument does not know its input shape. 
- ValueError – In case the layer argument has multiple output tensors, or is already connected somewhere else (forbidden in Sequential models).