/external/tensorflow/tensorflow/python/framework/ |
D | dtypes_test.py | 205 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/ |
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 | 207 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/ |
D | adjoint_registrations.py | 61 if multiplier.dtype.is_complex: 77 if diag.dtype.is_complex: 119 if spectrum.dtype.is_complex:
|
D | linear_operator_diag.py | 157 if not self._diag.dtype.is_complex: 204 if self.dtype.is_complex: 240 if self.dtype.is_complex:
|
D | linear_operator_low_rank_update.py | 200 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:
|
D | linear_operator_circulant.py | 109 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/ |
D | gradient_checker.py | 83 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:
|
D | gradient_checker_v2.py | 151 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/ |
D | ABIWindows_x86_64.cpp | 313 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()
|
D | ABISysV_x86_64.cpp | 306 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()
|
D | ABIMacOSX_i386.cpp | 200 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/ |
D | exhaustive_op_test_utils.cc | 140 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/ |
D | ABISysV_arm.cpp | 1557 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/ |
D | ABISysV_mips.cpp | 717 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/ |
D | self_adjoint_eig_op_test.py | 149 if dtype_.is_complex: 196 if dtype_.is_complex: 221 if dtype_.is_complex:
|
D | svd_op_test.py | 141 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/ |
D | ABISysV_ppc.cpp | 432 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/ |
D | tensorflow.-d-type.pbtxt | 23 name: "is_complex"
|
D | tensorflow.dtypes.-d-type.pbtxt | 23 name: "is_complex"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.dtypes.-d-type.pbtxt | 23 name: "is_complex"
|
D | tensorflow.-d-type.pbtxt | 23 name: "is_complex"
|
/external/llvm-project/lldb/source/Plugins/ABI/ARC/ |
D | ABISysV_arc.cpp | 482 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/ |
D | ABISysV_s390x.cpp | 395 bool is_complex; in SetReturnValueObject() local 423 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 424 if (is_complex) in SetReturnValueObject()
|