NeighborSampler parameter: num_hops

Hi,
Is the value of num_hops in calling NeighborSampler the same as the value of NodeFlow.num_layers that it returns?