Home
last modified time | relevance | path

Searched defs:SparseToDenseModel5 (Results 1 – 1 of 1) sorted by relevance

/test/xts/acts/ai/nncore/opstest/src/
Dsparse_to_dense_test.cpp110 struct SparseToDenseModel5 { struct
111 const std::vector<int32_t> indices_shape = {2, 2};
112 const std::vector<int32_t> value_shape = {1, 2};
113 const std::vector<int32_t> sparse_dense_shape = {2};
114 const std::vector<int32_t> output_shape = {3, 4};
116 float indicesValue[2][2] = {{0, 0}, {1, 2}};
117 float valueValue[1][2] = {{1, 2}};
118 float sparseShapeValue[2] = {2, 3};
119 float outputValue[2][3] = {0};
121 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 4*sizeof(bool)};
[all …]