Searched refs:tensors_compatible (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | tensor_signature_test.py | 47 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 …]
|
D | tensor_signature.py | 112 def tensors_compatible(tensors, signatures): function
|
D | estimator.py | 835 if not tensor_signature.tensors_compatible(features, self._features_info): 846 if not tensor_signature.tensors_compatible(labels, self._labels_info):
|