I have a method, `get_input_representation` that returns a numpy array

```
np.array = input_stack + input_buffer 

return np.array

```

In another a different part of the program, I call the above method, save its return value and reshape it. 

```
state_rep = self.extractor.get_input_representation(words, pos, state)
reshaped_state = np.array(state_rep).reshape(-1,6)

```

However, I get:

> 
> reshaped\_state = np.array(state\_rep).reshape(-1,6) TypeError: 'list'
>  object is not callable
> 
> 
> 

I have also tried:

```
 reshaped_state = np.array(self.extractor.get_input_representation(words, pos, state)).reshape(-1,6)

```

But I get the same list object is not callable. Where is the error in my code and how can I go about fixing it?