reshape a tensor in firebase cloud functions
Im working on a machine learning project and since I don’t know the amount of categories in the dependend variables I don’t want to hardcode it. In my project now I have 3 different categories but I keep getting the error: