当前位置:网站首页>Introduction to TensorFlow
Introduction to TensorFlow
2022-08-06 09:33:00 【Ding Jiaxiong】
3. Introduction to TensorFlow
Article table of contents
3.1 Dependent Views

Hosted on the GitHub platform and maintained by Google groups and contributors
Provide rich APIs related to deep learning, support Python and C/C++ interfaces
Provide a visual analysis tool Tensorboard for easy analysis and adjustment of the model
Supports various platforms such as Linux, Windows, Mac and even mobile devices
3.2 TensorFlow2.0 focuses on simplicity and ease of use
3.2.1 Workflow
- Load data using tf.data
- Model building and debugging
- Model training
- Pre-trained model call
- Deployment of the model
3.2.2 TensorFlow installation
pip install tensorflow==2.3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

3.3 Tensors
3.3.1 Tensors and related operations
Tensor is a multidimensional array
- 0-dimensional→scalar, one-dimensional tensor, two-dimensional, three-dimensional...
Generate Tensor
- tf.constant
tensor to numpy
- np.array()
- Tensor.numpy()
Common functions
Addition
- tf.add
Element-wise multiplication
- tf.muliply
Matrix Multiplication
- tf.matmul

3.3.2 Variables
- A special kind of tensor whose shape is immutable, but whose parameters can be changed
- tf.Variable

3.4 tf.keras
3.4.1 High-level API of TensorFlow2.0
- New styles and design patterns for TensorFlow code
- Improve the simplicity and reusability of TF code
3.4.2 Common Modules
3.4.3 Common Methods
The main process of deep learning implementation
- Data acquisition
- Data processing
- Model creation and training
- Model testing and evaluation
- Model predictions
Import tf.keras
Data entry
Model building
Training and Evaluation
Callback function
Model save and restore
3.5 Quick Start Model
3.5.1 Iris Classification Case
Implementation using machine learning sklearn logistic regression
Implementation using tf.Keras
边栏推荐
- Free and open source web version of Xshell [Happy New Year to everyone]
- 入门 Polkadot 平行链开发,看这一篇就够了
- 接口自动化落地实践
- Card hovering frosted glass effect
- Dijkstr heap optimization
- Day 16 (Configuration BPDU, TCN BPDU)
- jupyter notebook & pycharm(anaconda)
- ACM常用头文件
- pytorch中的两个重要的自学函数 dir() ; help()
- Usage of torch.utils.data in pytorch ---- Loading Data
猜你喜欢

ELT.zip 】 【 OpenHarmony chew club - the methodology of academic research paper precipitation series

DO280管理和监控OpenShift平台--使用probes监视应用

Day 17 (16 day bpdus related knowledge and STP configuration)

WIFI营销小程序源码

【ELT.ZIP】OpenHarmony啃论文俱乐部——学术科研方法论沉淀辑

域名授权验证系统v1.0.6开源版本网站源码

Interface automation landing practice

DO280管理和监控OpenShift平台--OCP升级

LinkedList 是如何完成添加的?

响应式建筑工程集团公司类网站织梦模板(自适应手机端)
随机推荐
Token design scheme under microservice
Remember to deduplicate es6 Set to implement common menus
C. Robot in a Hallway (recursion/prefix sum/dynamic programming)
JDBC数据库连接
21天学习挑战赛--第三天打卡(动态更换app图标)
亚马逊员工教你打造DIY版Echo
白色简洁大方公司企业网站源码 WordPress主题2款
深度神经网络
长沙学院2022暑假训练赛(一)
VS namespace names of different projects of the same solution are unique
21-day Learning Challenge--Pick-in on the third day (dynamically change the app icon)
The values in the array into another array, and capital
Domain name authorization verification system v1.0.6 open source version website source code
imu绘制运动轨迹
Hongke Sharing|How to ensure the security of medical data?Moving target defense technology gives you satisfactory answers
ACM常用模板目录
Usage of torch.utils.data in pytorch ---- Loading Data
grpc uses consul for service registration and discovery
C. Virus(贪心)
[Mathematical Modeling] Integer Programming



