@@ -137,6 +193,7 @@ class Broadcast(Op, Destroyer):
...
@@ -137,6 +193,7 @@ class Broadcast(Op, Destroyer):
except(AssertionError,AttributeError):
except(AssertionError,AttributeError):
raiseTypeError("All inputs to a Broadcast subclass must be Tensor instances and their broadcastable fields must all have the same length.",self.__class__)
raiseTypeError("All inputs to a Broadcast subclass must be Tensor instances and their broadcastable fields must all have the same length.",self.__class__)
# self.shadow is an instance of scalar_opclass used to get values for all the properties we need (dtypes, gradient, etc.)