Giter VIP home page Giter VIP logo

you-dont-know-tensorflow's Introduction

You don't know TensorFlow

Contains materials for my talk "You don't know TensorFlow". A recording of the talk can be found here.

In this talk, I present some under-appreciated and under-used features of TensorFlow. I focus on two things: (1) handling variable-length sequences in TensorFlow and (2) XLA.

⚠️Disclaimer 1 ⚠️: Please note that it's my observation that I have found the usage of these two things to be poorer than expected. Someone else may have other findings, and I don't have any immediate conflicts with those.

⚠️Disclaimer 2 ⚠️: The title of this talk is meant to be humorous and is NOT so to hurt anyone’s sentiments.

Notebooks

Additionally, for XLA, I use this Colab Notebook to demonstrate how XLA can speed up text generation in TensorFlow by 100x.

Slides

Link

Notes

In the interest of time, I may not be able to even scratch the surface of XLA. I suggest going through the following resources in case XLA in TensorFlow interests you:

Not covered in the Slides

But I wanted to cover:

  • Exporting TensorFlow SavedModels for deployment (example)
    • How should you export your SavedModels for deployment?
    • Model surgery
    • TF Serving
  • Ragged tensors
  • Taking advantage of TensorRT to speedup inference (example)

you-dont-know-tensorflow's People

Contributors

sayakpaul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.