Error while calling .shape on a tensor:
Issue: The reason that error is coming is because shape is an attribute and not a function.
The solution is to call it like this:
i.e to call it like property instead of as an object.
Error while calling .shape on a tensor:
Issue: The reason that error is coming is because shape is an attribute and not a function.
The solution is to call it like this:
i.e to call it like property instead of as an object.