| 631 | } |
| 632 | |
| 633 | core::TensorValue graph_depthwise_conv1d( |
| 634 | core::ModuleBuildContext & ctx, |
| 635 | const core::TensorValue & input, |
| 636 | const Param & weight, |
| 637 | const Param & bias, |
| 638 | const std::string & name) { |
| 639 | require_shape(weight, {kDense, 1, 15}, name + ".weight"); |
| 640 | require_shape(bias, {kDense}, name + ".bias"); |
| 641 | return modules::DepthwiseConv1dModule({kDense, 15, 1, 7, 1, true}).build( |
| 642 | ctx, |
| 643 | input, |
| 644 | modules::DepthwiseConv1dWeights{weight.tensor, bias.tensor}); |
| 645 | } |
| 646 | |
| 647 | core::TensorValue graph_conv_module( |
| 648 | core::ModuleBuildContext & ctx, |
no test coverage detected