From the course: TensorFlow: Practical Skills in Constructing, Training, and Optimizing Models
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Utilize TensorFlow operations - TensorFlow Tutorial
From the course: TensorFlow: Practical Skills in Constructing, Training, and Optimizing Models
Utilize TensorFlow operations
- [Instructor] When data models, including neural networks, learn, what's really going on under the hood is a bunch of tensor manipulations and operations. Once you have a handle on these operations, you can both control and understand the machine learning that happens inside these models. In this lesson, I'll walk you through a couple of very common mathematical operations that TensorFlow models use. This will help you to understand both how machine learning works in the abstract and how models work inside TensorFlow. Please open up 02_02_Utilize.ipynb. I'll start with the multiplication of two matrices. Here, I have X defined as a two-by-three matrix and Y defined as a three-by-one matrix. To effect the multiplication, I'm simply using the @ sign. This is shorthand for the matmul function from the linear algebra module. This same function can be applied to higher-order tensors, which will be processed via batch matrix multiplication. Remember that matrix multiplication proceeds by…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.