Assume that I have a fully connected network that takes in a vector containing 1025
elements. First 1024
elements are related to the input image of size 32 x 32 x 1
, and the last element in the vector (1025-th element
) is a control bit that I call it special input.
When this bit is zero
, the network should predict if there is a cat
in the image or not, and when this bit is one
, it should predict if there is a dog
in the image or not.
So how can I tell the network that your 1025-th element
should be special to you and you should pay more attention to it?
Note that it's just an example and the real problem is more complex than this. So please don't bypass the goal of this question by using tricks special to this example. Any idea is appreciated.