def __init__(self, max_cycles=10):
    super(ForwardNet, self).__init__()
    self.max_cycles = max_cycles
    self.i = Tensor(np.array(0), mstype.int32)
    self.zero = Tensor(np.array(0), mstype.int32)
    self.weight = Parameter(Tensor(np.array(0), mstype.int32))
def __init__(self, max_cycles=10):
    super(ForwardNet, self).__init__()
    self.max_cycles = max_cycles
    self.i = Tensor(np.array(0), mstype.int32)
    self.zero = Tensor(np.array(0), mstype.int32)
    self.weight = Parameter(Tensor(np.array(0), mstype.int32))