2017-05-15 5 views

答えて

4

あなたは、x.dtypeを使用して型を取得することができます。

import tensorflow as tf 
x=tf.constant([1,2]) 
x.dtype 

をこれがtf.int32

を印刷します
関連する問題