The network that uses a dimensionality reduction technique such as PCA in this scenario will not always give same output. The reason is because PCA works on correlated features, whereas hidden layers work on predictive capacity of features.