Gallery
Concise and Practical AI/ML
Share
Explore

icon picker
Libraries to Use

What is TensorFlow

TensorFlow is a popular gradient-based machine learning library to be used in Python but still at optimal speed because TensorFlow modules are all built from C/C++ and exported for Python.

What is Keras

Keras is a theoretical library which runs on multiple platform including TensorFlow, PyTorch, and some others.

AI and ML Tools

Library: TensorFlow —
Notebook: Colab —

Load TensorFlow & Keras

Loading steps:
First load the TensorFlow root package
Second load the Keras package
Third load the core most things called layers
4th load the activation functions for layers
5th is the end to wrap up a model, load abstract model class and functions
Optionally load callback classes and functions to log in training.
%reset -f

# Libs
import tensorflow as tf
from tensorflow.keras import *
from tensorflow.keras.layers import *
from tensorflow.keras.activations import *
from tensorflow.keras.models import *
from tensorflow.keras.callbacks import *

# PROGRAMME ENTRY POINT
print("TensorFlow version:",tf.__version__)
# EOF

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.