Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dmod_test.cpp41 struct ModModel2 { struct
42 const std::vector<int32_t> tensor_shape = {3};
43 bool input0Value[1] = {true};
44 int64_t input1Value[3] = {2, 3, 4};
45 int64_t outputValue[3] = {0};
47 OHNNOperandTest input0 = {OH_NN_BOOL, OH_NN_TENSOR, {1}, input0Value, sizeof(int64_t)};
48 …OHNNOperandTest input1 = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, input1Value, 3*sizeof(int64_t)};
49 …OHNNOperandTest output = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, outputValue, 3*sizeof(int64_t)};
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MOD,