This is an automated email from the ASF dual-hosted git repository.
jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 7fb34a1 Added comment for clarity that numpy.ndarray.flatten behaves
differently than nd.flatten (#9748)
7fb34a1 is described below
Author: Sina Afrooze <sina....@gmail.com>
AuthorDate: Fri Feb 9 10:51:57 2018 -0800
Added comment for clarity that numpy.ndarray.flatten behaves differently
than nd.flatten (#9748)
src/operator/tensor/matrix_op.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/operator/tensor/matrix_op.cc b/src/operator/tensor/matrix_op.cc
index 7439fb4..06478ca 100644
@@ -191,6 +191,9 @@ NNVM_REGISTER_OP(Flatten)
For an input array with shape ``(d1, d2, ..., dk)``, `flatten` operation
the input array into an output array of shape ``(d1, d2*...*dk)``.
+Note that the bahavior of this function is different from
+which behaves similar to mxnet.ndarray.reshape((-1,)).
x = [[
To stop receiving notification emails like this one, please contact