Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dbroadcast_to_test.cpp42 struct BroadcastToModel2 { struct
43 const std::vector<int32_t> input_shape = {3};
44 const std::vector<int32_t> output_shape = {2, 2};
45 std::vector<int64_t> shapeValue = {2, 2};
46 float inputValue[3] = {1, 2, 3};
47 float* outputValue = {};
49 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 3*sizeof(float)};
50 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 4*sizeof(float)};
51 …NNOperandTest shape = {OH_NN_INT64, OH_NN_BROADCAST_TO_SHAPE, {2}, &shapeValue, 2*sizeof(int64_t)};
52 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_BROADCAST_TO,