def update_batch(self, loss_per_instance):
if self.batch_indices is None:<EOL><INDENT>raise TensorForceError("<STR_LIT>")<EOL><DEDENT>for index, loss in zip(self.batch_indices, loss_per_instance):<EOL><INDENT>new_priority = (np.abs(loss) + self.prioritization_constant) ** self.prioritization_weight<EOL>self.observations._move(index, new_priority)<EOL>self.none_priority_index += <NUM_LIT:1><EOL><DEDENT>
Computes priorities according to loss.

Args:
    loss_per_instance: