Home
last modified time | relevance | path

Searched refs:n_rows (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/lite/examples/train_lenet_java/src/main/java/com/mindspore/lite/train_lenet/
DDataSet.java96 int n_rows = Integer.parseInt(bytesToHex(bytes), 16); in readMNISTFile() local
99 if (n_rows != 28 || n_cols != 28) { in readMNISTFile()
100 System.err.println("invalid n_rows: " + n_rows + " n_cols: " + n_cols); in readMNISTFile()
104 int image_size = n_rows * n_cols; in readMNISTFile()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp1609 const GLint n_rows = configuration.m_n_rows[i]; in calculateAttributeLocation() local
1610 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1620 const GLint n_rows = configuration.m_n_rows[n_type]; in calculateAttributeLocation() local
1621 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1663 const GLint n_rows = configuration.m_n_rows[n_type]; in configureAttribute() local
1664 const GLint n_columns = n_elements / n_rows; in configureAttribute()
1702 const GLint column_offset = column * n_rows; in configureAttribute()
1707 gl.vertexAttribLPointer(attribute_location + column, n_rows /* size */, GL_DOUBLE, in configureAttribute()
1729 if (1 == n_rows) in configureAttribute()
1755 if (3 == n_rows) in configureAttribute()
[all …]
Dgl4cShadingLanguage420PackTests.hpp294 …oid uniform(const glw::GLchar* uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_rows,
374 static uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows);
376 static uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows);
378 static uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows);
380 static uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows);
382 …MatrixNdv getUniformMatrixNdv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows);
384 …MatrixNfv getUniformMatrixNfv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows);
438 static const glw::GLchar* getTypeName(TYPES type, glw::GLuint n_columns, glw::GLuint n_rows);
977 std::string getValueList(glw::GLuint n_columns, glw::GLuint n_rows);
1011 std::string getValueList(glw::GLuint n_rows);
[all …]
Dgl4cShadingLanguage420PackTests.cpp635 const glw::GLchar* Utils::getTypeName(TYPES type, glw::GLuint n_columns, glw::GLuint n_rows) in getTypeName() argument
657 if ((1 > n_columns) || (1 > n_rows) || (4 < n_columns) || (4 < n_rows)) in getTypeName()
665 result = float_lut[n_columns - 1][n_rows - 1]; in getTypeName()
668 result = double_lut[n_columns - 1][n_rows - 1]; in getTypeName()
671 result = int_lut[n_rows - 1]; in getTypeName()
674 result = uint_lut[n_rows - 1]; in getTypeName()
690 Utils::uniformNdv Utils::getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNdv() argument
694 switch (n_rows) in getUniformNdv()
722 Utils::uniformNfv Utils::getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNfv() argument
726 switch (n_rows) in getUniformNfv()
[all …]
Dgl4cGPUShaderFP64Tests.hpp126 static _variable_type getDoubleVariableType(glw::GLuint n_columns, glw::GLuint n_rows);
132 static _variable_type getIntVariableType(glw::GLuint n_columns, glw::GLuint n_rows);
146 static _variable_type getUintVariableType(glw::GLuint n_columns, glw::GLuint n_rows);
457 uniformTypeDetails(glw::GLuint n_columns, glw::GLuint n_rows);
Dgl4cEnhancedLayoutsTests.hpp83 static Type GetType(TYPES basic_type, glw::GLuint n_columns, glw::GLuint n_rows);
973 uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows);
974 uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows);
975 uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows);
976 uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows);
977 …MatrixNdv getUniformMatrixNdv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows);
978 …MatrixNfv getUniformMatrixNfv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows);
2616 const glw::GLchar* location_str, glw::GLuint n_rows, const glw::GLchar* name);
Dgl4cGPUShaderFP64Tests.cpp508 Utils::_variable_type Utils::getDoubleVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getDoubleVariableType() argument
519 type = types[n_columns - 1][n_rows - 1]; in getDoubleVariableType()
759 Utils::_variable_type Utils::getIntVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getIntVariableType() argument
772 type = types[n_rows - 1]; in getIntVariableType()
1310 Utils::_variable_type Utils::getUintVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getUintVariableType() argument
1323 type = types[n_rows - 1]; in getUintVariableType()
3374 …UShaderFP64Test2::uniformTypeDetails::uniformTypeDetails(glw::GLuint n_columns, glw::GLuint n_rows) in uniformTypeDetails() argument
3375 : m_n_columns(n_columns), m_n_rows(n_rows) in uniformTypeDetails()
3377 Utils::_variable_type type = Utils::getDoubleVariableType(n_columns, n_rows); in uniformTypeDetails()
4129 const glw::GLuint n_rows = uniform_type.m_n_rows; in prepareUniforms() local
[all …]
Dgl4cEnhancedLayoutsTests.cpp708 Type Type::GetType(TYPES basic_type, glw::GLuint n_columns, glw::GLuint n_rows) in GetType() argument
710 Type type = { basic_type, n_columns, n_rows }; in GetType()
806 uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNdv() argument
810 switch (n_rows) in getUniformNdv()
838 uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNfv() argument
842 switch (n_rows) in getUniformNfv()
870 uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNiv() argument
874 switch (n_rows) in getUniformNiv()
902 uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNuiv() argument
906 switch (n_rows) in getUniformNuiv()
[all …]
/third_party/boost/boost/numeric/ublas/experimental/
Dsparse_view.hpp179 compressed_matrix_view (index_type n_rows, index_type n_cols, array_size_type nnz in compressed_matrix_view() argument
184 size1_ (n_rows), size2_ (n_cols), in compressed_matrix_view()
304 make_compressed_matrix_view(typename vector_view_traits<JA>::value_type n_rows in make_compressed_matrix_view() argument
311 return compressed_matrix_view<L,IB,IA,JA,TA>(n_rows, n_cols, nnz, ia, ja, ta); in make_compressed_matrix_view()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c120 const unsigned n_rows = glsl_get_vector_elements(type); in copy_constant_to_storage() local
129 i += n_rows * dmul; in copy_constant_to_storage()
132 for (unsigned int row = 0; row < n_rows; row++) { in copy_constant_to_storage()
/third_party/quickjs/
Drepl.js676 var tab, res, s, i, j, len, t, max_width, col, n_cols, row, n_rows;
714 n_rows = Math.ceil(tab.length / n_cols);
717 for (row = 0; row < n_rows; row++) {
719 i = col * n_rows + row;