« 競艇のボートとモーター | メイン | selectボックスのoptionごとの背景色変更 »
2021年01月20日
tensorflow2ロス関数内にif的な
po = tf.cond( tf.less(tf.constant(11.0),tf.constant(10.0)) ,lambda:tf.constant(1.0) ,lambda:tf.constant(100.0))
tf.less(a,b) a<bと同じ
投稿者 muuming : 2021年01月20日 17:03