Hi, you cannot do it natively, but for your first example, you can simply run 2 networks in parallel and then combine both outputs softmax formula. The networks are trained separately
As for the second example, its cannot be done without coding. much coding actually :)