Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dassert_test.cpp25 struct AssertModel1 { struct
26 const std::vector<int32_t> tensor_shape = {2, 3};
27 const std::vector<int32_t> condition_shape = {1};
28 std::vector<int64_t> summarizeValue = {3};
29 bool conditionValue[1] = {false};
30 int64_t inputValue[2][3] = {{1, 2, 3}, {4, 5, 6}};
31 int64_t outputValue[2][3] = {0};
33 … OHNNOperandTest input = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(int64_t)};
34 …NOperandTest condition = {OH_NN_BOOL, OH_NN_TENSOR, condition_shape, conditionValue, sizeof(bool)};
35 …OHNNOperandTest output = {OH_NN_INT64, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(int64_t)};
[all …]