선형 AutoEncoder를 활용한 이미지 축소 및 복원 (MNIST 데이터셋 사용) 라이브러리 가져오기 import tensorflow as tf from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Dense, Input import numpy as np import matplotlib.pyplot as plt tf.__version__ 데이터셋 가져오기 from tensorflow.keras.datasets import mnist (X_train, y_train), (X_test, y_test) = mnist.load_data() X_train.shape, y_train.shape #((600..