NotFoundError: Could not find valid device for node in TensorFlow for custom loss function on large dataset

后端 未结 0 872
隐瞒了意图╮
隐瞒了意图╮ 2021-02-14 16:44

Following is my code for the custom loss function

def cost(self, Y, logits):
        loss = tf.math.reduce_sum(
            tf.nn.sparse_softmax_cross_entropy_wit         


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