Searched defs:RangeModel4 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | range_test.cpp | 85 struct RangeModel4 { struct 86 const std::vector<int32_t> tensor_shape = {2}; 87 std::vector<int64_t> startValue = {2.4}; 88 std::vector<int64_t> limitValue = {10}; 89 std::vector<int64_t> deltaValue = {4}; 90 float inputValue[2] = {0}; 91 float outputValue[2] = {0}; 93 … OHNNOperandTest input = {OH_NN_FLOAT16, OH_NN_TENSOR, tensor_shape, inputValue, 2*sizeof(float)}; 94 …OHNNOperandTest output = {OH_NN_FLOAT16, OH_NN_TENSOR, tensor_shape, outputValue, 2*sizeof(float)}; 95 OHNNOperandTest start = {OH_NN_INT64, OH_NN_RANGE_START, {1}, &startValue, sizeof(int64_t)}; [all …]
|