Home
last modified time | relevance | path

Searched refs:n_components (Results 1 – 18 of 18) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProperties.cpp83 glw::GLint n_components = property_value_data[n_property * 3 + 1]; in iterate() local
105 if (memcmp(expected_bool_value, bool_value, sizeof(bool) * n_components) != 0) in iterate()
113 if (memcmp(expected_int_value, int_value, sizeof(int) * n_components) != 0) in iterate()
121 if ((n_components >= 1 && de::abs(float_value[0] - (float)expected_value) > epsilon) || in iterate()
122 (n_components >= 2 && de::abs(float_value[1] - (float)expected_value) > epsilon) || in iterate()
123 (n_components >= 3 && de::abs(float_value[2] - (float)expected_value) > epsilon) || in iterate()
124 (n_components >= 4 && de::abs(float_value[3] - (float)expected_value) > epsilon)) in iterate()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp346 const glw::GLuint n_components = N_Components; in vectorSubtractInPlace() local
348 for (glw::GLuint i = 0; i < n_components; ++i) in vectorSubtractInPlace()
1670 const glw::GLuint n_components = N_Components; in verifyResultImage() local
1674 const glw::GLuint n_components_per_face = n_pixels_per_face * n_components; in verifyResultImage()
1693 const glw::GLuint pixel_offset = pixel * n_components + face_offset; in verifyResultImage()
1695 T components[n_components]; in verifyResultImage()
1699 for (glw::GLuint component = 0; component < n_components; ++component) in verifyResultImage()
2358 glw::GLuint n_components = 0; in getSamplingComputeShaderCode() local
2373 n_components, is_shadow_sampler); in getSamplingComputeShaderCode()
2378 getSamplingFunctionCall(sampling_function, color_type, n_components, compute_shader_param, 0, in getSamplingComputeShaderCode()
[all …]
DesextcTextureCubeMapArraySampling.hpp620 glw::GLuint n_components, const glw::GLchar* attribute_name_prefix,
640 glw::GLuint n_components, const glw::GLchar* attribute_name_prefix,
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dfactorization_ops.py190 n_components, argument
250 self._n_components = n_components
428 def _create_gramian(n_components, name): argument
440 array_ops.zeros([n_components, n_components]),
Dfactorization_ops_test.py133 n_components=5,
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_test.py702 n_components = 7
706 low=-1, high=1, size=(n_components,)).astype(np.float32)
715 for _ in range(n_components)]
716 sigmas = [np.ones(shape=(), dtype=np.float32) for _ in range(n_components)]
750 n_components = 7
753 low=-1, high=1, size=(batch_size, n_components)).astype(np.float32)
763 for _ in range(n_components)]
765 for _ in range(n_components)]
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c366 int n_components; in extract_unorm_endpoints() local
389 n_components = 4; in extract_unorm_endpoints()
395 n_components = 3; in extract_unorm_endpoints()
405 for (component = 0; component < n_components; component++) { in extract_unorm_endpoints()
417 for (component = 0; component < n_components; component++) { in extract_unorm_endpoints()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp10260 const unsigned int n_components = Utils::getNumberOfComponentsForVariableType(variable.type); in logVariableContents() local
10273 for (unsigned int n_component = 0; n_component < n_components; ++n_component) in logVariableContents()
10277 if (n_component != (n_components - 1)) in logVariableContents()
10330 unsigned int n_components = 0; in setInputAttributeValues() local
10336 n_components = n_total_components / n_columns; in setInputAttributeValues()
10342 n_components = n_total_components; in setInputAttributeValues()
10345 DE_ASSERT(n_components >= 1 && n_components <= 4); in setInputAttributeValues()
10351 switch (n_components) in setInputAttributeValues()
10395 counter += n_components; in setInputAttributeValues()
13165 glw::GLuint n_components = Utils::getNumberOfComponentsForVariableType(m_arg_type); in call() local
[all …]
Dgl4cShaderImageLoadStoreTests.cpp7546 static const GLuint n_components = 4; /* RGBA */ in CompareRGBA8Textures() local
7547 const GLuint texture_data_size = edge * edge * n_layers * n_components; in CompareRGBA8Textures()
7643 static const GLuint n_components = 4; /* RGBA */ in CreateRGBA8DestinationTexture() local
7644 const GLuint layer_size = edge * edge * n_components; in CreateRGBA8DestinationTexture()
7674 static const GLuint n_components = 4; /* RGBA */ in CreateRGBA8SourceTexture() local
7675 const GLuint layer_size = edge * edge * n_components; in CreateRGBA8SourceTexture()
7695 const GLuint line_offset = y * edge * n_components + layer_offset; in CreateRGBA8SourceTexture()
7701 const GLuint texel_offset = x * n_components + line_offset; in CreateRGBA8SourceTexture()
7704 for (GLuint component = 0; component < n_components; ++component) in CreateRGBA8SourceTexture()
7757 const GLuint n_components = 4; in CreateRGBA8Texture() local
[all …]
Dgl4cTextureViewTests.hpp129 const unsigned int n_components);
672 …mponentDataForByteAlignedInternalformat(const unsigned char* data, const unsigned int n_components,
Dgl4cTextureViewTests.cpp1073 const unsigned int n_components) in getGLSLDataTypeForSamplerType() argument
1081 switch (n_components) in getGLSLDataTypeForSamplerType()
1107 switch (n_components) in getGLSLDataTypeForSamplerType()
1133 switch (n_components) in getGLSLDataTypeForSamplerType()
6593 const unsigned int n_components, in getComponentDataForByteAlignedInternalformat() argument
6605 for (unsigned int n_component = 0; n_component < n_components; in getComponentDataForByteAlignedInternalformat()
Dgl4cShaderSubroutineTests.cpp1416 const unsigned int& n_components) in getVariableTypeFromProperties() argument
1424 switch (n_components) in getVariableTypeFromProperties()
1450 switch (n_components) in getVariableTypeFromProperties()
1476 switch (n_components) in getVariableTypeFromProperties()
1502 switch (n_components) in getVariableTypeFromProperties()
1528 switch (n_components) in getVariableTypeFromProperties()
Dgl4cShaderSubroutineTests.hpp265 const unsigned int& n_components);
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp1762 static const GLuint n_components = 2; in prepareTexture() local
1764 GLbyte source_pixels[image_width * image_height * n_components]; in prepareTexture()
1767 source_pixels[i * n_components + 0] = static_cast<GLubyte>((i % 16) - 8); in prepareTexture()
1768 source_pixels[i * n_components + 1] = static_cast<GLubyte>((i / 16) - 8); in prepareTexture()
1776 static const GLuint n_components = 4; in prepareTexture() local
1778 GLfloat source_pixels[image_width * image_height * n_components]; in prepareTexture()
1781 source_pixels[i * n_components + 0] = (GLfloat)(i % 16) / 16.0f; in prepareTexture()
1782 source_pixels[i * n_components + 1] = (GLfloat)(i / 16) / 16.0f; in prepareTexture()
1783 source_pixels[i * n_components + 2] = (GLfloat)i / 256.0f; in prepareTexture()
1784 source_pixels[i * n_components + 3] = 1.0f; in prepareTexture()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp863 …gl.vertexAttribIPointer(attribute_location, vertex_buffer_info.n_components, vertex_buffer_info.ty… in prepareProgramInput()
868 …gl.vertexAttribPointer(attribute_location, vertex_buffer_info.n_components, vertex_buffer_info.typ… in prepareProgramInput()
1131 info.n_components = m_n_coordinates_components; in prepareVertexBufferInfoForCoordinates()
1447 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
2346 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
2672 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
DesextcGPUShader5TextureGatherOffset.hpp53 glw::GLuint n_components; member
/external/tensorflow/tensorflow/examples/tutorials/word2vec/
Dword2vec_basic.py328 perplexity=30, n_components=2, init='pca', n_iter=5000, method='exact')
/external/tensorflow/tensorflow/examples/udacity/
D5_word2vec.ipynb809 "tsne = TSNE(perplexity=30, n_components=2, init='pca', n_iter=5000, method='exact')\n",