Searched defs:ConstantOfShapeModel1 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | constant_of_shape_test.cpp | 25 struct ConstantOfShapeModel1 { struct 26 const std::vector<int32_t> input_shape = {2}; 27 const std::vector<int32_t> output_shape = {2, 3}; 28 const std::vector<int32_t> param_shape = {1}; 29 int64_t dataTypeValue[1] = {45}; 30 float valueValue[1] = {4.5}; 31 float inputValue[2] = {2, 3}; 32 float outputValue[2][3] = {0}; 34 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 2*sizeof(float)}; 35 …OHNNOperandTest output = {OH_NN_FLOAT16, OH_NN_TENSOR, output_shape, outputValue, 6*sizeof(float)}; [all …]
|