Text this: Asymmetrical estimator for training encapsulated deep photonic neural networks