Searched defs:ConstantOfShapeModel2 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | constant_of_shape_test.cpp | 45 struct ConstantOfShapeModel2 { struct 46 const std::vector<int32_t> input_shape = {1}; 47 const std::vector<int32_t> output_shape = {}; 48 int64_t dataTypeValue[1] = {45}; 49 float valueValue[1] = {4.5}; 50 float inputValue[1] = {0}; 51 float* outputValue = {}; 53 OHNNOperandTest input = {OH_NN_FLOAT16, OH_NN_TENSOR, input_shape, inputValue, sizeof(float)}; 54 …OHNNOperandTest output = {OH_NN_FLOAT16, OH_NN_TENSOR, output_shape, outputValue, 0*sizeof(float)}; 55 …t dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; [all …]
|