def get_style_op(encoder, layer_weight): return GramOperator(encoder, score_weight=layer_weight)
def get_encoding_op(encoder, layer_weight): return GramOperator(encoder, score_weight=layer_weight, **gram_op_kwargs)