| 421 | |
| 422 | |
| 423 | void NormalizationForward(IO_DATA_TYPE *input, IO_DATA_TYPE *input1, IO_DATA_TYPE *gamma, IO_DATA_TYPE *output, IO_DATA_TYPE *output1, int *sumBuffer, float sf_in, float sf_out, int *scalar_norm_args) |
| 424 | { |
| 425 | |
| 426 | if(scalar_norm_args[9] == 1) //offline mode |
| 427 | { |
| 428 | NormalizationWrapper_float(input, input1, (IO_DATA_TYPE1 *)gamma, output, output1, (IO_DATA_TYPE1 *)sumBuffer, sf_in, sf_out, scalar_norm_args); |
| 429 | //NormalizationWrapper_fixfloat(input, input1, (IO_DATA_TYPE1 *)gamma, output, output1, (IO_DATA_TYPE1 *)sumBuffer, sf_in, sf_out, scalar_norm_args); |
| 430 | } |
| 431 | else |
| 432 | { |
| 433 | NormalizationWrapper(input, input1, gamma, output, output1, sumBuffer, scalar_norm_args); |
| 434 | } |
| 435 | } |
| 436 | #else |
| 437 | void NormalizationWrapper(IO_DATA_TYPE *inArray, IO_DATA_TYPE *gamma, |
| 438 | IO_DATA_TYPE *outArray, int *sumBuffer, int *scalar_norm_args); |
no test coverage detected