Thanks for the answer Charles. What I suspected. This makes it more difficult for a C++ program to validate a given TorchScript model, like you could in TensorFlow. But the fake-forward pass is better than nothing, at least allows early detection of mismatched dimensions.