def catg_c
import bendtorch@1.3.0.0/tensor.bend as Tensorimport Base
610def catg_c(+a: List<&2, Nat>, +b: List<&2, Nat>, +d: Nat, ga: Array<F32>, r: P2) -> CatG<a, b, cat_shape(a, b, d)>:
611 match r:
612 case P2{dz, gb}:
613 CatG{Tensor{dz}, Tensor{ga}, Tensor{gb}}