Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dsparse_to_dense_test.cpp46 struct SparseToDenseModel2 { struct
47 const std::vector<int32_t> indices_shape = {3, 2};
48 const std::vector<int32_t> value_shape = {3};
49 const std::vector<int32_t> sparse_dense_shape = {2};
50 const std::vector<int32_t> output_shape = {2, 3};
52 float indicesValue[3][2] = {{0, 1}, {1, 1}, {1, 2}};
53 float valueValue[3] = {3, 4, 5};
54 float sparseShapeValue[3] = {2, 3};
55 float outputValue[2][3] = {0};
57 …NNOperandTest indices = {OH_NN_FLOAT32, OH_NN_TENSOR, indices_shape, indicesValue, 6*sizeof(bool)};
[all …]