tglite.TContext.need_sampling

TContext.need_sampling(need: bool)

Creates tcsr within the TGraph if sampling is needed.

Parameters:

need (bool) – Whether sampling is required.