<p dir="auto">The picture in tf.gather is wrong. It is P_5 in the <code class="notranslate">params</code> that should point to P_5 in <code class="notranslate">indices</code>.</p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No, using stock tensorflow</li>
<li>Python version: 2.7</li>
<li>Bazel version (if compiling from source): 0.22.0</li>
<li>GCC/Compiler version (if compiling from source): gcc version 8.2.0 (Debian 8.2.0-20)</li>
<li>CUDA/cuDNN version: No</li>
<li>GPU model and memory: No</li>
</ul>
<p dir="auto">== cat /etc/issue ===============================================<br>
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115886302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1">#1</a> SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux<br>
VERSION="18.04.1 LTS (Bionic Beaver)"<br>
VERSION_ID="18.04"<br>
VERSION_CODENAME=bionic</p>
<p dir="auto">== are we in docker =============================================<br>
No</p>
<p dir="auto">== compiler =====================================================<br>
c++ (Ubuntu 8.2.0-1ubuntu2~18.04) 8.2.0<br>
Copyright (C) 2018 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions.  There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p dir="auto">== uname -a ImportError: cannot import name cloud=====================================================<br>
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115886302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1">#1</a> SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux</p>
<p dir="auto">== check pips ===================================================<br>
numpy                         1.16.1<br>
protobuf                      3.6.1<br>
tensorflow                    1.12.0<br>
tensorflow-aarch64            1.2<br>
tensorflow-estimator          1.13.0rc0</p>
<p dir="auto">== check for virtualenv =========================================<br>
False</p>
<p dir="auto">== tensorflow import ============================================<br>
Limited tf.compat.v2.summary API due to missing TensorBoard installation<br>
tf.VERSION = 1.12.0<br>
tf.GIT_VERSION = v1.12.0-8122-g7328add9da<br>
tf.COMPILER_VERSION = v1.12.0-8122-g7328add9da<br>
Sanity check: array([1], dtype=int32)</p>
<p dir="auto">== env ==========================================================<br>
LD_LIBRARY_PATH is unset<br>
DYLD_LIBRARY_PATH is unset</p>
<p dir="auto">== nvidia-smi ===================================================<br>
./tf_env_collect.sh: line 105: nvidia-smi: command not found</p>
<p dir="auto">== cuda libs  ===================================================</p>
<p dir="auto">rock64@rockpro64:~/Documents$ python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"<br>
<strong>('v1.12.0-8122-g7328add9da', '1.12.0')</strong></p>
<p dir="auto">following is the error. NO module name cloud.</p>
<p dir="auto">File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/lazy_loader.py", line 44, in _load<br>
module = importlib.import_module(self.<strong>name</strong>)<br>
File "/usr/lib/python2.7/importlib/<strong>init</strong>.py", line 37, in import_module<br>
<strong>import</strong>(name)<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/<strong>init</strong>.py", line 31, in <br>
from tensorflow.contrib import cloud<br>
<strong>ImportError: cannot import name cloud</strong></p>