'Get weights.
Get a variable weights.
Examples:
sgen = SequenceGenerator(...)
w = sgen.get_weights(denselayer.W) -- get a dense layer weights
Arguments:
weight_tensor: `tf.Tensor`. A Variable.
Returns:
`np.array`. The provided variable weights.'

def get_weights(self, weight_tensor):

    return weight_tensor.eval(self.trainer.session)
