HomeSort by relevance Sort by last modified time
    Searched full:is_compatible_with (Results 1 - 25 of 50) sorted by null

1 2

  /external/tensorflow/tensorflow/python/framework/
tensor_spec_test.py 53 self.assertTrue(desc_unknown.is_compatible_with(unknown))
54 self.assertTrue(desc_unknown.is_compatible_with(partial))
55 self.assertTrue(desc_unknown.is_compatible_with(full))
56 self.assertTrue(desc_unknown.is_compatible_with(rank3))
59 self.assertTrue(desc_partial.is_compatible_with(unknown))
60 self.assertTrue(desc_partial.is_compatible_with(partial))
61 self.assertTrue(desc_partial.is_compatible_with(full))
62 self.assertFalse(desc_partial.is_compatible_with(rank3))
65 self.assertTrue(desc_full.is_compatible_with(unknown))
66 self.assertFalse(desc_full.is_compatible_with(partial)
    [all...]
tensor_spec.py 83 def is_compatible_with(self, spec_or_tensor): member in class:TensorSpec
85 return (self._dtype.is_compatible_with(spec_or_tensor.dtype) and
86 self._shape.is_compatible_with(spec_or_tensor.shape))
tensor_shape.py 85 def is_compatible_with(self, other): member in class:Dimension
109 is_compatible_with).
111 if not self.is_compatible_with(other):
137 is_compatible_with).
696 def is_compatible_with(self, other): member in class:TensorShape
739 if not x_dim.is_compatible_with(y_dim):
755 if not self.is_compatible_with(other):
dtypes.py 246 def is_compatible_with(self, other): member in class:DType
252 DType(T) .is_compatible_with(DType(T)) == True
253 DType(T) .is_compatible_with(DType(T).as_ref) == True
254 DType(T).as_ref.is_compatible_with(DType(T)) == False
255 DType(T).as_ref.is_compatible_with(DType(T).as_ref) == True
sparse_tensor.py 252 if dtype and not dtype.is_compatible_with(value.dtype):
  /external/tensorflow/tensorflow/tools/api/golden/
tensorflow.-dimension.pbtxt 18 name: "is_compatible_with"
tensorflow.-d-type.pbtxt 74 name: "is_compatible_with"
tensorflow.-tensor-shape.pbtxt 46 name: "is_compatible_with"
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
tensor_signature.py 61 def is_compatible_with(self, other): member in class:TensorSignature
75 if not x_dim.is_compatible_with(y_dim):
80 return self.is_sparse and self.dtype.is_compatible_with(other.dtype)
81 return (self.dtype.is_compatible_with(other.dtype) and
124 if not TensorSignature(tensors[key]).is_compatible_with(signatures[key]):
131 return TensorSignature(tensors).is_compatible_with(signatures)
192 if not signatures.dtype.is_compatible_with(features.dtype):
197 if not signatures[name].dtype.is_compatible_with(features[name].dtype):
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']))
model_fn.py 149 if not loss_shape.is_compatible_with(tensor_shape.scalar()):
  /external/tensorflow/tensorflow/contrib/framework/python/framework/
tensor_util.py 118 predictions_shape.dims[-1].is_compatible_with(1)):
124 labels_shape.dims[-1].is_compatible_with(1)):
270 not actual_shape.is_compatible_with(expected_shape)):
271 if (len(expected_shape) < 1) and actual_shape.is_compatible_with([1]):
checkpoint_utils.py 246 if not var.get_shape().is_compatible_with(
  /external/tensorflow/tensorflow/contrib/gan/python/features/python/
conditioning_utils_impl.py 70 if not mapped_conditioning.shape.is_compatible_with(tensor.shape):
  /external/tensorflow/tensorflow/contrib/metrics/python/metrics/
classification.py 52 if not labels.dtype.is_compatible_with(predictions.dtype):
  /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
head.py 257 if not feature_shape[:2].is_compatible_with(
280 if not times_feature.get_shape().is_compatible_with([None, None]):
303 if not times_feature.get_shape().is_compatible_with([None, None]):
309 if not values_feature.get_shape().is_compatible_with(
  /external/tensorflow/tensorflow/python/ops/
confusion_matrix.py 83 predictions_shape.dims[-1].is_compatible_with(1)):
89 labels_shape.dims[-1].is_compatible_with(1)):
nn_ops.py 835 if not input_channels_dim.is_compatible_with(
    [all...]
weights_broadcast_ops.py 164 weights_shape.is_compatible_with(values_shape)):
  /external/tensorflow/tensorflow/python/kernel_tests/
padding_fifo_queue_test.py 425 tensor_shape.TensorShape(float_val.shape).is_compatible_with(
428 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[
439 tensor_shape.TensorShape(float_val.shape).is_compatible_with(
442 tensor_shape.TensorShape(int_val.shape).is_compatible_with(
470 tensor_shape.TensorShape(string_val.shape).is_compatible_with(
473 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t[
480 tensor_shape.TensorShape(string_val.shape).is_compatible_with(
483 tensor_shape.TensorShape(int_val.shape).is_compatible_with(
511 tensor_shape.TensorShape(string_val.shape).is_compatible_with(
514 tensor_shape.TensorShape(int_val.shape).is_compatible_with(dequeued_t
    [all...]
  /external/tensorflow/tensorflow/contrib/layers/python/layers/
summaries.py 122 if (tensor.dtype.is_compatible_with(dtypes.string) or
  /external/tensorflow/tensorflow/python/grappler/
datasets_test.py 264 self.assertTrue(test_case['shape'][0].is_compatible_with(
293 self.assertTrue(test_case['shape'][0].is_compatible_with(
  /external/tensorflow/tensorflow/contrib/gan/python/
train.py 116 if not generated_data.shape.is_compatible_with(real_data.shape):
197 if not generated_data.get_shape().is_compatible_with(real_data.get_shape()):
293 if not generated_data.shape.is_compatible_with(real_data.shape):
    [all...]
  /external/tensorflow/tensorflow/contrib/distributions/python/ops/
binomial.py 231 and counts.shape.is_compatible_with(self.probs.shape)):
  /external/tensorflow/tensorflow/contrib/tpu/python/tpu/
tpu_sharding.py 247 if not unsharded_shapes[i].is_compatible_with(

Completed in 684 milliseconds

1 2