© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. AhlawatReinforcement Learning for Financehttps://doi.org/10.1007/978-1-4842-8835-1_2

2. Introduction to TensorFlow

Samit Ahlawat1  
(1)
Irvington, NJ, USA
 

TensorFlow is an open source, high-performance machine learning library developed by Google and released for public use in 2015. It has interfaces for Python, C++, and Java programming languages. It has the option of running on multiple CPUs or GPUs. TensorFlow offers two modes of execution: eager mode that can be run immediately and graph mode that creates a dependency graph and executes nodes in that graph only where needed.

This book uses TensorFlow 2.9.1. Older TensorFlow constructs from version 1 of ...

Get Reinforcement Learning for Finance: Solve Problems in Finance with CNN and RNN Using the TensorFlow Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.