/external/tensorflow/tensorflow/python/framework/ |
D | tensor_spec_test.py | 60 self.assertTrue(desc_unknown.is_compatible_with(unknown)) 61 self.assertTrue(desc_unknown.is_compatible_with(partial)) 62 self.assertTrue(desc_unknown.is_compatible_with(full)) 63 self.assertTrue(desc_unknown.is_compatible_with(rank3)) 66 self.assertTrue(desc_partial.is_compatible_with(unknown)) 67 self.assertTrue(desc_partial.is_compatible_with(partial)) 68 self.assertTrue(desc_partial.is_compatible_with(full)) 69 self.assertFalse(desc_partial.is_compatible_with(rank3)) 72 self.assertTrue(desc_full.is_compatible_with(unknown)) 73 self.assertFalse(desc_full.is_compatible_with(partial)) [all …]
|
D | tensor_spec.py | 88 def is_compatible_with(self, spec_or_tensor): member in TensorSpec 100 return (self._dtype.is_compatible_with(spec_or_tensor.dtype) and 101 self._shape.is_compatible_with(spec_or_tensor.shape))
|
D | tensor_shape.py | 236 def is_compatible_with(self, other): member in Dimension 262 if not self.is_compatible_with(other): 1012 def is_compatible_with(self, other): member in TensorShape 1055 if not x_dim.is_compatible_with(y_dim): 1071 if not self.is_compatible_with(other):
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | tensor_signature.py | 70 def is_compatible_with(self, other): member in TensorSignature 84 if not x_dim.is_compatible_with(y_dim): 89 return self.is_sparse and self.dtype.is_compatible_with(other.dtype) 90 return (self.dtype.is_compatible_with(other.dtype) and 133 if not TensorSignature(tensors[key]).is_compatible_with(signatures[key]): 140 return TensorSignature(tensors).is_compatible_with(signatures) 201 if not signatures.dtype.is_compatible_with(features.dtype): 206 if not signatures[name].dtype.is_compatible_with(features[name].dtype):
|
D | tensor_signature_test.py | 93 self.assertTrue(placeholder_out.get_shape().is_compatible_with( 103 self.assertTrue(placeholders_out['a'].get_shape().is_compatible_with( 127 self.assertTrue(new_signatures.is_compatible_with(signatures)) 142 self.assertTrue(new_signatures['a'].is_compatible_with(signatures['a'])) 143 self.assertTrue(new_signatures['b'].is_compatible_with(signatures['b']))
|
/external/tensorflow/tensorflow/python/data/util/ |
D | structure.py | 74 def is_compatible_with(self, other): member in Structure 324 def is_compatible_with(self, other): member in NestedStructure 335 substructure.is_compatible_with(other_substructure) 350 if not structure.is_compatible_with(Structure.from_value(sub_value)): 366 if not structure.is_compatible_with(Structure.from_value(sub_value)): 442 def is_compatible_with(self, other): member in TensorStructure 444 self._dtype.is_compatible_with(other._dtype) and 445 self._shape.is_compatible_with(other._shape)) 448 if not self.is_compatible_with(Structure.from_value(value)): 461 if not self.is_compatible_with(Structure.from_value(flat_value[0])): [all …]
|
D | structure_test.py | 71 self.assertTrue(actual.is_compatible_with(expected)) 73 tensor_shape.as_shape(expected).is_compatible_with(actual)) 129 s.is_compatible_with( 133 s.is_compatible_with( 360 self.assertTrue(expected_structure.is_compatible_with(actual_structure)) 361 self.assertTrue(actual_structure.is_compatible_with(expected_structure)) 418 batched_structure.is_compatible_with(expected_batched_structure)) 420 expected_batched_structure.is_compatible_with(batched_structure)) 445 unbatched_structure.is_compatible_with(expected_unbatched_structure)) 447 expected_unbatched_structure.is_compatible_with(unbatched_structure))
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | prefetch_to_device_test.py | 45 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 47 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 71 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 73 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 95 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 97 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 124 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 126 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 171 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 173 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with(
|
D | copy_to_device_test.py | 49 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 51 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 74 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 76 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 98 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 100 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 123 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 125 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 148 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( 150 self.assertTrue(dataset_ops.get_structure(host_dataset).is_compatible_with( [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | optional_test.py | 82 self.assertTrue(opt.value_structure.is_compatible_with(value_structure)) 84 opt.value_structure.is_compatible_with( 87 opt.value_structure.is_compatible_with( 277 expected_value_structure.is_compatible_with(opt.value_structure)) 279 opt.value_structure.is_compatible_with(expected_value_structure)) 283 self.assertTrue(opt_structure.is_compatible_with(opt_structure)) 284 self.assertTrue(opt_structure._value_structure.is_compatible_with( 293 self.assertFalse(opt_structure.is_compatible_with(non_optional_structure)) 340 next_elem.value_structure.is_compatible_with( 356 next_elem.value_structure.is_compatible_with(
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | optional_ops.py | 164 def is_compatible_with(self, other): member in OptionalStructure 167 self._value_structure.is_compatible_with(other._value_structure)) 178 not flat_value[0].shape.is_compatible_with(tensor_shape.scalar())):
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_from_tensor_op_test.py | 321 dt.shape.is_compatible_with(rt.shape), 335 dt.shape.is_compatible_with(rt.shape), 446 self.assertTrue(dt.shape.is_compatible_with(rt.shape))
|
/external/tensorflow/tensorflow/contrib/framework/python/framework/ |
D | tensor_util.py | 119 predictions_shape.dims[-1].is_compatible_with(1)): 125 labels_shape.dims[-1].is_compatible_with(1)): 291 not actual_shape.is_compatible_with(expected_shape)): 292 if (len(expected_shape) < 1) and actual_shape.is_compatible_with([1]):
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
D | head.py | 218 if not times_feature.get_shape().is_compatible_with([None, None]): 309 if not times_feature.get_shape().is_compatible_with([None, None]): 387 if not feature_shape[:2].is_compatible_with( 410 if not times_feature.get_shape().is_compatible_with([None, None]): 416 if not values_feature.get_shape().is_compatible_with(
|
/external/tensorflow/tensorflow/python/ops/ |
D | confusion_matrix.py | 79 predictions_shape.dims[-1].is_compatible_with(1)): 85 labels_shape.dims[-1].is_compatible_with(1)):
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | interleave_ops.py | 180 if not weights.shape.is_compatible_with([num_datasets]): 270 if not dataset_ops.get_structure(choice_dataset).is_compatible_with(
|
D | grouping.py | 273 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(
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | padding_fifo_queue_test.py | 427 tensor_shape.TensorShape(float_val.shape).is_compatible_with( 430 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ 441 tensor_shape.TensorShape(float_val.shape).is_compatible_with( 444 tensor_shape.TensorShape(int_val.shape).is_compatible_with( 472 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 475 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ 482 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 485 tensor_shape.TensorShape(int_val.shape).is_compatible_with( 513 tensor_shape.TensorShape(string_val.shape).is_compatible_with( 516 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[ [all …]
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.data.experimental.-structure.pbtxt | 13 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-optional-structure.pbtxt | 15 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 15 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-nested-structure.pbtxt | 15 name: "is_compatible_with"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.data.experimental.-structure.pbtxt | 13 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-nested-structure.pbtxt | 15 name: "is_compatible_with"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 15 name: "is_compatible_with"
|