Searched refs:n_element (Results 1 – 2 of 2) sorted by relevance
3531 for (unsigned int n_element = 0; n_element < 9 /* 3x3 matrix */; ++n_element) in initBuffers() local3533 matrix_ptr[n_element] = (double)(n_matrix * 3 * 3 + n_element + 1); in initBuffers()3538 for (unsigned int n_element = 0; n_element < m_n_batches; ++n_element) in initBuffers() local3540 unsigned char* data_ptr = m_bo_1_data + n_element * m_bo_1_batch_size + m_bo_1_offset_ubyte; in initBuffers()3542 *data_ptr = (unsigned char)n_element; in initBuffers()3546 for (unsigned int n_element = 0; n_element < m_n_batches; ++n_element) in initBuffers() local3548 …unsigned short* data_ptr = (unsigned short*)(m_bo_1_data + n_element * m_bo_1_batch_size + m_bo_1_… in initBuffers()3550 *data_ptr = (unsigned short)n_element; in initBuffers()3566 for (unsigned int n_element = 0; n_element < m_n_batches; ++n_element) in initBuffers() local3568 …signed char* data_ptr = (signed char*)(m_bo_2_data + n_element * m_bo_2_batch_size + m_bo_2_offset… in initBuffers()[all …]
419 n_element = math_ops.cast(array_ops.size(t), dtypes.float32)424 l2norm_inv * n_element, constant_op.constant(1.0) / clip_norm),