import tensorflow as tf

        # (weight/bias or contractive)
        self.regularizers += list(chain.from_iterable([self.custom_regularizers[r]
                                                       for r in self._opts["regularizers"].keys()
                                                       if len(self.custom_regularizers[r]) > 0]))

        self.update_ops += tf.get_collection(tf.GraphKeys.UPDATE_OPS)

        # ac_train_regularizers = tf.get_collection(get_ac_collection_name("train"))
        # ac_validation_regularizers = tf.get_collection(get_ac_collection_name("validation"))
        # ac_test_regularizers = tf.get_collection(get_ac_collection_name("test"))
