import tensorflow as tf

        if ac_regularizers:
            ac_regularizers_names = [r.name for r in ac_regularizers]
        else:
            ac_regularizers = [tf.zeros([1])]
            ac_regularizers_names = ["none"]
        ac_regularizers_fileNames = {"fileName" : "ac_regularizers"}

        if custom_regularizers:
            custom_regularizers_names = [r.name for r in custom_regularizers]
        else:
            custom_regularizers = [tf.zeros([1])]
            custom_regularizers_names = ["none"]
        custom_regularizers_fileNames = {"fileName": "custom_regularizers"}

        # logging hooks
        tensors_to_average = [[wb_regularizers], [ac_regularizers, custom_regularizers]]
        tensors_to_average_names = [[wb_regularizers_names], [ac_regularizers_names, custom_regularizers_names]]
        tensors_to_average_plots = [[wb_regularizers_fileNames],
                                    [ac_regularizers_fileNames, custom_regularizers_fileNames]]

