train_label = tf.keras.backend.one_hot(train_label,3)
train_label = tf.one_hot(train_label,3)
在 tensorflow 2.0.0 中给出以下错误
InternalError: Could not find valid device for node.
节点:{{node OneHot}}
train_label = tf.keras.backend.one_hot(train_label,3)
train_label = tf.one_hot(train_label,3)
在 tensorflow 2.0.0 中给出以下错误
InternalError: Could not find valid device for node.
节点:{{node OneHot}}