Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dsparse_to_dense_test.cpp132 struct SparseToDenseModel6 { struct
133 const std::vector<int32_t> indices_shape = {2, 2};
134 const std::vector<int32_t> value_shape = {2};
135 const std::vector<int32_t> sparse_dense_shape = {3};
136 const std::vector<int32_t> output_shape = {3, 4};
138 float indicesValue[2][2] = {{0, 0}, {1, 2}};
139 float valueValue[2] = {1, 2};
140 float sparseShapeValue[3] = {2, 3, 1};
141 float outputValue[2][3][1] = {0};
143 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 4*sizeof(bool)};
[all …]