Keras RNN layers: a guide, Scott Zhu, Francois Chollet, 2023 (TensorFlow) - Provides specifications for input and output shapes, the return_sequences parameter, and other configuration details for Keras RNN layers.
RNN - PyTorch 2.3 documentation, PyTorch Developers, 2024 - Details the input and output tensor shapes and the role of the batch_first parameter for PyTorch's recurrent layers.
Deep Learning with Python, François Chollet, 2021 (Manning Publications) - Offers practical guidance on implementing recurrent neural networks with Keras and TensorFlow, including managing input and output tensor shapes.
Stanford CS224n: Natural Language Processing with Deep Learning, Diyi Yang, Tatsunori Hashimoto, 2025 (Stanford University) - Lecture notes and course materials covering recurrent neural network architectures and practical data handling, including tensor dimensions for sequence modeling.