TrickyGo / Dive-into-DL-TensorFlow2.0

本项目将《动手学深度学习》(Dive into Deep Learning)原书中的MXNet实现改为TensorFlow 2.0实现,项目已得到李沐老师的认可
https://trickygo.github.io/Dive-into-DL-TensorFlow2.0/#/
Apache License 2.0
3.78k stars 820 forks source link

Update 2.2_tensor.ipynb #87

Closed kpol-lgx closed 1 year ago

kpol-lgx commented 1 year ago

tf 没有 arange 函数,改为 tf.range 。使用 tf.constant(range()) 没有必要。