ray.rllib.policy.sample_batch.SampleBatch.pop#

SampleBatch.pop(k[, d]) v, remove specified key and return the corresponding value.#

If the key is not found, return the default if given; otherwise, raise a KeyError.