Home
last modified time | relevance | path

Searched refs:is_compatible_with (Results 1 – 25 of 82) sorted by relevance

1234

/external/tensorflow/tensorflow/python/ops/
Dvariable_spec_test.py43 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))
Dconfusion_matrix.py71 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/
Dtensor_spec_test.py62 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 …]
Dtensor_spec.py78 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):
Dtensor_shape.py248 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):
Dtype_spec_test.py168 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))
Dtype_spec.py88 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/
Dragged_from_tensor_op_test.py364 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))
Dragged_to_tensor_op_test.py345 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/
Dtensorflow.-type-spec.pbtxt13 name: "is_compatible_with"
Dtensorflow.-optional-spec.pbtxt19 name: "is_compatible_with"
Dtensorflow.-indexed-slices-spec.pbtxt15 name: "is_compatible_with"
Dtensorflow.data.-dataset-spec.pbtxt20 name: "is_compatible_with"
Dtensorflow.-tensor-array-spec.pbtxt19 name: "is_compatible_with"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-type-spec.pbtxt13 name: "is_compatible_with"
Dtensorflow.data.experimental.-structure.pbtxt13 name: "is_compatible_with"
Dtensorflow.-dimension.pbtxt18 name: "is_compatible_with"
Dtensorflow.-indexed-slices-spec.pbtxt15 name: "is_compatible_with"
Dtensorflow.-optional-spec.pbtxt19 name: "is_compatible_with"
Dtensorflow.data.experimental.-optional-structure.pbtxt19 name: "is_compatible_with"
Dtensorflow.-tensor-array-spec.pbtxt19 name: "is_compatible_with"
Dtensorflow.data.-dataset-spec.pbtxt20 name: "is_compatible_with"
Dtensorflow.data.experimental.-dataset-structure.pbtxt20 name: "is_compatible_with"
/external/tensorflow/tensorflow/python/kernel_tests/
Dpadding_fifo_queue_test.py436 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/
Dgrouping.py274 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(

1234