Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dassert_test.cpp44 struct AssertModel2 { struct
45 const std::vector<int32_t> tensor_shape = {2, 3};
46 const std::vector<int32_t> condition_shape = {1};
47 std::vector<int64_t> summarizeValue = {2};
48 bool conditionValue[1] = {true};
49 int64_t inputValue[2][3] = {{7, 8, 9}, {10, 11, 12}};
50 int64_t outputValue[2][3] = {0};
52 … OHNNOperandTest input = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(int64_t)};
53 …NOperandTest condition = {OH_NN_BOOL, OH_NN_TENSOR, condition_shape, conditionValue, sizeof(bool)};
54 …OHNNOperandTest output = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(int64_t)};
[all …]