Home
last modified time | relevance | path

Searched refs:tensors_compatible (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dtensor_signature_test.py47 self.assertTrue(tensor_signature.tensors_compatible(None, None))
48 self.assertFalse(tensor_signature.tensors_compatible(None, signatures))
49 self.assertFalse(tensor_signature.tensors_compatible(placeholder_a, None))
51 tensor_signature.tensors_compatible(placeholder_a, signatures))
53 tensor_signature.tensors_compatible(placeholder_b, signatures))
55 tensor_signature.tensors_compatible(placeholder_c, signatures))
57 tensor_signature.tensors_compatible(placeholder_d, signatures))
61 self.assertTrue(tensor_signature.tensors_compatible(inputs, signatures))
63 tensor_signature.tensors_compatible(placeholder_a, signatures))
65 tensor_signature.tensors_compatible(placeholder_b, signatures))
[all …]
Dtensor_signature.py112 def tensors_compatible(tensors, signatures): function
Destimator.py835 if not tensor_signature.tensors_compatible(features, self._features_info):
846 if not tensor_signature.tensors_compatible(labels, self._labels_info):