"The idea here is we'll build a network that tries to generate it's input data, but with a narrow hidden layer that serves as a compressed representation of the input data." should be
"The idea here is we'll build a network that tries to generate its input data, but with a narrow hidden layer that serves as a compressed representation of the input data."
"The idea here is we'll build a network that tries to generate it's input data, but with a narrow hidden layer that serves as a compressed representation of the input data." should be
"The idea here is we'll build a network that tries to generate its input data, but with a narrow hidden layer that serves as a compressed representation of the input data."