Update app.py
Browse files
app.py
CHANGED
|
@@ -203,7 +203,7 @@ def predict(dim1, dim2):
|
|
| 203 |
out += "the output is a single value, think : \n"
|
| 204 |
out += matrix_loop
|
| 205 |
else:
|
| 206 |
-
out += "# One of the
|
| 207 |
out += "In this case we need to assert that the last dimension of `t1` "
|
| 208 |
out += "is equal to the last dimension of `t2`\n"
|
| 209 |
out += "Once the assertion is valid then we get rid of the last dimension and keep the rest\n"
|
|
|
|
| 203 |
out += "the output is a single value, think : \n"
|
| 204 |
out += matrix_loop
|
| 205 |
else:
|
| 206 |
+
out += "# One of the tensors has a single dimension\n"
|
| 207 |
out += "In this case we need to assert that the last dimension of `t1` "
|
| 208 |
out += "is equal to the last dimension of `t2`\n"
|
| 209 |
out += "Once the assertion is valid then we get rid of the last dimension and keep the rest\n"
|