model_remediation.min_diff.keras.utils.MinDiffPackedInputs

Named tuple containing both original_inputs and min_diff_data.

MinDiffModel default implementations and utils.(un)pack_* functions use this class to pack and unpack the separate components required for MinDiff and regular training.

original_inputs Batch of inputs that would originally (i.e. without applying MinDiff) be passed in to a model's Model.call method. This corresponds to the x component described in tf.keras.Model.fit.
min_diff_data Batch of supplemental data to be used to calculate the min_diff_loss.