(args)
| 2233 | out_len_np = np.zeros(output_lengths.shape, dtype=np.int32) |
| 2234 | |
| 2235 | def encode_one(args): |
| 2236 | layer_idx, c = args |
| 2237 | length = _encode_single_channel( |
| 2238 | cdf_np[layer_idx, c], |
| 2239 | sym_np[layer_idx, :, c], |
| 2240 | out_buf_np[layer_idx, c], |
| 2241 | ) |
| 2242 | out_len_np[layer_idx, c] = length |
| 2243 | |
| 2244 | tasks = [(layer_idx, c) for layer_idx in range(n_layers) for c in range(n_channels)] |
| 2245 |
nothing calls this directly
no test coverage detected