tensorflow_2.x_deep_learning_sample - HxGN EAM - Feature Briefs - Hexagon

HxGN EAM Python Studio (Flex Python) Technical Reference

Language
English
Product
HxGN EAM
Search by Category
Feature Briefs
HxGN EAM Version
12.0.0.1

An example that illustrates the basic procedures that Tensorflow 2.x deep learning process. It uses the MNIST built-in image data set. The dense MLP is defined with Tensorflow/Keras functional API. The model is generated and compiled with Adam optimizer, the learning neural network is visualized with plot_model method. The model trained with fit() function, model is evaluated with sparse_categorical_accuracy metric. Meanwhile, the loss function is also evaluated with validation data set. Model saving and loading are also demonstrated with prediction comparison.