Home
last modified time | relevance | path

Searched refs:spec_or_value (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dtype_spec.py104 def is_compatible_with(self, spec_or_value): argument
114 if not isinstance(spec_or_value, TypeSpec):
115 spec_or_value = type_spec_from_value(spec_or_value)
116 if type(self) is not type(spec_or_value):
119 spec_or_value._serialize()) # pylint: disable=protected-access
Dtensor_spec.py74 def is_compatible_with(self, spec_or_value): argument
75 return (isinstance(spec_or_value, (DenseSpec, self.value_type)) and
76 self._dtype.is_compatible_with(spec_or_value.dtype) and
77 self._shape.is_compatible_with(spec_or_value.shape))
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-type-spec.pbtxt14 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.experimental.-structure.pbtxt14 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-indexed-slices-spec.pbtxt16 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-optional-spec.pbtxt20 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.experimental.-optional-structure.pbtxt20 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.-dataset-spec.pbtxt25 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.experimental.-dataset-structure.pbtxt25 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-sparse-tensor-spec.pbtxt29 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-ragged-tensor-spec.pbtxt41 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-type-spec.pbtxt14 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-optional-spec.pbtxt20 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-indexed-slices-spec.pbtxt16 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.-iterator-spec.pbtxt20 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.data.-dataset-spec.pbtxt25 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-sparse-tensor-spec.pbtxt29 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-ragged-tensor-spec.pbtxt41 argspec: "args=[\'self\', \'spec_or_value\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor.py2326 def is_compatible_with(self, spec_or_value): argument
2330 if isinstance(spec_or_value, (ops.Tensor, tensor_spec.TensorSpec)):
2332 self._shape, self._dtype).is_compatible_with(spec_or_value)
2333 elif not isinstance(spec_or_value, (RaggedTensor, RaggedTensorSpec)):
2334 return self._flat_values_spec.is_compatible_with(spec_or_value)
2335 return super(RaggedTensorSpec, self).is_compatible_with(spec_or_value)