<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br>
No</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br>
Ubuntu 14.04</li>
<li><strong>TensorFlow installed from (source or binary)</strong>:<br>
binary</li>
<li><strong>TensorFlow version (use command below)</strong>:<br>
1.1</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>:<br>
8.0/5.1</li>
<li><strong>GPU model and memory</strong>:<br>
Titan X</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">Can you please update the scalar inputs to tf.image.sample_distorted_bounding_box to also be accepted as Tensors.  I am dynamically creating min_object_covered values (random values) but currently can not input them to the function</p>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li>Os version 4.4.4<br>
-sdk level 19</li>
</ul>
<h3 dir="auto">logcat:</h3>
<p dir="auto">07-26 15:01:59.429 6521-6521/? E/AndroidRuntime: FATAL EXCEPTION: main<br>
Process: al.omid.tfdroid, PID: 6521<br>
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" referenced by "libtensorflow_inference.so"...<br>
at java.lang.Runtime.loadLibrary(Runtime.java:364)<br>
at java.lang.System.loadLibrary(System.java:526)<br>
at al.omid.tfdroid.MainActivity.(MainActivity.java:28)<br>
at java.lang.Class.newInstanceImpl(Native Method)<br>
at java.lang.Class.newInstance(Class.java:1208)<br>
at android.app.Instrumentation.newActivity(Instrumentation.java:1061)<br>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2114)<br>
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)<br>
at android.app.ActivityThread.access$800(ActivityThread.java:143)<br>
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)<br>
at android.os.Handler.dispatchMessage(Handler.java:102)<br>
at android.os.Looper.loop(Looper.java:136)<br>
at android.app.ActivityThread.main(ActivityThread.java:5120)<br>
at java.lang.reflect.Method.invokeNative(Native Method)<br>
at java.lang.reflect.Method.invoke(Method.java:515)<br>
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)<br>
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)<br>
at dalvik.system.NativeStart.main(Native Method)<br>
07-26 15:02:01.179 6521-6521/al.omid.tfdroid W/System.err:     at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:94)</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Could  you pleas tell me how can I solve this ?  Is "libtensorflow_inference.so" usable for android devices of api level &lt; 20 ?</p>