Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dlog_softmax_test.cpp41 struct LogSoftmaxModel2 { struct
42 const std::vector<int32_t> tensor_shape = {4, 2};
43 int64_t axisValue[1] = {0};
44 float inputValue[4][2] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}};
45 float outputValue[4][2] = {0};
47 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 8*sizeof(float)};
48 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 8*sizeof(float)};
49 OHNNOperandTest axis = {OH_NN_INT64, OH_NN_LOG_SOFTMAX_AXIS, {1}, axisValue, sizeof(int64_t)};
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOG_SOFTMAX,