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.79k stars 820 forks source link

Update 2.2_tensor.ipynb #86

Closed kpol-lgx closed 1 year ago

kpol-lgx commented 1 year ago

tf 没有 arange 函数,使用 tf.constant(range()) 可以替换为 tf.range()