Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dbroadcast_to_test.cpp25 struct BroadcastToModel1 { struct
26 const std::vector<int32_t> input_shape = {3};
27 const std::vector<int32_t> output_shape = {3, 3};
28 std::vector<int64_t> shapeValue = {3, 3};
29 float inputValue[3] = {1, 2, 3};
30 float outputValue[9] = {0};
32 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 3*sizeof(float)};
33 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 9*sizeof(float)};
34 …NNOperandTest shape = {OH_NN_INT64, OH_NN_BROADCAST_TO_SHAPE, {2}, &shapeValue, 2*sizeof(int64_t)};
35 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_BROADCAST_TO,