/external/tensorflow/tensorflow/python/ops/ |
D | variable_spec_test.py | 43 self.assertTrue(spec.is_compatible_with(spec2)) 44 self.assertFalse(spec2.is_compatible_with(spec3)) 51 self.assertTrue(spec2.is_compatible_with(var)) 52 self.assertFalse(spec3.is_compatible_with(var2)) 57 self.assertFalse(spec.is_compatible_with(spec4)) 58 self.assertTrue(spec4.is_compatible_with(spec5)) 59 self.assertTrue(spec4.is_compatible_with(var2)) 62 self.assertFalse(spec4.is_compatible_with(tensor))
|
D | confusion_matrix.py | 71 predictions_shape.dims[-1].is_compatible_with(1)): 74 labels_shape.dims[-1].is_compatible_with(1)): 81 predictions_shape.dims[-1].is_compatible_with(1)): 87 labels_shape.dims[-1].is_compatible_with(1)):
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_spec_test.py | 62 self.assertTrue(desc_unknown.is_compatible_with(unknown)) 63 self.assertTrue(desc_unknown.is_compatible_with(partial)) 64 self.assertTrue(desc_unknown.is_compatible_with(full)) 65 self.assertTrue(desc_unknown.is_compatible_with(rank3)) 68 self.assertTrue(desc_partial.is_compatible_with(unknown)) 69 self.assertTrue(desc_partial.is_compatible_with(partial)) 70 self.assertTrue(desc_partial.is_compatible_with(full)) 71 self.assertFalse(desc_partial.is_compatible_with(rank3)) 74 self.assertTrue(desc_full.is_compatible_with(unknown)) 75 self.assertFalse(desc_full.is_compatible_with(partial)) [all …]
|
D | tensor_spec.py | 78 def is_compatible_with(self, spec_or_value): member in DenseSpec 80 self._dtype.is_compatible_with(spec_or_value.dtype) and 81 self._shape.is_compatible_with(spec_or_value.shape)) 130 def is_compatible_with(self, spec_or_tensor): # pylint:disable=useless-super-delegation member in TensorSpec 142 return super(TensorSpec, self).is_compatible_with(spec_or_tensor) 161 if not value.shape.is_compatible_with(self._shape):
|
D | tensor_shape.py | 248 def is_compatible_with(self, other): member in Dimension 274 if not self.is_compatible_with(other): 1057 def is_compatible_with(self, other): member in TensorShape 1100 if not x_dim.is_compatible_with(y_dim): 1116 if not self.is_compatible_with(other):
|
D | type_spec_test.py | 168 self.assertTrue(v1.is_compatible_with(v2)) 169 self.assertTrue(v2.is_compatible_with(v1)) 189 self.assertFalse(v1.is_compatible_with(v2)) 190 self.assertFalse(v2.is_compatible_with(v1))
|
D | type_spec.py | 88 def is_compatible_with(self, spec_or_value): member in TypeSpec 303 if not s1.is_compatible_with(s2): 362 return a.is_compatible_with(b)
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_from_tensor_op_test.py | 364 dt.shape.is_compatible_with(rt.shape), 380 dt.shape.is_compatible_with(rt.shape), 491 self.assertTrue(dt.shape.is_compatible_with(rt.shape))
|
D | ragged_to_tensor_op_test.py | 345 self.assertTrue(dt.shape.is_compatible_with(shape)) 347 self.assertTrue(dt.shape.is_compatible_with(rt.shape)) 420 self.assertTrue(actual.shape.is_compatible_with([4, 4])) 427 self.assertTrue(actual.shape.is_compatible_with([2, None]))
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.-type-spec.pbtxt | 13 name: "is_compatible_with"
|
D | tensorflow.-optional-spec.pbtxt | 19 name: "is_compatible_with"
|
D | tensorflow.-indexed-slices-spec.pbtxt | 15 name: "is_compatible_with"
|
D | tensorflow.data.-dataset-spec.pbtxt | 20 name: "is_compatible_with"
|
D | tensorflow.-tensor-array-spec.pbtxt | 19 name: "is_compatible_with"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-type-spec.pbtxt | 13 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-structure.pbtxt | 13 name: "is_compatible_with"
|
D | tensorflow.-dimension.pbtxt | 18 name: "is_compatible_with"
|
D | tensorflow.-indexed-slices-spec.pbtxt | 15 name: "is_compatible_with"
|
D | tensorflow.-optional-spec.pbtxt | 19 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-optional-structure.pbtxt | 19 name: "is_compatible_with"
|
D | tensorflow.-tensor-array-spec.pbtxt | 19 name: "is_compatible_with"
|
D | tensorflow.data.-dataset-spec.pbtxt | 20 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 20 name: "is_compatible_with"
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | padding_fifo_queue_test.py | 436 tensor_shape.TensorShape(float_val.shape).is_compatible_with( 439 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ 450 tensor_shape.TensorShape(float_val.shape).is_compatible_with( 453 tensor_shape.TensorShape(int_val.shape).is_compatible_with( 481 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 484 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ 491 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 494 tensor_shape.TensorShape(int_val.shape).is_compatible_with( 522 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 525 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | grouping.py | 274 if not self._key_func.output_structure.is_compatible_with( 399 if not self._window_size_func.output_structure.is_compatible_with( 411 if not self._key_func.output_structure.is_compatible_with(
|