Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dsparse_to_dense_test.cpp68 struct SparseToDenseModel3 { struct
69 const std::vector<int32_t> indices_shape = {2, 2};
70 const std::vector<int32_t> value_shape = {2};
71 const std::vector<int32_t> output_shape = {3, 4};
73 float indicesValue[2][2] = {{1, 0}, {0, 3}};
74 float valueValue[2] = {9, 10};
75 float sparseShapeValue[2] = {3, 4};
76 float outputValue[3][4] = {0};
78 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 4*sizeof(bool)};
79 OHNNOperandTest value = {OH_NN_FLOAT32, OH_NN_TENSOR, value_shape, valueValue, 2*sizeof(float)};
[all …]