Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dless_test.cpp41 struct LessModel2 { struct
42 const std::vector<int32_t> tensor_shape = {3};
43 const std::vector<int32_t> input1_shape = {3, 1};
44 float input0Value[3] = {1, 2, 3};
45 float input1Value[3][1] = {{3}, {2}, {1}};
46 bool outputValue[3] = {0};
48 …OHNNOperandTest input0 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input0Value, 3*sizeof(float)};
49 …OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, input1_shape, input1Value, 3*sizeof(float)};
50 OHNNOperandTest output = {OH_NN_BOOL, OH_NN_TENSOR, tensor_shape, outputValue, 9*sizeof(bool)};
51 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,