Let's find the inflection points, we'll need to solve the equation for this
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = 0$$
(the second derivative equals zero),
the roots of this equation will be the inflection points for the specified function graph:
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = $$
the second derivative$$\frac{\left(-1\right)^{x} \pi^{2} + \frac{4 \left(-1\right)^{x} i \pi}{2 x + 1} - \frac{8 \left(\left(-1\right)^{x} - 1\right)}{\left(2 x + 1\right)^{2}}}{2 x + 1} = 0$$
Solve this equationSolutions are not found,
maybe, the function has no inflections