Home
last modified time | relevance | path

Searched refs:to_float (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3/
Dcompare_1k.py63 def to_float(x, n): function
74 py_dft = np.fft.rfft(to_float(cmsis_windowed_input, 15), n=512)
94 plt.plot(to_float(micro_windowed_input, 30), label='Micro to float')
95 plt.plot(to_float(cmsis_windowed_input, 15), label='CMSIS to float')
106 plt.plot(to_float(micro_dft, 22), label='Micro to float')
109 plt.plot(to_float(cmsis_dft, 6), label='CMSIS to float')
121 plt.plot(to_float(micro_power, 22), label='Micro to float')
122 plt.plot(to_float(cmsis_power[0:256], 6), label='CMSIS to float')
/external/llvm-project/llvm/unittests/ADT/
DStringExtrasTest.cpp98 TEST(StringExtrasTest, to_float) { in TEST() argument
100 EXPECT_TRUE(to_float("4.7", F)); in TEST()
104 EXPECT_TRUE(to_float("4.7", D)); in TEST()
108 EXPECT_TRUE(to_float("4.7", LD)); in TEST()
111 EXPECT_FALSE(to_float("foo", F)); in TEST()
112 EXPECT_FALSE(to_float("7.4 foo", F)); in TEST()
/external/harfbuzz_ng/src/
Dhb-aat-layout-trak-table.hh49 float get_track_value () const { return track.to_float (); } in get_track_value()
87 float s0 = size_table[idx].to_float (); in interpolate_at()
88 float s1 = size_table[idx + 1].to_float (); in interpolate_at()
126 if (size_table[size_index].to_float () >= ptem) in get_tracking()
Dhb-ot-glyf-table.hh331 matrix[0] = matrix[3] = points[0].to_float (); in get_transformation()
336 matrix[0] = points[0].to_float (); in get_transformation()
337 matrix[3] = points[1].to_float (); in get_transformation()
342 matrix[0] = points[0].to_float (); in get_transformation()
343 matrix[1] = points[1].to_float (); in get_transformation()
344 matrix[2] = points[2].to_float (); in get_transformation()
345 matrix[3] = points[3].to_float (); in get_transformation()
Dhb-aat-fdsc-table.hh47 float get_value () const { return u.value.to_float (); } in get_value()
Dhb-ot-var-fvar-table.hh292 coords[i] = instanceCoords.arrayZ[i].to_float (); in get_instance_coords()
Dhb-open-type.hh120 float to_float () const { return ((int32_t) v) / 16384.f; } in to_float() function
131 float to_float () const { return ((int32_t) v) / 65536.f; } in to_float() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringExtras.h199 inline bool to_float(const Twine &T, N &Num, N (*StrTo)(const char *, char **)) { in to_float() function
211 inline bool to_float(const Twine &T, float &Num) { in to_float() function
212 return detail::to_float(T, Num, strtof); in to_float()
215 inline bool to_float(const Twine &T, double &Num) { in to_float() function
216 return detail::to_float(T, Num, strtod); in to_float()
219 inline bool to_float(const Twine &T, long double &Num) { in to_float() function
220 return detail::to_float(T, Num, strtold); in to_float()
/external/llvm-project/llvm/include/llvm/ADT/
DStringExtras.h253 inline bool to_float(const Twine &T, N &Num, N (*StrTo)(const char *, char **)) { in to_float() function
265 inline bool to_float(const Twine &T, float &Num) { in to_float() function
266 return detail::to_float(T, Num, strtof); in to_float()
269 inline bool to_float(const Twine &T, double &Num) { in to_float() function
270 return detail::to_float(T, Num, strtod); in to_float()
273 inline bool to_float(const Twine &T, long double &Num) { in to_float() function
274 return detail::to_float(T, Num, strtold); in to_float()
/external/angle/src/libANGLE/renderer/vulkan/
Dgen_vk_format_table.py149 to_float = 'false' if 'INT' in src_format else 'true'
150 to_half = to_float
152 to_float, to_half)
/external/OpenCL-CTS/test_conformance/subgroups/
Dsubgroup_common_templates.h299 static float to_float(subgroups::cl_half x) { return cl_half_to_float(x.data); } in to_float() function
378 case ArithmeticOp::add_: return to_half(to_float(a) + to_float(b)); in calculate()
380 return to_float(a) > to_float(b) || is_half_nan(b.data) ? a : b; in calculate()
382 return to_float(a) < to_float(b) || is_half_nan(b.data) ? a : b; in calculate()
383 case ArithmeticOp::mul_: return to_half(to_float(a) * to_float(b)); in calculate()
/external/autotest/client/cros/audio/
Daudio_helper.py582 def to_float(samples): function
593 to_float(golden_data),
594 to_float(trimmed_test_data))
/external/tensorflow/tensorflow/python/keras/distribute/
Dkeras_metrics_test.py119 return dataset_ops.Dataset.range(1000).map(math_ops.to_float).batch(
/external/tensorflow/tensorflow/python/distribute/
Dmetrics_v1_test.py144 return dataset_ops.Dataset.range(1000).map(math_ops.to_float).batch(
208 dataset = dataset_ops.Dataset.range(1000).map(math_ops.to_float)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp1016 if (to_float(Scalar, Val)) in input()
1026 if (to_float(Scalar, Val)) in input()
DCommandLine.cpp1865 if (to_float(Arg, Value)) in parseDouble()
/external/llvm-project/llvm/lib/Support/
DYAMLTraits.cpp1033 if (to_float(Scalar, Val)) in input()
1043 if (to_float(Scalar, Val)) in input()
DCommandLine.cpp1883 if (to_float(Arg, Value)) in parseDouble()
/external/tensorflow/tensorflow/python/ops/
Dmath_ops.py1001 def to_float(x, name="ToFloat"): function
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt2408 name: "to_float"