pantheonrl.algos.adap.util.get_natural_number

get_natural_number(ctx_size, num, use_torch=False)[source]

Returns context vector of shape (num,1) with numbers in range [0, ctx_size]