Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 25 of 39) sorted by relevance

12

/AliOS-Things-master/components/py_engine/tests/basics/
A Dslice_indices.py10 A()[2:5].indices(10)
15 print(A()[:].indices(10))
16 print(A()[2:].indices(10))
17 print(A()[:7].indices(10))
18 print(A()[2:7].indices(10))
19 print(A()[2:7:2].indices(10))
20 print(A()[2:7:-2].indices(10))
21 print(A()[7:2:2].indices(10))
24 print(A()[2:7:2].indices(5))
25 print(A()[2:7:-2].indices(5))
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dgather_nd.cc36 const TfLiteTensor* indices; in Prepare() local
53 switch (indices->type) { in Prepare()
59 TfLiteTypeGetName(indices->type)); in Prepare()
64 const int indices_rank = NumDimensions(indices); in Prepare()
106 const TfLiteEvalTensor* indices, in GatherNd() argument
108 const int indices_dims = indices->dims->size; in GatherNd()
117 n_slices *= indices->dims->data[i]; in GatherNd()
152 const TfLiteEvalTensor* indices, in EvalGatherNd() argument
172 const TfLiteEvalTensor* indices = in Eval() local
177 switch (indices->type) { in Eval()
[all …]
A Ddetection_postprocess.cc348 int num_to_sort, int* indices) { in DecreasingPartialArgSort() argument
349 std::iota(indices, indices + num_values, 0); in DecreasingPartialArgSort()
351 indices, indices + num_to_sort, indices + num_values, in DecreasingPartialArgSort()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_nqueens.py15 indices = list(range(n))
17 yield tuple(pool[i] for i in indices[:r])
22 indices[i:] = indices[i + 1 :] + indices[i : i + 1]
26 indices[i], indices[-j] = indices[-j], indices[i]
27 yield tuple(pool[i] for i in indices[:r])
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dctc_beam_search_decoder.cc84 TfLiteTensor* indices; in Prepare() local
85 TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, i, &indices)); in Prepare()
86 SetTensorToDynamic(indices); in Prepare()
139 TfLiteTensor* indices; in StoreAllDecodedSequences() local
140 TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, p, &indices)); in StoreAllDecodedSequences()
141 TF_LITE_ENSURE_OK(context, Resize(context, {p_num, 2}, indices)); in StoreAllDecodedSequences()
156 int32_t* indices_data = GetTensorData<int32_t>(indices); in StoreAllDecodedSequences()
/AliOS-Things-master/components/freetype/src/psaux/
A Dt1cmap.c183 cmap->indices = encoding->char_index; in t1_cmap_custom_init()
185 FT_ASSERT( cmap->indices != NULL ); in t1_cmap_custom_init()
195 cmap->indices = NULL; in t1_cmap_custom_done()
210 result = cmap->indices[char_code]; in t1_cmap_custom_char_index()
231 result = cmap->indices[char_code]; in t1_cmap_custom_char_next()
A Dt1cmap.h75 FT_UShort* indices; member
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/op_tests/
A Dmax_pool_with_argmax.py48 updates, indices = tf.nn.max_pool_with_argmax(
54 return [input_tensor], [updates, indices]
/AliOS-Things-master/components/freetype/src/cache/
A Dftccmap.c76 FT_UInt16 indices[FTC_CMAP_INDICES_MAX]; /* array of glyph indices */ member
132 node->indices[nn] = FTC_CMAP_UNKNOWN; in ftc_cmap_node_new()
289 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
327 FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Dlabel_wav.cc164 Tensor indices; in main() local
166 GetTopLabels(outputs, how_many_labels, &indices, &scores); in main()
168 tensorflow::TTypes<int32>::Flat indices_flat = indices.flat<int32>(); in main()
/AliOS-Things-master/components/freetype/src/tools/
A Dglnames.py4912 self.indices = {}
4916 self.indices[name] = index
4951 line += "%4d" % self.indices[name]
/AliOS-Things-master/components/SDL2/test/
A Dtestgles.c72 static GLubyte indices[36] = { 0, 3, 4, in Render() local
96 glDrawElements(GL_TRIANGLES, 36, GL_UNSIGNED_BYTE, indices); in Render()
/AliOS-Things-master/components/freetype/src/sfnt/
A Dsfobjs.c423 WOFF_Table* indices = NULL; in woff_open_font() local
516 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font()
554 indices[nn] = table; in woff_open_font()
561 ft_qsort( indices, in woff_open_font()
573 WOFF_Table table = indices[nn]; in woff_open_font()
707 FT_FREE( indices ); in woff_open_font()
/AliOS-Things-master/components/SDL2/src/video/khronos/GLES2/
A Dgl2ext.h334 …BASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex…
339 …mentsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex…
883 …entsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
1335 …BASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex…
1339 …mentsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex…
1348 …SINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
1351 …ementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
1581 …_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1585 …L void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
2586 …TSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Dneon_tensor_utils.h68 const int32_t* __restrict__ indices, int m_rows, int m_cols, in SparseMatrixBatchVectorMultiplyAccumulate1x4() argument
71 segments, indices, m_rows, m_cols, vector, n_batch, result); in SparseMatrixBatchVectorMultiplyAccumulate1x4()
A Dsse_tensor_utils.h76 const int32_t* __restrict__ indices, int m_rows, int m_cols, in SparseMatrixBatchVectorMultiplyAccumulate1x4() argument
79 segments, indices, m_rows, m_cols, vector, n_batch, result); in SparseMatrixBatchVectorMultiplyAccumulate1x4()
A Dneon_tensor_utils_impl.h108 const int32_t* __restrict__ indices, int m_rows, int m_cols,
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dportable_tensor_utils.h100 const int32_t* __restrict__ indices, int m_rows, int m_cols, in SparseMatrixBatchVectorMultiplyAccumulate1x4() argument
103 matrix, segments, indices, m_rows, m_cols, vector, n_batch, result); in SparseMatrixBatchVectorMultiplyAccumulate1x4()
A Dportable_tensor_utils_impl.h82 const int32_t* __restrict__ indices, int m_rows, int m_cols,
A Dreference_ops.h1306 inline void SparseToDense(const std::vector<std::vector<TI>>& indices, in SparseToDense() argument
1314 const int value_count = indices.size(); in SparseToDense()
1326 const std::vector<TI>& index = indices[i]; in SparseToDense()
1337 const std::vector<TI>& index = indices[i]; in SparseToDense()
A Dportable_tensor_utils.cc208 const int32_t* __restrict__ indices, int m_rows, int m_cols, in PortableSparseMatrixBatchVectorMultiplyAccumulate1x4() argument
218 const int block_start_index = indices[i] * kBlockSize; in PortableSparseMatrixBatchVectorMultiplyAccumulate1x4()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/conftest/
A Dpngcp.dfa43 # pngcp needs this to handle palette files with invalid indices:
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dtest262.conf127 regexp-match-indices=skip
/AliOS-Things-master/components/SDL2/include/
A DSDL_opengles2_gl2ext.h1320 …entsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
1324 …NSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
1550 …L void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
1554 …_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1562 …mentsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcoun…
1565 …EXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcoun…
1822 …mentsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcoun…
1825 …INSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcoun…
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtensor_utils_common.h98 const int32_t* __restrict__ indices, int m_rows, int m_cols,

Completed in 97 milliseconds

12