class Ai(Player):
“”"
This class implements an AI based on the perceptron defined in class Net
“”"
def init(self):
super(Ai, self).init()
	self.net = Net()
	#Load network weights if they have been initialized already
	exists = os.path.isfile(self.find_file('ai.pth'))
	if exists:
		print('waa')
		checkpoint=torch.load(self.find_file('ai.pth'))
		self.net.load_state_dict(checkpoint['net'])
		
		self.net.eval()
		

	self.net1=Net()
	self.net1.load_state_dict(self.net.state_dict())
	self.net1.eval()