Home
last modified time | relevance | path

Searched refs:is_complex (Results 1 – 25 of 52) sorted by relevance

123

/external/tensorflow/tensorflow/python/framework/
Ddtypes_test.py187 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/
DConditionEstimator.h63 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/
Dtype_traits.h53 struct is_complex : false_type {};
57 struct is_complex<std::complex<float>> : true_type {};
59 struct is_complex<std::complex<double>> : true_type {};
Dtensor_util.h205 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/
Dadjoint_registrations.py60 if multiplier.dtype.is_complex:
76 if diag.dtype.is_complex:
118 if spectrum.dtype.is_complex:
Dlinear_operator_diag.py149 if not self._diag.dtype.is_complex:
204 if self.dtype.is_complex:
236 if self.dtype.is_complex:
Dlinear_operator_low_rank_update.py188 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:
Dlinear_operator_circulant.py110 if not self.spectrum.dtype.is_complex:
493 if not self.dtype.is_complex:
/external/tensorflow/tensorflow/python/ops/
Dgradient_checker.py82 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:
Dgradient_checker_v2.py148 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)
Dmath_ops.py246 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:
Dgradients_util.py222 if y.dtype.is_complex:
238 elif y.dtype.is_complex:
239 if not grad_y.dtype.is_complex:
Dlinalg_grad.py164 if q.dtype.is_complex:
367 if a.dtype.is_complex:
/external/tensorflow/tensorflow/python/kernel_tests/
Dself_adjoint_eig_op_test.py148 if dtype_.is_complex:
195 if dtype_.is_complex:
219 if dtype_.is_complex:
Dsvd_op_test.py135 is_complex = dtype_ in (np.complex64, np.complex128)
144 if is_complex:
211 if tf_u.dtype.is_complex:
Dqr_op_test.py76 is_complex = dtype_ in (np.complex64, np.complex128)
124 if is_complex:
Daggregate_ops_test.py55 if dtype.is_complex:
Dbatch_gather_op_test.py40 if dtype.is_complex:
Dgather_op_test.py43 if dtype.is_complex:
124 if dtype.is_complex:
Dcholesky_op_test.py279 if dtype.is_complex:
288 if dtype.is_complex:
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-d-type.pbtxt22 name: "is_complex"
Dtensorflow.dtypes.-d-type.pbtxt22 name: "is_complex"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-d-type.pbtxt22 name: "is_complex"
Dtensorflow.dtypes.-d-type.pbtxt22 name: "is_complex"
/external/tensorflow/tensorflow/contrib/integrate/python/ops/
Dodes.py237 if x.dtype.is_complex:
282 if not (y0.dtype.is_floating or y0.dtype.is_complex):

123