• Skip to primary navigation
  • Skip to main content
  • Skip to footer

PyImageSearch

You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch

  • University Login
  • Get Started
  • Topics
    • Deep Learning
    • Dlib Library
    • Embedded/IoT and Computer Vision
    • Face Applications
    • Image Processing
    • Interviews
    • Keras and TensorFlow
    • Machine Learning and Computer Vision
    • Medical Computer Vision
    • Optical Character Recognition (OCR)
    • Object Detection
    • Object Tracking
    • OpenCV Tutorials
    • Raspberry Pi
  • Books and Courses
  • AI & Computer Vision Programming
  • Reviews
  • Blog
  • Consulting
  • About
  • FAQ
  • Contact
  • University Login
Deep Learning
Machine Learning
Python Programming
TensorFlow
Tutorial
how-to-use-tf-gradientTape-featured.png

How to Use ‘tf.GradientTape’

August 12, 2024

Table of Contents How to Use ‘tf.GradientTape’ Configuring Your Development Environment Introduction What Is tf.GradienTape? Simple Example of tf.GradienTape Image Classification with the COCO Dataset Prepare the Dataset Define the Model Train the Model Using model.fit Custom Training Loop with…

Read More of How to Use ‘tf.GradientTape’

Deep Learning
Keras and TensorFlow
Tutorials

Using TensorFlow and GradientTape to train a Keras model

March 23, 2020

In this tutorial, you will learn how to use TensorFlow’s GradientTape function to create custom training loops to train Keras models. Today’s tutorial was inspired by a question I received by PyImageSearch reader Timothy: Hi Adrian, I just read your…

Read More of Using TensorFlow and GradientTape to train a Keras model

You can learn Computer Vision, Deep Learning, and OpenCV.

Get your FREE 17 page Computer Vision, OpenCV, and Deep Learning Resource Guide PDF. Inside you’ll find our hand-picked tutorials, books, courses, and libraries to help you master CV and DL.


Footer

Topics

  • Deep Learning
  • Dlib Library
  • Embedded/IoT and Computer Vision
  • Face Applications
  • Image Processing
  • Interviews
  • Keras & Tensorflow
  • OpenCV Install Guides
  • Machine Learning and Computer Vision
  • Medical Computer Vision
  • Optical Character Recognition (OCR)
  • Object Detection
  • Object Tracking
  • OpenCV Tutorials
  • Raspberry Pi

Books & Courses

  • PyImageSearch University
  • FREE CV, DL, and OpenCV Crash Course
  • Practical Python and OpenCV
  • Deep Learning for Computer Vision with Python
  • PyImageSearch Gurus Course
  • Raspberry Pi for Computer Vision

PyImageSearch

  • Affiliates
  • Get Started
  • About
  • Consulting
  • Coaching
  • FAQ
  • YouTube
  • Blog
  • Contact
  • Privacy Policy

© 2025 PyImageSearch. All Rights Reserved.