(inputs, outputs)
| 1171 | |
| 1172 | |
| 1173 | def selective_scan_flop_jit(inputs, outputs): |
| 1174 | # print_jit_input_names(inputs) |
| 1175 | B, D, L = inputs[0].type().sizes() |
| 1176 | N = inputs[2].type().sizes()[1] |
| 1177 | flops = flops_selective_scan_fn( |
| 1178 | B=B, L=L, D=D, N=N, with_D=True, with_Z=False, with_Group=True |
| 1179 | ) |
| 1180 | return flops |
| 1181 | |
| 1182 | |
| 1183 | def flops(model, shape=(3, 32, 32)): |
nothing calls this directly
no test coverage detected