You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ You can reshape a given tensor dynamically using tf.reshape function:
137
137
```python
138
138
a = tf.reshape(a, [32, 128])
139
139
```
140
-
Note that attempts to feed 'a' with values that don't match its shape, will raise InvalidArgumentError exception.
140
+
Note that attempts to feed 'a' with tensors with a different total number of elements, will raise an InvalidArgumentError exception.
141
141
142
142
It can be convenient to have a function that returns the static shape when available and dynamic shape when it's not. The following utility function does just that:
0 commit comments