采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
6ced:47 Uncaught (in promise) TypeError: examples.print is not a function
请问下老师 这个examples对象调用print方法报错有什么解决办法吗?
examples是tensor吗?还是clone示例代码来运行比较稳妥
看起来应该是tensor,labels: t dataId: {} dtype: "int32" id: 1 isDisposed: (...) isDisposedInternal: false kept: false rank: (...) rankType: "2" shape: (2) [20, 10] size: 200 strides: [10] [[Prototype]]: Object xs: t dataId: {} dtype: "float32" id: 0 isDisposed: (...) isDisposedInternal: false kept: false rank: (...) rankType: "2" shape: (2) [20, 784] size: 15680 strides: [784] [[Prototype]]: Object [[Prototype]]: Object
如果是tensor不该报错,还是建议clone仓库运行
登录后可查看更多问答,登录/注册
机器学习理论知识+Tensorflow.js实战开发
1.2k 10
981 8
828 8
642 7
1.3k 6