tf.cast returns zeros when attempting to cast int to float

后端 未结 0 941
执笔经年
执笔经年 2021-02-19 11:12

I\'m running this script with Python 3.7.2 and TensorFlow 2.3.0:

import tensorflow as tf

c = tf.constant([10, 22, 33])
d = tf.c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题