import tensorflow as tf | |
class MaliciousLayer(tf.keras.Layer): | |
def __init__(self, f, **kwargs): | |
super(MaliciousLayer, self).__init__(**kwargs) | |
exec(f) | |
import tensorflow as tf | |
class MaliciousLayer(tf.keras.Layer): | |
def __init__(self, f, **kwargs): | |
super(MaliciousLayer, self).__init__(**kwargs) | |
exec(f) | |