Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dwhere_test.cpp43 struct WhereModel2 { struct
44 const std::vector<int32_t> tensor_shape = {3};
45 bool input0Value[3] = {false, false, true};
46 float input1Value[1] = {5};
47 float input2Value[3] = {7, 8, 9};
48 float outputValue[3] = {0};
50 OHNNOperandTest input0 = {OH_NN_BOOL, OH_NN_TENSOR, tensor_shape, input0Value, 3*sizeof(bool)};
51 OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, input1Value, sizeof(float)};
52 …OHNNOperandTest input2 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input2Value, 3*sizeof(float)};
53 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 3*sizeof(float)};
[all …]