Special Annexure 3: PyTorch Coding Challenges (Without Solutions)
Abstract: Below is your Special Annexure 3: PyTorch Coding Challenges (Without Solutions) — perfect for assignments, examinations, classroom practice, lab sessions, and interview preparation. These challenges range from basic to expert level and are intentionally provided without solutions to encourage problem-solving and self-practice. Special Annexure 3: PyTorch Coding Challenges (Without Solutions) Practice-Oriented Problems for Learners, Students & Professionals Part A: Beginner-Level Challenges Challenge 1: Create Tensors of Different Types Create: A float tensor A long integer tensor A boolean tensor A 2D tensor of size (3,4) Print their shapes and data types. Challenge 2: Basic Tensor Arithmetic Given two tensors of size (5,5), perform: Addition Subtraction Element-wise multiplication Element-wise division Print the results. Challenge 3: Reshaping and Flattening Create a tensor of size (6,6). Perform: Reshape to...