Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/framework/
Ddtypes_test.py205 self.assertEqual(dtypes.as_dtype("int8").is_complex, False)
206 self.assertEqual(dtypes.as_dtype("int16").is_complex, False)
207 self.assertEqual(dtypes.as_dtype("int32").is_complex, False)
208 self.assertEqual(dtypes.as_dtype("int64").is_complex, False)
209 self.assertEqual(dtypes.as_dtype("uint8").is_complex, False)
210 self.assertEqual(dtypes.as_dtype("uint16").is_complex, False)
211 self.assertEqual(dtypes.as_dtype("complex64").is_complex, True)
212 self.assertEqual(dtypes.as_dtype("complex128").is_complex, True)
213 self.assertEqual(dtypes.as_dtype("float32").is_complex, False)
214 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.h207 return is_complex<T>::value ? raw_size / 2 : raw_size;
216 const size_t stride = is_complex<T>::value ? 2 : 1;
238 if (is_complex<T>::value) new_size *= 2;
243 if (is_complex<T>::value) n *= 2;
/external/tensorflow/tensorflow/python/ops/linalg/
Dadjoint_registrations.py61 if multiplier.dtype.is_complex:
77 if diag.dtype.is_complex:
119 if spectrum.dtype.is_complex:
Dlinear_operator_diag.py157 if not self._diag.dtype.is_complex:
204 if self.dtype.is_complex:
240 if self.dtype.is_complex:
Dlinear_operator_low_rank_update.py200 if is_diag_update_positive and dtype.is_complex:
219 if base_operator.is_self_adjoint and v is None and not dtype.is_complex:
412 if self.dtype.is_complex:
Dlinear_operator_circulant.py109 if not self.spectrum.dtype.is_complex:
506 if not self.dtype.is_complex:
1122 if x.dtype.is_complex:
/external/tensorflow/tensorflow/python/ops/
Dgradient_checker.py83 if x.dtype.is_complex:
85 dy_factor = 2 if dy.dtype.is_complex else 1
169 x_size = _product(x_shape) * (2 if x.dtype.is_complex else 1)
170 y_size = _product(y_shape) * (2 if y.dtype.is_complex else 1)
235 if t.is_complex:
Dgradient_checker_v2.py151 x_shape = tuple(x.shape) + (2,) if x.dtype.is_complex else x.shape
152 y_factor = 2 if y_dtype.is_complex else 1
223 x_size = _product(x_shape) * (2 if x_dtype.is_complex else 1)
224 y_size = y_size * (2 if y_dtype.is_complex else 1)
/external/llvm-project/lldb/source/Plugins/ABI/X86/
DABIWindows_x86_64.cpp313 bool is_complex; in SetReturnValueObject() local
341 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
342 if (is_complex) in SetReturnValueObject()
557 bool is_complex; in FlattenAggregateType() local
580 field_compiler_type.IsFloatingPointType(count, is_complex)) { in FlattenAggregateType()
668 bool is_complex; in GetReturnValueObjectImpl() local
685 field_compiler_type.IsFloatingPointType(count, is_complex)) { in GetReturnValueObjectImpl()
DABISysV_x86_64.cpp306 bool is_complex; in SetReturnValueObject() local
334 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
335 if (is_complex) in SetReturnValueObject()
584 bool is_complex; in FlattenAggregateType() local
602 field_compiler_type.IsFloatingPointType(count, is_complex)) { in FlattenAggregateType()
692 bool is_complex; in GetReturnValueObjectImpl() local
728 } else if (field_compiler_type.IsFloatingPointType(count, is_complex)) { in GetReturnValueObjectImpl()
DABIMacOSX_i386.cpp200 bool is_complex; in SetReturnValueObject() local
240 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
241 if (is_complex) in SetReturnValueObject()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.cc140 template <bool is_complex, typename NativeRefT, size_t N>
143 int cache_size_per_element = (is_complex ? kNumSubnormalSubstitutionValues * in GetCacheLocation()
191 template <bool is_complex, typename NativeRefT, size_t N>
194 int cache_size_per_element = (is_complex ? kNumSubnormalSubstitutionValues * in FromCacheLocation()
251 template <bool is_complex, typename NativeRefT, size_t N>
/external/llvm-project/lldb/source/Plugins/ABI/ARM/
DABISysV_arm.cpp1557 bool is_complex; in GetReturnValueObjectImpl() local
1640 } else if (compiler_type.IsFloatingPointType(float_count, is_complex)) { in GetReturnValueObjectImpl()
1641 if (float_count == 1 && !is_complex) { in GetReturnValueObjectImpl()
1687 } else if (is_complex && float_count == 2) { in GetReturnValueObjectImpl()
1715 } else if (base_type.IsFloatingPointType(float_count, is_complex)) { in GetReturnValueObjectImpl()
1716 if (float_count == 1 && !is_complex) { in GetReturnValueObjectImpl()
1733 if (base_type.IsFloatingPointType(float_count, is_complex)) { in GetReturnValueObjectImpl()
1736 if (float_count == 2 && is_complex) { in GetReturnValueObjectImpl()
1848 bool is_complex; in SetReturnValueObject() local
1889 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/Mips/
DABISysV_mips.cpp717 bool is_complex; in SetReturnValueObject() local
757 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
758 if (is_complex) in SetReturnValueObject()
803 bool is_complex = false; in GetReturnValueObjectImpl() local
866 } else if (return_compiler_type.IsFloatingPointType(count, is_complex)) { in GetReturnValueObjectImpl()
869 if (count != 1 && is_complex) in GetReturnValueObjectImpl()
902 if (count == 1 && !is_complex) { in GetReturnValueObjectImpl()
/external/tensorflow/tensorflow/python/kernel_tests/
Dself_adjoint_eig_op_test.py149 if dtype_.is_complex:
196 if dtype_.is_complex:
221 if dtype_.is_complex:
Dsvd_op_test.py141 is_complex = dtype_ in (np.complex64, np.complex128)
150 if is_complex:
217 if tf_u.dtype.is_complex:
/external/llvm-project/lldb/source/Plugins/ABI/PowerPC/
DABISysV_ppc.cpp432 bool is_complex; in SetReturnValueObject() local
460 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
461 if (is_complex) in SetReturnValueObject()
700 bool is_complex; in GetReturnValueObjectImpl() local
747 } else if (field_compiler_type.IsFloatingPointType(count, is_complex)) { in GetReturnValueObjectImpl()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-d-type.pbtxt23 name: "is_complex"
Dtensorflow.dtypes.-d-type.pbtxt23 name: "is_complex"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.dtypes.-d-type.pbtxt23 name: "is_complex"
Dtensorflow.-d-type.pbtxt23 name: "is_complex"
/external/llvm-project/lldb/source/Plugins/ABI/ARC/
DABISysV_arc.cpp482 bool is_complex = false; in GetReturnValueObjectSimple() local
484 if (compiler_type.IsFloatingPointType(float_count, is_complex) && in GetReturnValueObjectSimple()
485 1 == float_count && !is_complex) { in GetReturnValueObjectSimple()
/external/llvm-project/lldb/source/Plugins/ABI/SystemZ/
DABISysV_s390x.cpp395 bool is_complex; in SetReturnValueObject() local
423 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
424 if (is_complex) in SetReturnValueObject()

1234