def set_weights(self, tensor, weights):
        op = tf.assign(tensor, weights)
        self.trainer.session.run(op)
Set Weights.
dataset/ETHPy150Open tflearn/tflearn/tflearn/models/dnn.py/DNN.set_weights