Thanks I came across those and thought may be its possible to have fine grained control from C++ API instead of python. But it seems that C++ API just exposes the C++ backend of the same python frontend.