I think you want something like:
Cascai_Network() : optimizer(this->parameters(), torch::optim::AdamOptions(2e-4).beta1(0.5)) {}

But you might be getting the same issue for your linear layers that you should initialize the same way to give them the right feature sizes.