Searched refs:is_complex (Results 1 – 25 of 52) sorted by relevance
123
/external/tensorflow/tensorflow/python/framework/ |
D | dtypes_test.py | 187 self.assertEqual(dtypes.as_dtype("int8").is_complex, False) 188 self.assertEqual(dtypes.as_dtype("int16").is_complex, False) 189 self.assertEqual(dtypes.as_dtype("int32").is_complex, False) 190 self.assertEqual(dtypes.as_dtype("int64").is_complex, False) 191 self.assertEqual(dtypes.as_dtype("uint8").is_complex, False) 192 self.assertEqual(dtypes.as_dtype("uint16").is_complex, False) 193 self.assertEqual(dtypes.as_dtype("complex64").is_complex, True) 194 self.assertEqual(dtypes.as_dtype("complex128").is_complex, True) 195 self.assertEqual(dtypes.as_dtype("float32").is_complex, False) 196 self.assertEqual(dtypes.as_dtype("float64").is_complex, False) [all …]
|
/external/eigen/Eigen/src/Core/ |
D | ConditionEstimator.h | 63 const bool is_complex = (NumTraits<Scalar>::IsComplex != 0); 98 sign_vector = internal::rcond_compute_sign<Vector, RealVector, is_complex>::run(v); 99 if (k > 0 && !is_complex && sign_vector == old_sign_vector) { 117 if (!is_complex) {
|
/external/tensorflow/tensorflow/core/framework/ |
D | type_traits.h | 53 struct is_complex : false_type {}; 57 struct is_complex<std::complex<float>> : true_type {}; 59 struct is_complex<std::complex<double>> : true_type {};
|
D | tensor_util.h | 205 return is_complex<T>::value ? raw_size / 2 : raw_size; 215 if (is_complex<T>::value) index *= 2; 236 if (is_complex<T>::value) new_size *= 2; 241 if (is_complex<T>::value) n *= 2;
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | adjoint_registrations.py | 60 if multiplier.dtype.is_complex: 76 if diag.dtype.is_complex: 118 if spectrum.dtype.is_complex:
|
D | linear_operator_diag.py | 149 if not self._diag.dtype.is_complex: 204 if self.dtype.is_complex: 236 if self.dtype.is_complex:
|
D | linear_operator_low_rank_update.py | 188 if is_diag_update_positive and dtype.is_complex: 207 if base_operator.is_self_adjoint and v is None and not dtype.is_complex: 398 if self.dtype.is_complex:
|
D | linear_operator_circulant.py | 110 if not self.spectrum.dtype.is_complex: 493 if not self.dtype.is_complex:
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker.py | 82 if x.dtype.is_complex: 84 dy_factor = 2 if dy.dtype.is_complex else 1 168 x_size = _product(x_shape) * (2 if x.dtype.is_complex else 1) 169 y_size = _product(y_shape) * (2 if y.dtype.is_complex else 1) 234 if t.is_complex:
|
D | gradient_checker_v2.py | 148 x_shape = tuple(x.shape) + (2,) if x.dtype.is_complex else x.shape 149 y_factor = 2 if y_dtype.is_complex else 1 224 x_size = _product(x_shape) * (2 if x_dtype.is_complex else 1) 225 y_size = y_size * (2 if y_dtype.is_complex else 1)
|
D | math_ops.py | 246 if x.dtype.is_complex: 501 if input.dtype.is_complex: 534 if input.dtype.is_complex: 572 if input.dtype.is_complex: 668 if x.dtype.is_complex and base_type.is_floating: 994 if x_dtype.is_floating or x_dtype.is_complex: 3157 if x.dtype.is_complex or x.dtype == dtypes.variant:
|
D | gradients_util.py | 222 if y.dtype.is_complex: 238 elif y.dtype.is_complex: 239 if not grad_y.dtype.is_complex:
|
D | linalg_grad.py | 164 if q.dtype.is_complex: 367 if a.dtype.is_complex:
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | self_adjoint_eig_op_test.py | 148 if dtype_.is_complex: 195 if dtype_.is_complex: 219 if dtype_.is_complex:
|
D | svd_op_test.py | 135 is_complex = dtype_ in (np.complex64, np.complex128) 144 if is_complex: 211 if tf_u.dtype.is_complex:
|
D | qr_op_test.py | 76 is_complex = dtype_ in (np.complex64, np.complex128) 124 if is_complex:
|
D | aggregate_ops_test.py | 55 if dtype.is_complex:
|
D | batch_gather_op_test.py | 40 if dtype.is_complex:
|
D | gather_op_test.py | 43 if dtype.is_complex: 124 if dtype.is_complex:
|
D | cholesky_op_test.py | 279 if dtype.is_complex: 288 if dtype.is_complex:
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.-d-type.pbtxt | 22 name: "is_complex"
|
D | tensorflow.dtypes.-d-type.pbtxt | 22 name: "is_complex"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-d-type.pbtxt | 22 name: "is_complex"
|
D | tensorflow.dtypes.-d-type.pbtxt | 22 name: "is_complex"
|
/external/tensorflow/tensorflow/contrib/integrate/python/ops/ |
D | odes.py | 237 if x.dtype.is_complex: 282 if not (y0.dtype.is_floating or y0.dtype.is_complex):
|
123