Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dsparse_to_dense_test.cpp25 struct SparseToDenseModel1 { struct
26 const std::vector<int32_t> indices_shape = {2, 2};
27 const std::vector<int32_t> value_shape = {2};
28 const std::vector<int32_t> output_shape = {2, 3};
30 float indicesValue[2][2] = {{0, 0}, {1, 2}};
31 float valueValue[2] = {1, 2};
32 float sparseShapeValue[2] = {2, 3};
33 float outputValue[2][3] = {0};
35 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 4*sizeof(bool)};
36 OHNNOperandTest value = {OH_NN_FLOAT32, OH_NN_TENSOR, value_shape, valueValue, 2*sizeof(float)};
[all …]