Searched refs:floatx (Results 1 – 25 of 26) sorted by relevance
12
/external/tensorflow/tensorflow/python/keras/ |
D | backend_config_test.py | 39 floatx = 'float64' 40 keras.backend_config.set_floatx(floatx) 41 self.assertEqual(keras.backend_config.floatx(), floatx) 43 self.assertEqual(keras.backend_config.floatx(), 'float32')
|
D | activations_test.py | 85 positive_values = np.array([[1, 2]], dtype=keras.backend.floatx()) 89 negative_values = np.array([[-1, -2]], dtype=keras.backend.floatx()) 163 negative_values = np.array([[-1, -2]], dtype=keras.backend.floatx())
|
D | backend.py | 121 floatx = backend_config.floatx variable 165 return np.asarray(x, dtype=floatx()) 703 dtype = floatx() 788 dtype = floatx() 882 dtype = floatx() 1080 dtype = floatx() 1115 dtype = floatx() 1148 dtype = floatx() 1245 dtype = floatx() 1283 dtype = floatx() [all …]
|
D | losses.py | 796 y_pred = math_ops.cast(y_pred, dtype=K.floatx()) 797 y_true = math_ops.cast(y_true, dtype=K.floatx()) 854 label_smoothing = ops.convert_to_tensor(label_smoothing, dtype=K.floatx()) 877 label_smoothing = ops.convert_to_tensor(label_smoothing, dtype=K.floatx())
|
D | backend_config.py | 61 def floatx(): function
|
D | models_test.py | 312 floatx = keras.backend.floatx() 322 keras.backend.set_floatx(floatx)
|
D | constraints.py | 84 return w * math_ops.cast(math_ops.greater_equal(w, 0.), K.floatx())
|
D | optimizers.py | 489 t = math_ops.cast(self.iterations, K.floatx()) 580 t = math_ops.cast(self.iterations, K.floatx()) 660 t = math_ops.cast(self.iterations, K.floatx())
|
D | metrics.py | 139 self._dtype = K.floatx() if dtype is None else dtypes.as_dtype(dtype).name 2696 return math_ops.cast(math_ops.equal(y_true, y_pred), K.floatx()) 2711 K.floatx()) 2729 return math_ops.cast(math_ops.equal(y_true, y_pred), K.floatx())
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | image.py | 72 dtype = backend.floatx() 99 dtype = backend.floatx() 209 dtype = backend.floatx() 278 dtype = backend.floatx() 495 dtype = backend.floatx()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | dense_attention.py | 99 scores -= 1.e9 * math_ops.cast(padding_mask, dtype=K.floatx())
|
D | embeddings.py | 106 dtype = kwargs.pop('dtype', K.floatx())
|
D | noise.py | 184 kept_idx = math_ops.cast(kept_idx, K.floatx())
|
D | advanced_activations.py | 226 math_ops.greater(inputs, self.theta), K.floatx())
|
D | pooling.py | 640 mask = math_ops.cast(mask, backend.floatx())
|
D | core.py | 980 dtype = dtypes.as_dtype(self.dtype or K.floatx())
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | input_layer.py | 77 dtype = backend.floatx()
|
D | training_utils.py | 943 return math_ops.cast(x, dtype=K.floatx()) 986 constant_op.constant(default_value, dtype=K.floatx()), 1445 dtype = K.floatx()
|
D | base_layer_utils.py | 233 return array_ops.placeholder(shape=shape, dtype=backend.floatx())
|
D | training_utils_test.py | 50 self.assertEqual(backend.floatx(), vals[0].dtype)
|
D | base_layer.py | 327 dtype = self.dtype or backend.floatx() 784 loss = ops.convert_to_tensor(loss, dtype=backend.floatx())
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | keras_tpu_variables.py | 314 dtype = backend.floatx()
|
/external/tensorflow/tensorflow/contrib/keras/api/keras/backend/ |
D | __init__.py | 63 from tensorflow.python.keras.backend import floatx
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.backend.pbtxt | 180 name: "floatx"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.backend.pbtxt | 180 name: "floatx"
|
12