Home
last modified time | relevance | path

Searched refs:loss_shape (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dmodel_fn.py162 loss_shape = loss.get_shape()
163 if loss_shape.num_elements() not in (None, 1):
165 if not loss_shape.is_compatible_with(tensor_shape.scalar()):
/external/tensorflow/tensorflow/cc/gradients/
Dnn_grad_test.cc117 TensorShape loss_shape({5}); in TEST_F() local
126 {logits_shape, loss_shape}); in TEST_F()