Searched refs:real_part (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test_utils.cc | 139 double real_part = 0.0; in ReadCSVFileToComplexVectorOrDie() local 146 strings::safe_strtod(*j, &real_part); in ReadCSVFileToComplexVectorOrDie() 149 data_line.push_back(std::complex<double>(real_part, imaginary_part)); in ReadCSVFileToComplexVectorOrDie() 274 const float real_part(real(data[i][j])); in WriteComplexVectorToRawFloatFile() local 275 if (!file->Append(StringPiece(reinterpret_cast<const char*>(&real_part), in WriteComplexVectorToRawFloatFile() 276 sizeof(real_part))) in WriteComplexVectorToRawFloatFile()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 999 llvm::Value* real_part; in EmitComplexSqrt() local 1011 real_part = Select(Or(FCmpOEQ(abs_b, inf), FCmpOEQ(a, inf)), inf, in EmitComplexSqrt() 1022 real_part = FMul(r, cos); in EmitComplexSqrt() 1027 EmitComposeComplex(op, real_part, imag_part)); in EmitComplexSqrt() 1055 llvm::Value* real_part = FMul(r, cos); in EmitComplexRsqrt() local 1076 real_part = Select( in EmitComplexRsqrt() 1090 real_part = Select(is_zero_zero, inf, FMul(r, cos)); in EmitComplexRsqrt() 1094 return EmitComposeComplex(op, real_part, imag_part); in EmitComplexRsqrt()
|
/external/python/cffi/c/ |
D | _cffi_backend.c | 948 float real_part, imag_part; in read_raw_complex_data() local 949 memcpy(&real_part, target + 0, sizeof(float)); in read_raw_complex_data() 951 r.real = real_part; in read_raw_complex_data()
|