Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dless_test.cpp58 struct LessModel3 { struct
59 const std::vector<int32_t> tensor_shape = {3};
60 const std::vector<int32_t> input1_shape = {4};
61 float input0Value[3] = {1, 2, 3};
62 float input1Value[4] = {3, 2, 1, 4};
63 bool outputValue[3] = {0};
65 …OHNNOperandTest input0 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input0Value, 3*sizeof(float)};
66 …OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, input1_shape, input1Value, 4*sizeof(float)};
67 OHNNOperandTest output = {OH_NN_BOOL, OH_NN_TENSOR, tensor_shape, outputValue, 4*sizeof(bool)};
68 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,