In this norebook, we’re going to cover some of the most fundamental concepts using Tensorflow.
More specifically, we’re going to cover:
- Introduction to tensors
- Getting information from tensors
- Manipulating tensors
- Tensors & Numpy
- Using @
- Using GPUs with TF
Import Tensorflow
1 | import tensorflow as tf |
Tensorflow 包含了一維,二維,三維,多維
scalaer
vector
matrix
1 | ## check the number of dimensions of a tensor (ndim stands for number of dimensions) |
1 | # Let's create a tensor |