tensorflow_federated on TX2?

Hi all,

Have anyone tried compiling tensorflow_federated on TX2?
can you please share the steps for the same?

Best,
Krishna

error log:

(venv) jetson@jetson-desktop:~/federated$ /usr/local/bin/bazel test //tensorflow_federated/…
WARNING: ignoring LD_PRELOAD in environment.
Starting local Bazel server and connecting to it…
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/python/BUILD:2986:1: in py_library rule @org_tensorflow//tensorflow/python:standard_ops: target ‘@org_tensorflow//tensorflow/python:standard_ops’ depends on deprecated target ‘@org_tensorflow//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule @org_tensorflow//tensorflow/contrib/gan:losses_impl: target ‘@org_tensorflow//tensorflow/contrib/gan:losses_impl’ depends on deprecated target ‘@org_tensorflow//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule @org_tensorflow//tensorflow/contrib/metrics:metrics_py: target ‘@org_tensorflow//tensorflow/contrib/metrics:metrics_py’ depends on deprecated target ‘@org_tensorflow//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/python/BUILD:77:1: in py_library rule @org_tensorflow//tensorflow/python:no_contrib: target ‘@org_tensorflow//tensorflow/python:no_contrib’ depends on deprecated target ‘@org_tensorflow//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule @org_tensorflow//tensorflow/contrib/learn:learn: target ‘@org_tensorflow//tensorflow/contrib/learn:learn’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/session_bundle:exporter’: No longer supported. Switch to SavedModel immediately.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule @org_tensorflow//tensorflow/contrib/learn:learn: target ‘@org_tensorflow//tensorflow/contrib/learn:learn’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/session_bundle:gc’: No longer supported. Switch to SavedModel immediately.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule @org_tensorflow//tensorflow/contrib/bayesflow:bayesflow_py: target ‘@org_tensorflow//tensorflow/contrib/bayesflow:bayesflow_py’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule @org_tensorflow//tensorflow/contrib/timeseries/python/timeseries:ar_model: target ‘@org_tensorflow//tensorflow/contrib/timeseries/python/timeseries:ar_model’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule @org_tensorflow//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target ‘@org_tensorflow//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule @org_tensorflow//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target ‘@org_tensorflow//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule @org_tensorflow//tensorflow/contrib/seq2seq:seq2seq_py: target ‘@org_tensorflow//tensorflow/contrib/seq2seq:seq2seq_py’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule @org_tensorflow//tensorflow/contrib/seq2seq:seq2seq_py: target ‘@org_tensorflow//tensorflow/contrib/seq2seq:seq2seq_py’ depends on deprecated target ‘@org_tensorflow//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/jetson/.cache/bazel/_bazel_jetson/821c7caba545edb3f08e3b73419b0853/external/org_tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule @org_tensorflow//tensorflow/contrib:contrib_py: target ‘@org_tensorflow//tensorflow/contrib:contrib_py’ depends on deprecated target ‘@org_tensorflow//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
INFO: Analysed 120 targets (326 packages loaded, 16103 targets configured).
INFO: Found 74 targets and 46 test targets…
INFO: From ProtoCompile external/org_tensorflow/tensorflow/contrib/boosted_trees/proto/tree_config.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/contrib/boosted_trees/proto/split_info.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/python/saved_model/saved_object_graph_pb2.py:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/contrib/boosted_trees/proto/learner.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/core/lib/core/error_codes.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/core/example/example.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.cc:
In file included from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:24:0,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.cc:15:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:68:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (order.size() != dims) {
~^
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:72:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (shape.size() != dims) {
~^
INFO: From ProtoCompile external/org_tensorflow/tensorflow/contrib/boosted_trees/proto/quantiles.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.cc:
In file included from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:24:0,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.cc:16:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:68:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (order.size() != dims) {
~^
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:72:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (shape.size() != dims) {
~^
In file included from external/org_tensorflow/tensorflow/core/lib/gtl/array_slice.h:19:0,
from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:26,
from external/org_tensorflow/tensorflow/core/framework/tensor.h:23,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:22,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.cc:16:
external/com_google_absl/absl/types/span.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, const tensorflow::TensorShape&, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
external/com_google_absl/absl/types/span.h:416:59: warning: ‘dims’ may be used uninitialized in this function [-Wmaybe-uninitialized]
constexpr iterator end() const noexcept { return data() + size(); }
~^~
In file included from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:24:0,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.cc:16:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:66:9: note: ‘dims’ was declared here
int dims;
^
~
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc: In static member function ‘static tensorflow::Status tensorflow::boosted_trees::utils::DropoutUtils::DropOutTrees(tensorflow::uint64, const tensorflow::boosted_trees::learner::LearningRateDropoutDrivenConfig&, const std::unordered_set&, const std::vector&, std::vector, std::vector)’:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc:85:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int32 i = 0; i < num_trees; ++i) {
^

external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc: In static member function ‘static void tensorflow::boosted_trees::utils::DropoutUtils::GetTreesWeightsForAddingTrees(const std::vector&, const std::vector&, tensorflow::int32, tensorflow::int32, std::vector, std::vector)’:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc:127:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (new_tree_index < current_weights->size()) {
~^

external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/dropout_utils.cc:139:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int32 i = 0; i < dropped_trees.size(); ++i) {
^
~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.cc:
In file included from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:24:0,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.h:20,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.cc:15:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:68:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (order.size() != dims) {
~^
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:72:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (shape.size() != dims) {
~^
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.cc: In lambda function:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.cc:66:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t logit_dim = 0; logit_dim < leaf.index_size();
^

external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/models/multiple_additive_trees.cc:75:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < leaf.value_size(); ++i) {
^
~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/prediction_ops.cc:
In file included from external/org_tensorflow/tensorflow/core/platform/tensor_coding.h:21:0,
from external/org_tensorflow/tensorflow/core/framework/resource_handle.h:19,
from external/org_tensorflow/tensorflow/core/framework/allocator.h:24,
from external/org_tensorflow/tensorflow/core/framework/tensor.h:22,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:22,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/example_partitioner.h:20,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/prediction_ops.cc:19:
external/org_tensorflow/tensorflow/core/lib/core/refcount.h: In member function ‘virtual void tensorflow::boosted_trees::GradientTreesPredictionOp::Compute(tensorflow::OpKernelContext*)’:
external/org_tensorflow/tensorflow/core/lib/core/refcount.h:104:12: warning: ‘ensemble_resource’ may be used uninitialized in this function [-Wmaybe-uninitialized]
delete this;
^~~~
external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/prediction_ops.cc:166:35: note: ‘ensemble_resource’ was declared here
DecisionTreeEnsembleResource* ensemble_resource;
^~~~~~~~~~~~~~~~~
In file included from external/org_tensorflow/tensorflow/core/platform/tensor_coding.h:21:0,
from external/org_tensorflow/tensorflow/core/framework/resource_handle.h:19,
from external/org_tensorflow/tensorflow/core/framework/allocator.h:24,
from external/org_tensorflow/tensorflow/core/framework/tensor.h:22,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:22,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/example_partitioner.h:20,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/prediction_ops.cc:19:
external/org_tensorflow/tensorflow/core/lib/core/refcount.h: In member function ‘virtual void tensorflow::boosted_trees::GradientTreesPartitionExamplesOp::Compute(tensorflow::OpKernelContext*)’:
external/org_tensorflow/tensorflow/core/lib/core/refcount.h:104:12: warning: ‘ensemble_resource’ may be used uninitialized in this function [-Wmaybe-uninitialized]
delete this;
^~~~
external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/prediction_ops.cc:375:35: note: ‘ensemble_resource’ was declared here
DecisionTreeEnsembleResource* ensemble_resource;
^~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/trees/decision_tree.cc:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/trees/decision_tree.cc: In static member function ‘static std::vector tensorflow::boosted_trees::trees::DecisionTree::GetChildren(const tensorflow::boosted_trees::trees::TreeNode&)’:
external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/trees/decision_tree.cc:251:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/example_partitioner.cc:
In file included from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/examples_iterable.h:24:0,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/utils/batch_features.h:19,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/example_partitioner.h:20,
from external/org_tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/example_partitioner.cc:15:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:68:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (order.size() != dims) {
~^
external/org_tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:72:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (shape.size() != dims) {
~^
INFO: From Compiling external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/split_handler_ops.cc:
external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/split_handler_ops.cc: In member function ‘virtual void tensorflow::BuildSparseInequalitySplitsOp::Compute(tensorflow::OpKernelContext*)’:
external/org_tensorflow/tensorflow/contrib/boosted_trees/kernels/split_handler_ops.cc:541:13: warning: variable ‘best_dimension_idx’ set but not used [-Wunused-but-set-variable]
int32 best_dimension_idx = 0;
^
~~~~~
INFO: From ProtoCompile external/org_tensorflow/tensorflow/python/saved_model/saved_object_graph_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From ProtoCompile external/protobuf_archive/python/google/protobuf/any_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
INFO: From Compiling external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc [for host]:
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc: In function ‘std::__cxx11::string tensorflow::{anonymous}::VectorToTuple(const std::vector<std::__cxx11::basic_string >&)’:
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:65:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < l.size(); ++i) {
^~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc: In function 'void tensorflow::{anonymous}::Unflatten(const string&, const std::vector<std::__cxx11::basic_string >&, const string&, std::_cxx11::string*)’:
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:77:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < output_sizes.size(); ++i) {
^~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:81:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + 1 < output_sizes.size()) {
^~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc: In member function 'virtual std::cxx11::string tensorflow::{anonymous}::GenEagerPythonOp::Code()’:
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:294:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = op_def
.input_arg_size(); i < params_no_default
.size(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:322:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < attrs
.size(); ++i) {
^~~~~~~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc: In member function 'bool tensorflow::{anonymous}::GenEagerPythonOp::GetEagerFunctionSetup(const string&, std::cxx11::string*)’:
external/org_tensorflow/tensorflow/python/framework/python_op_gen.cc:473:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < attrs
.size(); ++i) {
^~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/python/framework/fast_tensor_util.cpp [for host]:
In file included from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/ndarraytypes.h:1822:0,
from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/ndarrayobject.h:12,
from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/arrayobject.h:4,
from bazel-out/host/genfiles/external/org_tensorflow/tensorflow/python/framework/fast_tensor_util.cpp:581:
bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " “#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/python/framework/python_op_gen_internal.cc [for host]:
external/org_tensorflow/tensorflow/python/framework/python_op_gen_internal.cc: In member function 'virtual std::cxx11::string tensorflow::python_op_gen_internal::GenPythonOp::Code()’:
external/org_tensorflow/tensorflow/python/framework/python_op_gen_internal.cc:545:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = op_def
.input_arg_size(); i < params_no_default.size(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/python/framework/python_op_gen_internal.cc:548:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < params_with_default.size(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From ProtoCompile external/org_tensorflow/tensorflow/core/profiler/profile_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/lite/toco/types.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/org_tensorflow/tensorflow/core/ops/array_ops.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:22:0,
from external/org_tensorflow/tensorflow/core/ops/array_ops.cc:16:
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In function ‘int tensorflow::GetTensorDimsFromSpatialDims(int, tensorflow::TensorFormat)’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:148:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
INFO: From ProtoCompile external/org_tensorflow/tensorflow/core/grappler/costs/op_performance_data.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/lite/toco/toco_flags.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/org_tensorflow/tensorflow/lite/toco/model_flags.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/snappy/snappy-sinksource.cc [for host]:
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
INFO: From ProtoCompile external/org_tensorflow/tensorflow/stream_executor/dnn.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/org_tensorflow/tensorflow/core/common_runtime/gpu/gpu_process_state.cc [for host]:
external/org_tensorflow/tensorflow/core/common_runtime/gpu/gpu_process_state.cc:50:6: warning: ‘bool tensorflow::{anonymous}::useCudaMemoryGuardAllocator()’ defined but not used [-Wunused-function]
bool useCudaMemoryGuardAllocator() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/common_runtime/gpu/gpu_process_state.cc:44:6: warning: ‘bool tensorflow::{anonymous}::useCudaMallocAllocator()’ defined but not used [-Wunused-function]
bool useCudaMallocAllocator() {
^~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.cc [for host]:
external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.cc: In member function ‘void* stream_executor::StreamExecutor::Allocate(tensorflow::uint64)’:
external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.cc:477:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mem_alloc_bytes
+ size > memory_limit_bytes
) {
^
In file included from external/org_tensorflow/tensorflow/core/platform/default/logging.h:24:0,
from external/org_tensorflow/tensorflow/core/platform/logging.h:25,
from external/org_tensorflow/tensorflow/core/lib/core/status.h:25,
from external/org_tensorflow/tensorflow/stream_executor/lib/status.h:22,
from external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.h:26,
from external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.cc:20:
external/org_tensorflow/tensorflow/core/platform/default/logging.h: In instantiation of 'std::__cxx11::string* tensorflow::internal::Check_EQImpl(const T1&, const T2&, const char*) [with T1 = int; T2 = long long unsigned int; std::__cxx11::string = std::cxx11::basic_string]’:
external/org_tensorflow/tensorflow/stream_executor/stream_executor_pimpl.cc:713:3: required from here
external/org_tensorflow/tensorflow/core/platform/default/logging.h:260:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
==) // Compilation error with CHECK_EQ(NULL, x)?
external/org_tensorflow/tensorflow/core/platform/macros.h:88:49: note: in definition of macro ‘TF_PREDICT_TRUE’
#define TF_PREDICT_TRUE(x) (builtin_expect(!!(x), 1))
^
external/org_tensorflow/tensorflow/core/platform/default/logging.h:259:1: note: in expansion of macro ‘TF_DEFINE_CHECK_OP_IMPL’
TF_DEFINE_CHECK_OP_IMPL(Check_EQ,
^
~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/stream_executor/stream.cc [for host]:
external/org_tensorflow/tensorflow/stream_executor/stream.cc: In member function ‘stream_executor::Stream* stream_executor::Stream::GetOrCreateSubStream()’:
external/org_tensorflow/tensorflow/stream_executor/stream.cc:1970:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int64 index = 0; index < sub_streams.size();) {
^~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/stream_executor/stream.cc: In member function ‘void stream_executor::Stream::ReturnSubStream(stream_executor::Stream*)’:
external/org_tensorflow/tensorflow/stream_executor/stream.cc:2016:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int64 index = 0; index < sub_streams.size(); ++index) {
^~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/core/grappler/grappler_item.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/grappler/grappler_item.cc:27:0:
external/org_tensorflow/tensorflow/core/grappler/utils.h: In function ‘int tensorflow::grappler::NodePositionIfSameNode(const string&, const string&)’:
external/org_tensorflow/tensorflow/core/grappler/utils.h:130:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
std::distance(input_it, input_name.end()) < node_name.size()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~^~
INFO: From Compiling external/org_tensorflow/tensorflow/core/grappler/op_types.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/grappler/op_types.cc:20:0:
external/org_tensorflow/tensorflow/core/grappler/utils.h: In function ‘int tensorflow::grappler::NodePositionIfSameNode(const string&, const string&)’:
external/org_tensorflow/tensorflow/core/grappler/utils.h:130:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
std::distance(input_it, input_name.end()) < node_name.size()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~^~
INFO: From Compiling external/snappy/snappy.cc [for host]:
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
INFO: From Compiling external/org_tensorflow/tensorflow/core/platform/platform_strings.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/platform/platform_strings.cc:16:0:
external/org_tensorflow/tensorflow/core/platform/platform_strings.h:96:1: warning: multi-line comment [-Wcomment]
// #define TF_PLAT_STR(x)
^
INFO: From Compiling external/org_tensorflow/tensorflow/core/framework/op_kernel.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/framework/op_kernel.cc:46:0:
external/org_tensorflow/tensorflow/core/platform/platform_strings.h:96:1: warning: multi-line comment [-Wcomment]
// #define TF_PLAT_STR(x)
^
INFO: From Compiling external/org_tensorflow/tensorflow/core/framework/common_shape_fns.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:22:0,
from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.cc:15:
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In function ‘int tensorflow::GetTensorDimsFromSpatialDims(int, tensorflow::TensorFormat)’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:148:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In function ‘int tensorflow::GetTensorSpatialDims(int, tensorflow::TensorFormat)’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:124:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
INFO: From Compiling external/org_tensorflow/tensorflow/core/lib/strings/numbers.cc [for host]:
external/org_tensorflow/tensorflow/core/lib/strings/numbers.cc: In function ‘std::__cxx11::string tensorflow::strings::HumanReadableNumBytes(tensorflow::int64)’:
external/org_tensorflow/tensorflow/core/lib/strings/numbers.cc:459:8: warning: ‘%lld’ directive output may be truncated writing between 1 and 19 bytes into a region of size between 7 and 8 [-Wformat-truncation=]
string HumanReadableNumBytes(int64 num_bytes) {
^~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/lib/strings/numbers.cc:459:8: note: directive argument in the range [0, 9223372036854775807]
In file included from /usr/include/stdio.h:862:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6361,
from /usr/include/c++/7/string:52,
from external/org_tensorflow/tensorflow/core/lib/strings/numbers.h:19,
from external/org_tensorflow/tensorflow/core/lib/strings/numbers.cc:15:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:65:44: note: '_builtin_snprintf’ output between 3 and 22 bytes into a destination of size 8
bos (s), fmt, va_arg_pack ());
^
INFO: From Compiling external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc [for host]:
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc: In function ‘void tensorflow::testing::InstallStacktraceHandler()’:
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:118:7: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, buf, strlen(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:125:7: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, buf, strlen(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc: In function ‘void tensorflow::testing::StacktraceHandler(int, siginfo_t*, void*)’:
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:80:3: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, buf, strlen(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:90:3: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, stacktrace.c_str(), stacktrace.length());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc: In function ‘void tensorflow::testing::SafePrintStackTrace()’:
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:47:3: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, begin_msg, strlen(begin_msg));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/core/platform/stacktrace_handler.cc:58:3: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(STDERR_FILENO, end_msg, strlen(end_msg));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/core/grappler/utils.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/grappler/utils.cc:16:0:
external/org_tensorflow/tensorflow/core/grappler/utils.h: In function ‘int tensorflow::grappler::NodePositionIfSameNode(const string&, const string&)’:
external/org_tensorflow/tensorflow/core/grappler/utils.h:130:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
std::distance(input_it, input_name.end()) < node_name.size()) {
^~
external/org_tensorflow/tensorflow/core/grappler/utils.cc: In function ‘void tensorflow::grappler::PermuteNodesInPlace(tensorflow::GraphDef*, std::vector*, bool)’:
external/org_tensorflow/tensorflow/core/grappler/utils.cc:337:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (n != (*permutation)[n]) {
external/org_tensorflow/tensorflow/core/grappler/utils.cc: In member function ‘std::__cxx11::string tensorflow::grappler::SimpleGraphView::PrintToString() const’:
external/org_tensorflow/tensorflow/core/grappler/utils.cc:510:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < outputs(i).size(); ++j) {
^

INFO: From Compiling external/highwayhash/highwayhash/sip_hash.cc [for host]:
In file included from external/highwayhash/highwayhash/arch_specific.h:39:0,
from external/highwayhash/highwayhash/sip_hash.h:23,
from external/highwayhash/highwayhash/sip_hash.cc:15:
external/highwayhash/highwayhash/state_helpers.h: In function ‘void highwayhash::PaddedUpdate(highwayhash::HH_U64, const char*, highwayhash::HH_U64, State*)’:
external/highwayhash/highwayhash/compiler_specific.h:52:46: warning: requested alignment 32 is larger than 16 [-Wattributes]
#define HH_ALIGNAS(multiple) alignas(multiple) // C++11
^
external/highwayhash/highwayhash/state_helpers.h:49:41: note: in expansion of macro ‘HH_ALIGNAS’
char final_packet[State::kPacketSize] HH_ALIGNAS(32) = {0};
^
~
INFO: From Compiling external/org_tensorflow/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc [for host]:
external/org_tensorflow/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc: In member function ‘int tensorflow::HierarchicalTreeBroadcaster::GetDeviceTask(int, const std::vector&)’:
external/org_tensorflow/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc:72:17: warning: ‘task_hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
<< " devices";
^
~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/core/kernels/initializable_lookup_table.cc [for host]:
In file included from external/org_tensorflow/tensorflow/core/platform/default/logging.h:24:0,
from external/org_tensorflow/tensorflow/core/platform/logging.h:25,
from external/org_tensorflow/tensorflow/core/lib/core/status.h:25,
from external/org_tensorflow/tensorflow/core/lib/core/errors.h:21,
from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:23,
from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,
from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,
from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:22,
from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,
from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,
from external/org_tensorflow/tensorflow/core/framework/resource_mgr.h:25,
from external/org_tensorflow/tensorflow/core/framework/lookup_interface.h:19,
from external/org_tensorflow/tensorflow/core/kernels/initializable_lookup_table.h:19,
from external/org_tensorflow/tensorflow/core/kernels/initializable_lookup_table.cc:16:
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In instantiation of ‘T tensorflow::GetTensorDim(tensorflow::gtl::ArraySlice, tensorflow::TensorFormat, char) [with T = long long int; tensorflow::gtl::ArraySlice = absl::Span]’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:452:47: required from here
external/org_tensorflow/tensorflow/core/util/tensor_format.h:420:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attributes.size())
external/org_tensorflow/tensorflow/core/platform/macros.h:87:47: note: in definition of macro ‘TF_PREDICT_FALSE’
#define TF_PREDICT_FALSE(x) (builtin_expect(x, 0))
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h:420:3: note: in expansion of macro ‘CHECK’
CHECK(index >= 0 && index < dimension_attributes.size())
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In instantiation of ‘T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice, tensorflow::FilterTensorFormat, char) [with T = long long int; tensorflow::gtl::ArraySlice = absl::Span]’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:461:54: required from here
external/org_tensorflow/tensorflow/core/util/tensor_format.h:435:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attribute.size())
external/org_tensorflow/tensorflow/core/platform/macros.h:87:47: note: in definition of macro ‘TF_PREDICT_FALSE’
#define TF_PREDICT_FALSE(x) (builtin_expect(x, 0))
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h:435:3: note: in expansion of macro ‘CHECK’
CHECK(index >= 0 && index < dimension_attribute.size())
^
INFO: From Compiling external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc [for host]:
external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc: In member function ‘virtual void tensorflow::lookup::{anonymous}::TextFileLineIterator::Next()’:
external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc:133:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (std::max(key_index
, value_index
) >= tokens.size()) {
~^~
In file included from external/org_tensorflow/tensorflow/core/platform/default/logging.h:24:0,
from external/org_tensorflow/tensorflow/core/platform/logging.h:25,
from external/org_tensorflow/tensorflow/core/lib/core/status.h:25,
from external/org_tensorflow/tensorflow/core/lib/core/errors.h:21,
from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:23,
from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,
from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,
from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:22,
from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,
from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,
from external/org_tensorflow/tensorflow/core/framework/resource_mgr.h:25,
from external/org_tensorflow/tensorflow/core/framework/lookup_interface.h:19,
from external/org_tensorflow/tensorflow/core/kernels/lookup_util.h:19,
from external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc:16:
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In instantiation of ‘T tensorflow::GetTensorDim(tensorflow::gtl::ArraySlice, tensorflow::TensorFormat, char) [with T = long long int; tensorflow::gtl::ArraySlice = absl::Span]’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:452:47: required from here
external/org_tensorflow/tensorflow/core/util/tensor_format.h:420:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attributes.size())
external/org_tensorflow/tensorflow/core/platform/macros.h:87:47: note: in definition of macro ‘TF_PREDICT_FALSE’
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h:420:3: note: in expansion of macro ‘CHECK’
CHECK(index >= 0 && index < dimension_attributes.size())
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h: In instantiation of ‘T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice, tensorflow::FilterTensorFormat, char) [with T = long long int; tensorflow::gtl::ArraySlice = absl::Span]’:
external/org_tensorflow/tensorflow/core/util/tensor_format.h:461:54: required from here
external/org_tensorflow/tensorflow/core/util/tensor_format.h:435:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attribute.size())
external/org_tensorflow/tensorflow/core/platform/macros.h:87:47: note: in definition of macro ‘TF_PREDICT_FALSE’
#define TF_PREDICT_FALSE(x) (_builtin_expect(x, 0))
^
external/org_tensorflow/tensorflow/core/util/tensor_format.h:435:3: note: in expansion of macro ‘CHECK’
CHECK(index >= 0 && index < dimension_attribute.size())
^
external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc: In member function ‘virtual tensorflow::int64 tensorflow::lookup::{anonymous}::TextFileLineIterator::total_size() const’:
external/org_tensorflow/tensorflow/core/kernels/lookup_util.cc:172:41: warning: ‘new_size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
const_cast<int64>(&vocab_size
) = new_size;
^~
INFO: From Compiling external/org_tensorflow/tensorflow/core/protobuf/config.pb_text.cc [for host]:
bazel-out/host/genfiles/external/org_tensorflow/tensorflow/core/protobuf/config.pb_text.cc: In function ‘bool tensorflow::internal::ProtoParseFromScanner(tensorflow::strings::Scanner*, bool, bool, tensorflow::ConfigProto*)’:
bazel-out/host/genfiles/external/org_tensorflow/tensorflow/core/protobuf/config.pb_text.cc:891:23: warning: ‘map_value’ may be used uninitialized in this function [-Wmaybe-uninitialized]
(*map)[map_key] = map_value;
bazel-out/host/genfiles/external/org_tensorflow/tensorflow/core/protobuf/config.pb_text.cc:882:9: note: ‘map_value’ was declared here
int32 map_value;
^

INFO: From Compiling external/snappy/snappy-stubs-internal.cc [for host]:
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
INFO: From Compiling external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc [for host]:
external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc:30:6: warning: ‘void tensorflow::port::{anonymous}::CheckFeatureOrDie(tensorflow::port::CPUFeature, const string&)’ defined but not used [-Wunused-function]
void CheckFeatureOrDie(CPUFeature feature, const string& feature_name) {
^

INFO: From Compiling external/org_tensorflow/tensorflow/lite/c/c_api_internal.c [for host]:
In file included from external/org_tensorflow/tensorflow/lite/c/c_api_internal.c:16:0:
external/org_tensorflow/tensorflow/lite/c/c_api_internal.h:60:34: warning: ‘struct TfLiteContext’ declared inside parameter list will not be visible outside of this definition or declaration
TfLiteStatus (Refresh)(struct TfLiteContext context);
^

INFO: From Compiling external/org_tensorflow/tensorflow/lite/kernels/internal/mfcc.cc [for host]:
external/org_tensorflow/tensorflow/lite/kernels/internal/mfcc.cc: In member function ‘void tflite::internal::Mfcc::Compute(const std::vector&, std::vector*) const’:
external/org_tensorflow/tensorflow/lite/kernels/internal/mfcc.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < working.size(); ++i) {
^
~~~
INFO: From Compiling external/org_tensorflow/tensorflow/lite/arena_planner.cc [for host]:
external/org_tensorflow/tensorflow/lite/arena_planner.cc: In member function ‘virtual TfLiteStatus tflite::ArenaPlanner::PlanAllocations()’:
external/org_tensorflow/tensorflow/lite/arena_planner.cc:133:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info
->num_nodes(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/arena_planner.cc:151:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info
->num_nodes(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/arena_planner.cc: In member function ‘virtual TfLiteStatus tflite::ArenaPlanner::ExecuteAllocations(int, int)’:
external/org_tensorflow/tensorflow/lite/arena_planner.cc:191:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info
->num_tensors(); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/arena_planner.cc: In member function ‘TfLiteStatus tflite::ArenaPlanner::CalculateAllocationOfInternalTensors(int)’:
external/org_tensorflow/tensorflow/lite/arena_planner.cc:282:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node_index < graph_info
->num_nodes()) {
~^~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/arena_planner.cc: In member function ‘TfLiteStatus tflite::ArenaPlanner::CalculateDeallocationOfInternalTensors(int)’:
external/org_tensorflow/tensorflow/lite/arena_planner.cc:295:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node_index < graph_info
->num_nodes()) {
~^~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/lite/string_util.cc [for host]:
external/org_tensorflow/tensorflow/lite/string_util.cc: In member function ‘int tflite::DynamicBuffer::WriteToBuffer(char**)’:
external/org_tensorflow/tensorflow/lite/string_util.cc:89:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < offset
.size(); i++) {
^~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc [for host]:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In member function 'std::cxx11::string tflite::interpreter_wrapper::InterpreterWrapper::TensorName(int) const’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:292:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!interpreter
|| i >= interpreter
->tensors_size() || i < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In member function ‘PyObject* tflite::interpreter_wrapper::InterpreterWrapper::TensorType(int) const’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:47:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= interpreter
->tensors_size() || i < 0) {
^
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:302:3: note: in expansion of macro ‘TFLITE_PY_TENSOR_BOUNDS_CHECK’
TFLITE_PY_TENSOR_BOUNDS_CHECK(i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In member function ‘PyObject* tflite::interpreter_wrapper::InterpreterWrapper::TensorSize(int) const’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:47:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= interpreter
->tensors_size() || i < 0) {
^
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:320:3: note: in expansion of macro ‘TFLITE_PY_TENSOR_BOUNDS_CHECK’
TFLITE_PY_TENSOR_BOUNDS_CHECK(i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In member function ‘PyObject* tflite::interpreter_wrapper::InterpreterWrapper::TensorQuantization(int) const’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:47:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= interpreter
->tensors_size() || i < 0) {
^
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:335:3: note: in expansion of macro ‘TFLITE_PY_TENSOR_BOUNDS_CHECK’
TFLITE_PY_TENSOR_BOUNDS_CHECK(i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In member function ‘PyObject* tflite::interpreter_wrapper::InterpreterWrapper::SetTensor(int, PyObject*)’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:47:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= interpreter
->tensors_size() || i < 0) {
^
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:342:3: note: in expansion of macro ‘TFLITE_PY_TENSOR_BOUNDS_CHECK’
TFLITE_PY_TENSOR_BOUNDS_CHECK(i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc: In function ‘PyObject* tflite::interpreter_wrapper::{anonymous}::CheckGetTensorArgs(tflite::Interpreter*, int, TfLiteTensor**, int*)’:
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:47:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= interpreter
->tensors_size() || i < 0) {
^
external/org_tensorflow/tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.cc:395:3: note: in expansion of macro ‘TFLITE_PY_TENSOR_BOUNDS_CHECK’
TFLITE_PY_TENSOR_BOUNDS_CHECK(tensor_index);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/lite/kernels/lstm.cc [for host]:
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc: In function ‘void* tflite::ops::builtin::lstm::Init(TfLiteContext*, const char*, size_t)’:
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc:746:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc: In function ‘TfLiteStatus tflite::ops::builtin::lstm::Prepare(TfLiteContext*, TfLiteNode*)’:
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc:761:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc: In function ‘TfLiteStatus tflite::ops::builtin::lstm::Eval(TfLiteContext*, TfLiteNode*)’:
external/org_tensorflow/tensorflow/lite/kernels/lstm.cc:771:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
INFO: From Compiling external/org_tensorflow/tensorflow/lite/kernels/slice.cc [for host]:
In file included from external/org_tensorflow/tensorflow/lite/c/builtin_op_data.h:20:0,
from external/org_tensorflow/tensorflow/lite/kernels/slice.cc:19:
external/org_tensorflow/tensorflow/lite/kernels/slice.cc: In function ‘TfLiteStatus tflite::ops::builtin::slice::Prepare(TfLiteContext*, TfLiteNode*)’:
external/org_tensorflow/tensorflow/lite/kernels/slice.cc:115:48: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
TF_LITE_ENSURE(context, NumDimensions(begin) == NumDimensions(size) == 1);
~^~
external/org_tensorflow/tensorflow/lite/c/c_api_internal.h:122:11: note: in definition of macro ‘TF_LITE_ENSURE’
if (!(a)) {
^
INFO: From Compiling external/org_tensorflow/tensorflow/lite/kernels/add.cc [for host]:
In file included from external/org_tensorflow/tensorflow/lite/kernels/add.cc:17:0:
external/org_tensorflow/tensorflow/lite/kernels/internal/optimized/optimized_ops.h: In function ‘TfLiteStatus tflite::ops::builtin::add::EvalAddQuantized(TfLiteContext*, TfLiteNode*, TfLiteAddParams*, const tflite::ops::builtin::add::OpData*, const TfLiteTensor*, const TfLiteTensor*, TfLiteTensor*) [with tflite::ops::builtin::add::KernelType kernel_type = (tflite::ops::builtin::add::KernelType)1]’:
external/org_tensorflow/tensorflow/lite/kernels/internal/optimized/optimized_ops.h:2520:68: warning: ‘input2_data_reset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
const int

Hi,

The log is pretty long.

Do you know where is the error message?
It looks like all are just warning information.

Thanks.