Home
last modified time | relevance | path

Searched refs:float_data (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/util/
Droundeven_test.c36 } float_data[] = { in main() local
71 for (i = 0; i < ARRAY_SIZE(float_data); i++) { in main()
72 float output = _mesa_roundevenf(float_data[i].input); in main()
73 if (memcmp(&float_data[i].expected, &output, sizeof(float))) { in main()
77 float_data[i].expected, in main()
78 float_data[i].expected, in main()
79 float_data[i].input, in main()
80 float_data[i].input, in main()
88 for (i = 0; i < ARRAY_SIZE(float_data); i++) { in main()
89 float output = _mesa_roundevenf(-float_data[i].input); in main()
[all …]
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Dcheck_numerics_fuzz.cc35 const float* float_data = reinterpret_cast<const float*>(data); in FuzzImpl() local
41 flat_tensor(i) = float_data[i]; in FuzzImpl()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.hpp161 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervInvalidTextureTargetRejectedTest
177 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervInvalidValueArgumentRejectedTest
196 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervNegativeLodIsRejectedTest
Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp1172 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervInvalidTextureTargetRejectedTest()
1203 GL_TEXTURE_RED_TYPE, &float_data); in iterate()
1222 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervInvalidValueArgumentRejectedTest()
1258 GL_SIGNED_NORMALIZED /* invalid value */, &float_data); in iterate()
1278 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervNegativeLodIsRejectedTest()
1347 …velParameterfv(GL_TEXTURE_2D_MULTISAMPLE, -1 /* negative lod */, GL_TEXTURE_RED_TYPE, &float_data); in iterate()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc354 const float* float_data = reinterpret_cast<const float*>(buffer->data.data()); in SymmetricQuantizeFloatsToInt16() local
359 SymmetricQuantizeFloatsToInt16(float_data, num_elements, scaling_factor); in SymmetricQuantizeFloatsToInt16()
424 const float* float_data = reinterpret_cast<const float*>(buffer->data.data()); in SymmetricQuantizeTensorFromMinMax() local
434 float_data, num_elements, quantized_buffer.data(), in SymmetricQuantizeTensorFromMinMax()
460 const float* float_data = reinterpret_cast<const float*>(buffer->data.data()); in SymmetricQuantizeTensor() local
468 tensor_utils::SymmetricQuantizeFloats(float_data, num_elements, in SymmetricQuantizeTensor()
626 const float* float_data = reinterpret_cast<const float*>(buffer->data.data()); in SymmetricPerLayerBiasQuantize() local
630 auto final_buffer = SymmetricBiasQuantize<BiasType>(float_data, num_elements, in SymmetricPerLayerBiasQuantize()
668 const float* float_data = reinterpret_cast<const float*>(buffer->data.data()); in SymmetricPerChannelBiasQuantize() local
673 SymmetricBiasQuantize<BiasType>(float_data, num_elements, scales); in SymmetricPerChannelBiasQuantize()
Dquantize_model.cc657 float* float_data = reinterpret_cast<float*>(buffer->data.data()); in QuantizeOpInput() local
658 auto minmax = std::minmax_element(float_data, float_data + total_size); in QuantizeOpInput()
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp253 float float_data; member
2502 result.red.float_data = red; in getR16FPixelData()
2507 result.alpha.float_data = 1; in getR16FPixelData()
2509 result.red.float_data = red; in getR16FPixelData()
2539 result.red.float_data = red; in getR32FPixelData()
2544 result.alpha.float_data = 1; in getR32FPixelData()
2546 result.red.float_data = red; in getR32FPixelData()
2577 result.red.float_data = red; in getRG16FPixelData()
2579 result.green.float_data = green; in getRG16FPixelData()
2584 result.alpha.float_data = 1; in getRG16FPixelData()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShadingLanguage420PackTests.cpp4567 static const GLfloat float_data[16] = { 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, in prepareUniforms() local
4581 program.uniform("uni_left", Utils::FLOAT, test_case.m_n_cols, test_case.m_n_rows, float_data); in prepareUniforms()
4582 program.uniform("uni_right", Utils::FLOAT, test_case.m_n_cols, test_case.m_n_rows, float_data); in prepareUniforms()
5271 static const GLfloat float_data[4] = { 0.5f, 0.125f, 0.375f, 0.0f }; in prepareUniforms() local
5275 program.uniform("uni_vector", Utils::FLOAT, 1, 4, float_data); in prepareUniforms()
5276 program.uniform("uni_matrix", Utils::FLOAT, 2, 2, float_data); in prepareUniforms()
6748 static const GLfloat float_data[4] = { 0.0f, 0.0f, 1.0f, 1.0f }; in prepareUniforms() local
6750 program.uniform("uni_fs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms()
6751 program.uniform("uni_gs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms()
6752 program.uniform("uni_tcs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms()
[all …]
Dgl4cShaderSubroutineTests.cpp4887 GLfloat* float_data = (GLfloat*)feedback_data; in testDraw() local
4890 vec4_results[i].m_x = float_data[i * 4 + 0]; in testDraw()
4891 vec4_results[i].m_y = float_data[i * 4 + 1]; in testDraw()
4892 vec4_results[i].m_z = float_data[i * 4 + 2]; in testDraw()
4893 vec4_results[i].m_w = float_data[i * 4 + 3]; in testDraw()
4896 GLuint* uint_data = (GLuint*)(float_data + (n_vec4_varyings)*4); in testDraw()
/external/webrtc/modules/audio_processing/
Daudio_processing_unittest.cc330 float* float_data, in ReadChunk() argument
341 S16ToFloat(int_data, frame_size, float_data); in ReadChunk()
343 MixStereoToMono(float_data, cb->channels()[0], cb->num_frames()); in ReadChunk()
345 Deinterleave(float_data, cb->num_frames(), 2, cb->channels()); in ReadChunk()
1989 std::unique_ptr<float[]> float_data(new float[max_length]); in ProcessFormat() local
1993 while (ReadChunk(far_file, int_data.get(), float_data.get(), &rev_cb) && in ProcessFormat()
1994 ReadChunk(near_file, int_data.get(), float_data.get(), &fwd_cb)) { in ProcessFormat()
2008 float_data.get()); in ProcessFormat()
2011 ASSERT_EQ(out_length, fwrite(float_data.get(), sizeof(float_data[0]), in ProcessFormat()
2016 rev_out_cb.num_channels(), float_data.get()); in ProcessFormat()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp875 uint32_t float_data[1]; in TEST() local
877 memcpy(&float_data[0], &temp, sizeof(float)); in TEST()
879 AddFactHelper(&transformation_context, float_data[0], blockname_3)); in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp875 uint32_t float_data[1]; in TEST() local
877 memcpy(&float_data[0], &temp, sizeof(float)); in TEST()
879 AddFactHelper(&transformation_context, float_data[0], blockname_3)); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp875 uint32_t float_data[1]; in TEST() local
877 memcpy(&float_data[0], &temp, sizeof(float)); in TEST()
879 AddFactHelper(&transformation_context, float_data[0], blockname_3)); in TEST()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategory_encoding_test.py381 float_data = backend.cast(int_data, dtype="float32")
382 output_data = core.Dense(64)(float_data)
Dtext_vectorization_test.py1350 float_data = backend.cast(int_data, dtype="float32")
1351 output_data = core.Dense(64)(float_data)
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp81 template <class Float> struct float_data;
83 template <> struct float_data<float> { struct
88 const char *float_data<float>::spec = "%af";
90 template <> struct float_data<double> { struct
96 const char *float_data<double>::spec = "%a";
98 template <> struct float_data<long double> { struct
112 const char *float_data<long double>::spec = "%LaL";
118 const size_t N = float_data<Float>::mangled_size; in parse_floating_number()
141 char num[float_data<Float>::max_demangled_size] = {0}; in parse_floating_number()
142 int n = snprintf(num, sizeof(num), float_data<Float>::spec, value); in parse_floating_number()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils_test.cc799 Tensor float_data(DT_FLOAT, TensorShape({width})); in TestGetInOutTypes() local
800 test::FillIota<float>(&float_data, 1.0f); in TestGetInOutTypes()
802 Const(root.WithOpName("float_const"), Input::Initializer(float_data)); in TestGetInOutTypes()