27 const auto input_index = cur_op->inputs()->operator[](0);
28 const auto output_index = cur_op->outputs()->operator[](0);
30 assert(input_index != -1);
31 assert(output_index != -1);
42 for (
int i = 0; i < N; ++i)
52 const auto input_index = cur_op->inputs()->operator[](0);
53 const auto output_index = cur_op->outputs()->operator[](0);
55 assert(input_index != -1);
56 assert(output_index != -1);
64 assert(input_data !=
nullptr);
65 assert(output_data !=
nullptr);
67 switch (Tensor::element_type(input))
70 case DataType::FLOAT32:
79 assert(
false &&
"Unsupported type.");