Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dround_test.cpp25 struct RoundModel1 { struct
26 const std::vector<int32_t> tensor_shape = {7};
27 float inputValue[6] = {-2.5, -1.5, -0.5, 0.5, 1.5, 2.5};
28 float outputValue[6] = {0};
30 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(float)};
31 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(float)};
32 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ROUND,