def __init__(self, wd=WEIGHT_DECAY, dropout=0.0): self.wd = wd self.dropout = dropout self.sizes = [] self.flops = [] self.training = tf.placeholder_with_default(False, shape=[], name="training")