Home
last modified time | relevance | path

Searched refs:compute_dtype (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dpolicy.py271 def compute_dtype(self): member in Policy
515 policy.compute_dtype != policy.variable_dtype)
518 if (policy is not None and policy.compute_dtype is not None and
519 not dtypes.as_dtype(policy.compute_dtype).is_floating):
Dpolicy_test.py48 self.assertEqual(policy.compute_dtype, dtype)
54 self.assertEqual(policy.compute_dtype, dtype)
58 self.assertEqual(policy.compute_dtype, None)
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_v1.py424 self._dtype_policy.compute_dtype != self._dtype_policy.variable_dtype
1772 if self._dtype_policy.compute_dtype:
1774 self._dtype_policy.compute_dtype)
1790 return self._dtype_policy.compute_dtype
1804 compute_dtype = self._compute_dtype
1805 if (self._autocast and compute_dtype and
1806 dtypes.as_dtype(compute_dtype).is_floating):
1812 x.dtype.base_dtype.name != compute_dtype):
1813 return math_ops.cast(x, compute_dtype)
1817 return tensor_spec.TensorSpec(x.shape, compute_dtype, x.name)
[all …]
Dbase_layer.py624 self._dtype_policy.compute_dtype != self._dtype_policy.variable_dtype
2371 if self._dtype_policy.compute_dtype:
2373 self._dtype_policy.compute_dtype)
2386 def compute_dtype(self): member in Layer
2405 return self._dtype_policy.compute_dtype
2410 return self._dtype_policy.compute_dtype
2699 if input_list and self._dtype_policy.compute_dtype is None:
/external/tensorflow/tensorflow/python/keras/layers/
Dembeddings.py197 if self._dtype_policy.compute_dtype != self._dtype_policy.variable_dtype:
200 out = math_ops.cast(out, self._dtype_policy.compute_dtype)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.mixed_precision.-policy.pbtxt6 name: "compute_dtype"
Dtensorflow.keras.mixed_precision.experimental.-policy.pbtxt7 name: "compute_dtype"
Dtensorflow.keras.layers.-activation.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-cropping3-d.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-layer.pbtxt14 name: "compute_dtype"
Dtensorflow.keras.layers.-gaussian-noise.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-leaky-re-l-u.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-cropping1-d.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-up-sampling1-d.pbtxt15 name: "compute_dtype"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.-cropping2-d.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-masking.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-wrapper.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-gaussian-noise.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-re-l-u.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-p-re-l-u.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-up-sampling2-d.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-permute.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-activity-regularization.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-activation.pbtxt15 name: "compute_dtype"
Dtensorflow.keras.layers.-layer.pbtxt14 name: "compute_dtype"

12345678910>>...18