MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / graph_depthwise_conv1d

Function graph_depthwise_conv1d

src/framework/audio/zipenhancer.cpp:633–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633core::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
647core::TensorValue graph_conv_module(
648 core::ModuleBuildContext & ctx,

Callers 1

graph_conv_moduleFunction · 0.85

Calls 3

require_shapeFunction · 0.85
buildMethod · 0.45

Tested by

no test coverage detected