<p dir="auto">This is not a bug but a small mistake in the API:<br>
The <a href="https://www.tensorflow.org/versions/r0.11/api_docs/python/state_ops.html#assign" rel="nofollow">documentation </a> says "use_locking" defaults to <em>None</em> in <strong>tf.assign</strong>.<br>
That parameter is a boolean, so <em>None</em> would not make a lot of sense. In any case, the source code makes it clear the default value is actually <em>False</em> (file: tensorflow/tensorflow/python/ops/variables.py)</p>
<p dir="auto">I do not know if this is the case with other boolean default arguments in other functions, but I wanted to point it out.</p>
<p dir="auto"><strong>i am getting include file issue, have installed latest zlib1g-dev, but no luck</strong> any help will be appreciated</p>
<p dir="auto"><strong>Bazel binaries built from source V0.3.2,</strong><br>
<strong>TF command:  bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package</strong></p>
<p dir="auto">ERROR is ERROR: tensorflow/core/BUILD:853:1: undeclared inclusion(s) in rule '//tensorflow/core:lib_internal':<br>
this rule is missing dependency declarations for the following files included by 'tensorflow/core/lib/png/png_io.cc':<br>
~/.cache/bazel/_bazel_madhu/a9aabe45cf3d94341ef4fb777deb58c5/external/zlib_archive/zlib.h'<br>
~/.cache/bazel/_bazel_madhu/a9aabe45cf3d94341ef4fb777deb58c5/external/zlib_archive/zconf.h'."</p>
<p dir="auto">**output from echo | gcc -E -xc++ - -v **</p>
<p dir="auto">Using built-in specs.<br>
COLLECT_GCC=gcc<br>
Target: x86_64-linux-gnu<br>
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1<del>16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1</del>16.04.4)<br>
COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'<br>
/usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE - -mtune=generic -march=x86-64 -fstack-protector-strong -Wformat -Wformat-security<br>
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/5"<br>
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"<br>
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include"<br>
#include "..." search starts here:<br>
#include &lt;...&gt; search starts here:<br>
/usr/include/c++/5<br>
/usr/include/x86_64-linux-gnu/c++/5<br>
/usr/include/c++/5/backward<br>
/usr/lib/gcc/x86_64-linux-gnu/5/include<br>
/usr/local/include<br>
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed<br>
/usr/include/x86_64-linux-gnu<br>
/usr/include<br>
End of search list.</p>
<h1 dir="auto">1 ""</h1>
<h1 dir="auto">1 ""</h1>
<h1 dir="auto">1 ""</h1>
<h1 dir="auto">1 "/usr/include/stdc-predef.h" 1 3 4</h1>
<h1 dir="auto">1 "" 2</h1>
<h1 dir="auto">1 ""</h1>
<p dir="auto">COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/<br>
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/<br>
COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'</p>