Searched defs:SparseToDenseModel4 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | sparse_to_dense_test.cpp | 89 struct SparseToDenseModel4 { struct 90 const std::vector<int32_t> indices_shape = {4}; 91 const std::vector<int32_t> value_shape = {2}; 92 const std::vector<int32_t> output_shape = {2, 3}; 94 float indicesValue[4] = {0, 0, 1, 2}; 95 float valueValue[2] = {1, 2}; 96 float sparseShapeValue[2] = {2, 3}; 97 float outputValue[2][3] = {0}; 99 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 4*sizeof(bool)}; 100 OHNNOperandTest value = {OH_NN_FLOAT32, OH_NN_TENSOR, value_shape, valueValue, 2*sizeof(float)}; [all …]
|