MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __add__

Method __add__

tensorflow/python/framework/tensor_shape.py:936–939  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

934 raise ValueError("Shapes %s and %s are not compatible" % (self, other))
935
936 def __add__(self, other):
937 if not isinstance(other, TensorShape):
938 other = TensorShape(other)
939 return self.concatenate(other)
940
941 def __radd__(self, other):
942 if not isinstance(other, TensorShape):

Callers

nothing calls this directly

Calls 2

concatenateMethod · 0.95
TensorShapeClass · 0.70

Tested by

no test coverage detected