If the father wants the child and the mother doesn’t, there is no current feasible way for the father to take on the prepartum duties - that’s something only a woman can do, and I don’t think post-implantation fetus transplants are available.