./tensorflow/core/framework/function.h:496:15: warning: 'tensorflow::unused_grad_4' defined but not used [-Wunused-variable]
static bool unused_grad_##ctr = SHOULD_REGISTER_OP_GRADIENT &&
^
./tensorflow/core/framework/function.h:493:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ'
REGISTER_OP_GRADIENT_UNIQ(ctr, name, fn)
^
./tensorflow/core/framework/function.h:487:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ_HELPER'
REGISTER_OP_GRADIENT_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/core/ops/nn_grad.cc:151:1: note: in expansion of macro 'REGISTER_OP_GRADIENT'
REGISTER_OP_GRADIENT("Conv2D", Conv2DGrad);
^
./tensorflow/core/framework/function.h:496:15: warning: 'tensorflow::unused_grad_5' defined but not used [-Wunused-variable]
static bool unused_grad_##ctr = SHOULD_REGISTER_OP_GRADIENT &&
^
./tensorflow/core/framework/function.h:493:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ'
REGISTER_OP_GRADIENT_UNIQ(ctr, name, fn)
^
./tensorflow/core/framework/function.h:487:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ_HELPER'
REGISTER_OP_GRADIENT_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/core/ops/nn_grad.cc:182:1: note: in expansion of macro 'REGISTER_OP_GRADIENT'
REGISTER_OP_GRADIENT("MaxPool", MaxPoolGrad);
^
./tensorflow/core/framework/function.h:496:15: warning: 'tensorflow::unused_grad_6' defined but not used [-Wunused-variable]
static bool unused_grad_##ctr = SHOULD_REGISTER_OP_GRADIENT &&
^
./tensorflow/core/framework/function.h:493:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ'
REGISTER_OP_GRADIENT_UNIQ(ctr, name, fn)
^
./tensorflow/core/framework/function.h:487:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ_HELPER'
REGISTER_OP_GRADIENT_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/core/ops/nn_grad.cc:208:1: note: in expansion of macro 'REGISTER_OP_GRADIENT'
REGISTER_OP_GRADIENT("AvgPool", AvgPoolGrad);
^
./tensorflow/core/framework/function.h:496:15: warning: 'tensorflow::unused_grad_7' defined but not used [-Wunused-variable]
static bool unused_grad_##ctr = SHOULD_REGISTER_OP_GRADIENT &&
^
./tensorflow/core/framework/function.h:493:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ'
REGISTER_OP_GRADIENT_UNIQ(ctr, name, fn)
^
./tensorflow/core/framework/function.h:487:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ_HELPER'
REGISTER_OP_GRADIENT_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/core/ops/nn_grad.cc:239:1: note: in expansion of macro 'REGISTER_OP_GRADIENT'
REGISTER_OP_GRADIENT("MaxPoolGrad", MaxPoolGradGrad);
^
./tensorflow/core/framework/function.h:496:15: warning: 'tensorflow::unused_grad_8' defined but not used [-Wunused-variable]
static bool unused_grad_##ctr = SHOULD_REGISTER_OP_GRADIENT &&
^
./tensorflow/core/framework/function.h:493:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ'
REGISTER_OP_GRADIENT_UNIQ(ctr, name, fn)
^
./tensorflow/core/framework/function.h:487:3: note: in expansion of macro 'REGISTER_OP_GRADIENT_UNIQ_HELPER'
REGISTER_OP_GRADIENT_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/core/ops/nn_grad.cc:260:1: note: in expansion of macro 'REGISTER_OP_GRADIENT'
REGISTER_OP_GRADIENT("BiasAdd", BiasAddGrad);
^
INFO: From Compiling tensorflow/core/grappler/optimizers/constant_folding.cc:
tensorflow/core/grappler/optimizers/constant_folding.cc: In member function 'tensorflow::Status tensorflow::grappler::ConstantFolding::EvaluateOneFoldable(const tensorflow::NodeDef&, std::vectortensorflow::NodeDef)':
tensorflow/core/grappler/optimizers/constant_folding.cc:233:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < output_tensors.size(); i++) {
^
tensorflow/core/grappler/optimizers/constant_folding.cc: In member function 'tensorflow::Status tensorflow::grappler::ConstantFolding::EvaluateNode(const tensorflow::NodeDef&, const TensorVector&, tensorflow::grappler::TensorVector)':
tensorflow/core/grappler/optimizers/constant_folding.cc:198:7: warning: 'num_outputs' may be used uninitialized in this function [-Wmaybe-uninitialized]
int num_outputs;
^
INFO: From Compiling tensorflow/stream_executor/stream_executor_pimpl.cc:
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/lib/core/status.h:24,
from ./tensorflow/stream_executor/lib/status.h:21,
from ./tensorflow/stream_executor/stream_executor_pimpl.h:25,
from tensorflow/stream_executor/stream_executor_pimpl.cc:20:
./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]':
tensorflow/stream_executor/stream_executor_pimpl.cc:616:3:   required from here
./tensorflow/core/platform/default/logging.h:228:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
== )  // Compilation error with CHECK_EQ(NULL, x)?
^
./tensorflow/core/platform/macros.h:76:29: note: in definition of macro 'TF_PREDICT_TRUE'
#define TF_PREDICT_TRUE(x) (x)
^
./tensorflow/core/platform/default/logging.h:227:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL'
TF_DEFINE_CHECK_OP_IMPL(Check_EQ,
^
INFO: From Compiling tensorflow/core/debug/debug_io_utils.cc:
tensorflow/core/debug/debug_io_utils.cc:396:15: warning: 'tensorflow::Status tensorflow::CloseDebugURL(const string&)' defined but not used [-Wunused-function]
static Status CloseDebugURL(const string& debug_url) { return Status::OK(); }
^
INFO: From Compiling tensorflow/core/kernels/captured_function.cc:
In file included from ./tensorflow/core/common_runtime/device.h:43:0,
from ./tensorflow/core/common_runtime/function.h:22,
from ./tensorflow/core/kernels/captured_function.h:21,
from tensorflow/core/kernels/captured_function.cc:15:
./tensorflow/core/framework/resource_mgr.h: In static member function 'static tensorflow::Status tensorflow::CapturedFunction::Create(tensorflow::OpKernelContext*, const tensorflow::NameAttrList*, int, std::vectortensorflow::Tensor, std::unique_ptrtensorflow::CapturedFunction)':
./tensorflow/core/framework/resource_mgr.h:352:64: warning: 'resource' may be used uninitialized in this function [-Wmaybe-uninitialized]
return DoCreate(container, MakeTypeIndex(), name, resource);
^
tensorflow/core/kernels/captured_function.cc:52:19: note: 'resource' was declared here
ResourceType resource;
^
tensorflow/core/kernels/captured_function.cc:76:7: note: in expansion of macro 'HANDLE_RESOURCE_TYPE'
HANDLE_RESOURCE_TYPE(Var);
^
In file included from ./tensorflow/core/common_runtime/device.h:43:0,
from ./tensorflow/core/common_runtime/function.h:22,
from ./tensorflow/core/kernels/captured_function.h:21,
from tensorflow/core/kernels/captured_function.cc:15:
./tensorflow/core/framework/resource_mgr.h:352:64: warning: 'resource' may be used uninitialized in this function [-Wmaybe-uninitialized]
return DoCreate(container, MakeTypeIndex(), name, resource);
^
tensorflow/core/kernels/captured_function.cc:52:19: note: 'resource' was declared here
ResourceType* resource;
^
tensorflow/core/kernels/captured_function.cc:75:7: note: in expansion of macro 'HANDLE_RESOURCE_TYPE'
HANDLE_RESOURCE_TYPE(QueueInterface);
^
In file included from ./tensorflow/core/common_runtime/device.h:43:0,
from ./tensorflow/core/common_runtime/function.h:22,
from ./tensorflow/core/kernels/captured_function.h:21,
from tensorflow/core/kernels/captured_function.cc:15:
./tensorflow/core/framework/resource_mgr.h:352:64: warning: 'resource' may be used uninitialized in this function [-Wmaybe-uninitialized]
return DoCreate(container, MakeTypeIndex(), name, resource);
^
tensorflow/core/kernels/captured_function.cc:52:19: note: 'resource' was declared here
ResourceType* resource;
^
tensorflow/core/kernels/captured_function.cc:74:7: note: in expansion of macro 'HANDLE_RESOURCE_TYPE'
HANDLE_RESOURCE_TYPE(lookup::LookupInterface);
^
INFO: From Compiling tensorflow/core/kernels/map_dataset_op.cc:
In file included from ./tensorflow/core/framework/tensor.h:28:0,
from ./tensorflow/core/framework/attr_value_util.h:23,
from ./tensorflow/core/framework/node_def_util.h:23,
from ./tensorflow/core/framework/shape_inference.h:21,
from ./tensorflow/core/framework/common_shape_fns.h:20,
from ./tensorflow/core/framework/resource_mgr.h:24,
from ./tensorflow/core/kernels/dataset.h:20,
from tensorflow/core/kernels/map_dataset_op.cc:15:
./tensorflow/core/lib/core/refcount.h: In member function 'virtual void tensorflow::{anonymous}::MapDatasetOp::Compute(tensorflow::OpKernelContext*)':
./tensorflow/core/lib/core/refcount.h:93:12: warning: 'input' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete this;
^
tensorflow/core/kernels/map_dataset_op.cc:41:18: note: 'input' was declared here
DatasetBase* input;
^
INFO: From Compiling tensorflow/core/kernels/filter_dataset_op.cc:
In file included from ./tensorflow/core/framework/tensor.h:28:0,
from ./tensorflow/core/framework/attr_value_util.h:23,
from ./tensorflow/core/framework/node_def_util.h:23,
from ./tensorflow/core/framework/shape_inference.h:21,
from ./tensorflow/core/framework/common_shape_fns.h:20,
from ./tensorflow/core/framework/resource_mgr.h:24,
from ./tensorflow/core/kernels/dataset.h:20,
from tensorflow/core/kernels/filter_dataset_op.cc:15:
./tensorflow/core/lib/core/refcount.h: In member function 'virtual void tensorflow::{anonymous}::FilterDatasetOp::Compute(tensorflow::OpKernelContext*)':
./tensorflow/core/lib/core/refcount.h:93:12: warning: 'input' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete this;
^
tensorflow/core/kernels/filter_dataset_op.cc:39:18: note: 'input' was declared here
DatasetBase* input;
^
INFO: From Compiling tensorflow/core/kernels/parallel_map_dataset_op.cc:
In file included from ./tensorflow/core/framework/tensor.h:28:0,
from ./tensorflow/core/framework/attr_value_util.h:23,
from ./tensorflow/core/framework/node_def_util.h:23,
from ./tensorflow/core/framework/shape_inference.h:21,
from ./tensorflow/core/framework/common_shape_fns.h:20,
from ./tensorflow/core/framework/resource_mgr.h:24,
from ./tensorflow/core/kernels/dataset.h:20,
from tensorflow/core/kernels/parallel_map_dataset_op.cc:17:
./tensorflow/core/lib/core/refcount.h: In member function 'virtual void tensorflow::{anonymous}::ParallelMapDatasetOp::Compute(tensorflow::OpKernelContext*)':
./tensorflow/core/lib/core/refcount.h:93:12: warning: 'input' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete this;
^
tensorflow/core/kernels/parallel_map_dataset_op.cc:42:18: note: 'input' was declared here
DatasetBase* input;
^
INFO: From Compiling tensorflow/core/kernels/remote_fused_graph_execute_op.cc:
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/framework/allocator.h:26,
from ./tensorflow/core/framework/op_kernel.h:23,
from tensorflow/core/kernels/remote_fused_graph_execute_op.cc:18:
tensorflow/core/kernels/remote_fused_graph_execute_op.cc: In member function 'virtual void tensorflow::RemoteFusedGraphExecuteOp::Compute(tensorflow::OpKernelContext*)':
tensorflow/core/kernels/remote_fused_graph_execute_op.cc:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
input_count == input_types.size())
^
./tensorflow/core/platform/macros.h:75:30: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (x)
^
tensorflow/core/kernels/remote_fused_graph_execute_op.cc:76:5: note: in expansion of macro 'CHECK'
CHECK(input_count == graph_input_count &&
^
tensorflow/core/kernels/remote_fused_graph_execute_op.cc:100:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
output_count == output_types.size());
^
./tensorflow/core/platform/macros.h:75:30: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (x)
^
tensorflow/core/kernels/remote_fused_graph_execute_op.cc:99:5: note: in expansion of macro 'CHECK'
CHECK(output_count == execute_info.graph_output_node_name_size() &&
^
INFO: From Compiling tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/lib/core/status.h:24,
from ./tensorflow/core/lib/core/errors.h:19,
from ./tensorflow/core/framework/tensor_shape.h:24,
from ./tensorflow/core/framework/partial_tensor_shape.h:22,
from ./tensorflow/core/framework/attr_value_util.h:22,
from ./tensorflow/core/framework/function.h:20,
from ./tensorflow/core/graph/graph.h:43,
from ./tensorflow/core/kernels/remote_fused_graph_execute_utils.h:24,
from tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:16:
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc: In static member function 'static bool tensorflow::RemoteFusedGraphExecuteUtils::GetOutputTensorShapeType(const tensorflow::GraphDef&, const string&, tensorflow::DataType*, tensorflow::TensorShape*)':
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:369:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(data_types.size() > port);
^
./tensorflow/core/platform/macros.h:75:30: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (x)
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:369:3: note: in expansion of macro 'CHECK'
CHECK(data_types.size() > port);
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc: In static member function 'static tensorflow::Status tensorflow::RemoteFusedGraphExecuteUtils::ClusterizeNodes(const std::unordered_set<std::cxx11::basic_string >&, const tensorflow::GraphDef&, std::vector<std::tuple<std::unordered_set<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::hash<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::vector<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::vector<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > >)':
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:728:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(input_count == 0 || input_count == node->in_edges().size());
^
./tensorflow/core/platform/macros.h:75:30: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (x)
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:728:7: note: in expansion of macro 'CHECK'
CHECK(input_count == 0 || input_count == node->in_edges().size());
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc: In static member function 'static tensorflow::Status tensorflow::RemoteFusedGraphExecuteUtils::FuseCluster(const tensorflow::GraphDef&, const std::vector<std::__cxx11::basic_string >&, const std::vector<std::__cxx11::basic_string >&, const string&, const ClusterInfo&, const string&, bool, tensorflow::GraphDef)':
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:894:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < border_outputs.size(); ++j) {
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:918:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < border_outputs.size(); ++i) {
^
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc: In static member function 'static tensorflow::Status tensorflow::RemoteFusedGraphExecuteUtils::FuseRemoteGraphByNodeNames(const tensorflow::GraphDef&, const std::vector<std::cxx11::basic_string >&, const std::vector<std::cxx11::basic_string >&, const string&, const std::unordered_set<std::cxx11::basic_string >&, const string&, bool, tensorflow::GraphDef*)':
tensorflow/core/kernels/remote_fused_graph_execute_utils.cc:965:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ci_vec.size(); ++i) {
^
INFO: From Compiling tensorflow/cc/gradients/math_grad.cc:
In file included from bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/array_ops.h:8:0,
from ./tensorflow/cc/ops/standard_ops.h:19,
from tensorflow/cc/gradients/math_grad.cc:16:
./tensorflow/cc/framework/ops.h: In instantiation of 'tensorflow::Input::Initializer::Initializer(const std::initializer_list<Tp>&, const tensorflow::TensorShape&) [with T = int;  = void]':
bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/logging_ops.h:217:70:   required from here
./tensorflow/cc/framework/ops.h:153:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (t.NumElements() != v.size()) {
^
In file included from tensorflow/cc/gradients/math_grad.cc:18:0:
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_0' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:44:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Abs", AbsGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_1' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:53:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Neg", NegGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_2' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:65:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Inv", InvGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_3' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:66:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Reciprocal", InvGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_4' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:79:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Square", SquareGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_5' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:94:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Sqrt", SqrtGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_6' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:111:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Rsqrt", RsqrtGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_7' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:123:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Exp", ExpGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_8' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:136:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Expm1", Expm1Grad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_9' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:149:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Log", LogGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_10' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:163:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Log1p", Log1pGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_11' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:178:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Tanh", TanhGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_12' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:194:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Sigmoid", SigmoidGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_13' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:205:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Sign", SignGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_14' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:218:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Sin", SinGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_15' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:231:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Cos", CosGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_16' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:246:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Asin", AsinGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_17' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:261:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Acos", AcosGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_18' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:274:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Tan", TanGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_19' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:288:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Atan", AtanGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_20' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:298:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Real", RealGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_21' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:308:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Imag", ImagGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_22' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:316:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Conj", ConjGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_23' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:388:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("MatMul", MatMulGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_24' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/math_grad.cc:396:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("BatchMatMul", BatchMatMulGrad);
^
INFO: From Compiling tensorflow/cc/gradients/nn_grad.cc:
In file included from bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/nn_ops.h:8:0,
from tensorflow/cc/gradients/nn_grad.cc:16:
./tensorflow/cc/framework/ops.h: In instantiation of 'tensorflow::Input::Initializer::Initializer(const std::initializer_list<Tp>&, const tensorflow::TensorShape&) [with T = int;  = void]':
bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/logging_ops.h:217:70:   required from here
./tensorflow/cc/framework/ops.h:153:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (t.NumElements() != v.size()) {
^
In file included from tensorflow/cc/gradients/nn_grad.cc:20:0:
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_0' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/nn_grad.cc:47:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Softmax", SoftmaxGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_1' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/nn_grad.cc:56:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Relu", ReluGradHelper);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_2' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/nn_grad.cc:65:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Relu6", Relu6GradHelper);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_3' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/nn_grad.cc:74:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Elu", EluGradHelper);
^
INFO: From Compiling tensorflow/cc/framework/gradients.cc:
tensorflow/cc/framework/gradients.cc: In member function 'tensorflow::Status tensorflow::{anonymous}::SymbolicGradientBuilder::Initialize()':
tensorflow/cc/framework/gradients.cc:155:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < outputs_.size(); ++i) {
^
tensorflow/cc/framework/gradients.cc:160:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < inputs_.size(); ++i) {
^
tensorflow/cc/framework/gradients.cc: In member function 'tensorflow::Status tensorflow::{anonymous}::SymbolicGradientBuilder::AddGradients()':
tensorflow/cc/framework/gradients.cc:312:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (IsPrimitiveOpWithNoGrad(n->type_string()) || num_no_grad == num_y) {
^
tensorflow/cc/framework/gradients.cc:323:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (num_no_grad > 0 && num_no_grad < num_y) {
^
tensorflow/cc/framework/gradients.cc:347:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (dx_index == dx.size()) {
^
In file included from ./tensorflow/cc/framework/gradients.h:19:0,
from tensorflow/cc/framework/gradients.cc:19:
./tensorflow/cc/framework/ops.h: In instantiation of 'tensorflow::Input::Initializer::Initializer(const std::initializer_list<Tp>&, const tensorflow::TensorShape&) [with T = int;  = void]':
bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/logging_ops.h:217:70:   required from here
./tensorflow/cc/framework/ops.h:153:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (t.NumElements() != v.size()) {
^
INFO: From Compiling tensorflow/cc/gradients/array_grad.cc:
In file included from bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/array_ops_internal.h:8:0,
from tensorflow/cc/gradients/array_grad.cc:18:
./tensorflow/cc/framework/ops.h: In instantiation of 'tensorflow::Input::Initializer::Initializer(const std::initializer_list<Tp>&, const tensorflow::TensorShape&) [with T = int;  = void]':
bazel-out/local-py3-opt/genfiles/tensorflow/cc/ops/logging_ops.h:217:70:   required from here
./tensorflow/cc/framework/ops.h:153:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (t.NumElements() != v.size()) {
^
In file included from tensorflow/cc/gradients/array_grad.cc:22:0:
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_0' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:29:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("Const");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_1' defined but not used [-Wunused-variable]
static bool unused_ret_val##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:30:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("StopGradient");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_2' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:31:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("ConcatOffset");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_3' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:32:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("EditDistance");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_4' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:33:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("ZerosLike");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_5' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:34:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("InvertPermutation");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_6' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:35:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("Shape");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_7' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:36:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("ShapeN");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_8' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:37:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("Rank");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_9' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:38:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("Size");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_10' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:39:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("BroadcastGradientArgs");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_11' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:64:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, nullptr)
^
tensorflow/cc/gradients/array_grad.cc:40:1: note: in expansion of macro 'REGISTER_NO_GRADIENT_OP'
REGISTER_NO_GRADIENT_OP("OneHot");
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_12' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:57:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Pack", PackGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_13' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:67:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Unpack", UnpackGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_14' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:75:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Identity", IdentityGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_15' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:83:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("RefIdentity", RefIdentityGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_16' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:91:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("QuantizeAndDequantize", QuantizeAndDequantizeGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_17' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:101:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("QuantizeAndDequantizeV2", QuantizeAndDequantizeV2Grad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_18' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:110:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Split", SplitGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_19' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:118:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Diag", DiagGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_20' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:126:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("DiagPart", DiagPartGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_21' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:134:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("MatrixDiag", MatrixDiagGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_22' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:147:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("MatrixBandPart", MatrixBandPartGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_23' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:159:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("GatherNd", GatherNdGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_24' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:172:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("CheckNumerics", CheckNumericsGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_25' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:182:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Reshape", ReshapeGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_26' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:192:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("ExpandDims", ExpandDimsGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_27' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:201:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Squeeze", SqueezeGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_28' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:211:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Transpose", TransposeGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_29' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:227:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("ReverseSequence", ReverseSequenceGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_30' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:237:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("ReverseV2", ReverseGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_31' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:248:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("ScatterNd", ScatterNdGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_32' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:264:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("Pad", PadGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_33' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:276:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("SpaceToBatch", SpaceToBatchGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_34' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:287:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("SpaceToBatchND", SpaceToBatchNDGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_35' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:299:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("BatchToSpace", BatchToSpaceGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_36' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:310:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("BatchToSpaceND", BatchToSpaceNDGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_37' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:320:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("SpaceToDepth", SpaceToDepthGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_38' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:330:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("DepthToSpace", DepthToSpaceGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_39' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:342:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("MirrorPad", MirrorPadGrad);
^
./tensorflow/cc/framework/grad_op_registry.h:70:15: warning: 'tensorflow::ops::{anonymous}::unused_ret_val_40' defined but not used [-Wunused-variable]
static bool unused_ret_val_##ctr =
^
./tensorflow/cc/framework/grad_op_registry.h:67:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ'
REGISTER_GRADIENT_OP_UNIQ(ctr, name, fn)
^
./tensorflow/cc/framework/grad_op_registry.h:61:3: note: in expansion of macro 'REGISTER_GRADIENT_OP_UNIQ_HELPER'
REGISTER_GRADIENT_OP_UNIQ_HELPER(COUNTER, name, fn)
^
tensorflow/cc/gradients/array_grad.cc:354:1: note: in expansion of macro 'REGISTER_GRADIENT_OP'
REGISTER_GRADIENT_OP("MirrorPadGrad", MirrorPadGradGrad);
^
INFO: From Compiling tensorflow/python/lib/core/py_func.cc:
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/framework/allocator.h:26,
from ./tensorflow/core/framework/tensor.h:21,
from ./tensorflow/python/lib/core/py_func.h:22,
from tensorflow/python/lib/core/py_func.cc:16:
./tensorflow/core/platform/default/logging.h: In instantiation of 'std::cxx11::string* tensorflow::internal::Check_EQImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = long long int; std::cxx11::string = std::cxx11::basic_string]':
tensorflow/python/lib/core/py_func.cc:265:5:   required from here
./tensorflow/core/platform/default/logging.h:228:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
== )  // Compilation error with CHECK_EQ(NULL, x)?
^
./tensorflow/core/platform/macros.h:76:29: note: in definition of macro 'TF_PREDICT_TRUE'
#define TF_PREDICT_TRUE(x) (x)
^
./tensorflow/core/platform/default/logging.h:227:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL'
TF_DEFINE_CHECK_OP_IMPL(Check_EQ,
^
INFO: From Compiling tensorflow/tools/graph_transforms/quantize_nodes.cc:
tensorflow/tools/graph_transforms/quantize_nodes.cc:172:6: warning: 'bool tensorflow::graph_transforms::{anonymous}::AreAttrsEqual(const tensorflow::NodeDef*, const tensorflow::NodeDef*)' defined but not used [-Wunused-function]
bool AreAttrsEqual(const NodeDef* current_node, const NodeDef* other_node) {
^
INFO: From Compiling tensorflow/python/pywrap_tensorflow_internal.cc:
bazel-out/local-py3-opt/bin/tensorflow/python/pywrap_tensorflow_internal.cc: In function 'PyObject* wrap_PyRecordReader_New(PyObject*, PyObject*)':
bazel-out/local-py3-opt/bin/tensorflow/python/pywrap_tensorflow_internal.cc:4938:138: warning: 'arg2' may be used uninitialized in this function [-Wmaybe-uninitialized]
result = (tensorflow::io::PyRecordReader *)tensorflow::io::PyRecordReader::New((string const &)*arg1,arg2,(string const &)*arg3,arg4);
^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-self-assign'
INFO: From Compiling tensorflow/contrib/batching/kernels/batch_kernels.cc:
tensorflow/contrib/batching/kernels/batch_kernels.cc: In member function 'tensorflow::Status tensorflow::BatchKernel::ValidateAllowedBatchSizes() const':
tensorflow/contrib/batching/kernels/batch_kernels.cc:550:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < allowed_batch_sizes.size(); ++i) {
^
tensorflow/contrib/batching/kernels/batch_kernels.cc:556:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == allowed_batch_sizes.size() - 1 && size != max_batch_size) {
^
tensorflow/contrib/batching/kernels/batch_kernels.cc: In lambda function:
tensorflow/contrib/batching/kernels/batch_kernels.cc:677:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < batch_keys.size(); ++i) {
^
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = long long int]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < inputs.size(); ++i) {
^
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = int]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = short unsigned int]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = short int]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = unsigned char]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = signed char]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = Eigen::half]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = float]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = double]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = std::complex]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = std::complex]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = bool]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = std::cxx11::basic_string]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
tensorflow/contrib/batching/kernels/batch_kernels.cc: In instantiation of 'tensorflow::Status tensorflow::Concat(tensorflow::OpKernelContext*, const tensorflow::gtl::ArraySlicetensorflow::Tensor&, int) [with T = tensorflow::ResourceHandle]':
tensorflow/contrib/batching/kernels/batch_kernels.cc:395:9:   required from here
tensorflow/contrib/batching/kernels/batch_kernels.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from tensorflow/contrib/batching/kernels/batch_kernels.cc:16:0:
./tensorflow/contrib/batching/shared_batch_scheduler.h: In instantiation of 'bool tensorflow::serving::internal::Queue::IsOpenBatchSchedulable() const [with TaskType = tensorflow::BatchResource::BatchTask]':
./tensorflow/contrib/batching/shared_batch_scheduler.h:594:55:   required from 'std::unique_ptr<tensorflow::serving::Batch > tensorflow::serving::internal::Queue::ScheduleBatch() [with TaskType = tensorflow::BatchResource::BatchTask]'
./tensorflow/contrib/batching/shared_batch_scheduler.h:465:24:   required from 'void tensorflow::serving::SharedBatchScheduler::ThreadLogic() [with TaskType = tensorflow::BatchResource::BatchTask]'
./tensorflow/contrib/batching/shared_batch_scheduler.h:437:18:   required from 'tensorflow::serving::SharedBatchScheduler::SharedBatchScheduler(const tensorflow::serving::SharedBatchScheduler::Options&)::<lambda()> [with TaskType = tensorflow::BatchResource::BatchTask]'
./tensorflow/contrib/batching/shared_batch_scheduler.h:437:10:   required from 'struct tensorflow::serving::SharedBatchScheduler::SharedBatchScheduler(const tensorflow::serving::SharedBatchScheduler::Options&) [with TaskType = tensorflow::BatchResource::BatchTask]::<lambda()>'
./tensorflow/contrib/batching/shared_batch_scheduler.h:438:72:   required from 'tensorflow::serving::SharedBatchScheduler::SharedBatchScheduler(const tensorflow::serving::SharedBatchScheduler::Options&) [with TaskType = tensorflow::BatchResource::BatchTask]'
./tensorflow/contrib/batching/shared_batch_scheduler.h:362:3:   required from 'static tensorflow::Status tensorflow::serving::SharedBatchScheduler::Create(const tensorflow::serving::SharedBatchScheduler::Options&, std::shared_ptr<tensorflow::serving::SharedBatchScheduler >*) [with TaskType = tensorflow::BatchResource::BatchTask]'
tensorflow/contrib/batching/kernels/batch_kernels.cc:217:5:   required from here
./tensorflow/contrib/batching/shared_batch_scheduler.h:664:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return closed || open_batch->size() >= options.max_batch_size ||
^
./tensorflow/contrib/batching/shared_batch_scheduler.h: In instantiation of 'tensorflow::Status tensorflow::serving::internal::Queue::Schedule(std::unique_ptr) [with TaskType = tensorflow::BatchResource::BatchTask]':
./tensorflow/contrib/batching/shared_batch_scheduler.h:682:31:   required from 'tensorflow::Status tensorflow::serving::internal::QueueHandle::Schedule(std::unique_ptr) [with TaskType = tensorflow::BatchResource::BatchTask]'
tensorflow/contrib/batching/kernels/batch_kernels.cc:996:1:   required from here
./tensorflow/contrib/batching/shared_batch_scheduler.h:523:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((*task)->size() > options.max_batch_size) {
^
./tensorflow/contrib/batching/shared_batch_scheduler.h:535:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (batches.back()->size() + (*task)->size() > options.max_batch_size) {
^
./tensorflow/contrib/batching/shared_batch_scheduler.h:536:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (batches.size() >= options_.max_enqueued_batches) {
^
tensorflow/contrib/batching/kernels/batch_kernels.cc: In member function 'virtual void tensorflow::BatchKernel::ComputeAsync(tensorflow::OpKernelContext*, tensorflow::AsyncOpKernel::DoneCallback)':
tensorflow/contrib/batching/kernels/batch_kernels.cc:261:53: warning: 'batcher_queue' may be used uninitialized in this function [-Wmaybe-uninitialized]
return batcher_queue->Schedule(&batch_components);
^
tensorflow/contrib/batching/kernels/batch_kernels.cc:258:19: note: 'batcher_queue' was declared here
BatcherQueue* batcher_queue;
^
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 2527.226s, Critical Path: 72.65s
lx@ubuntu:~/Downloads/tensorflow$ pip install /tmp/tensorflow_pkg/tensorflow-1.2.1-cp36-cp36m-linux_x86_64.whl
Processing /tmp/tensorflow_pkg/tensorflow-1.2.1-cp36-cp36m-linux_x86_64.whl
Requirement already satisfied: protobuf>=3.2.0 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: six>=1.10.0 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: backports.weakref==1.0rc1 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: markdown>=2.6.8 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: bleach==1.5.0 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: werkzeug>=0.11.10 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: numpy>=1.11.0 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: html5lib==0.9999999 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: wheel>=0.26 in /home/lx/anaconda3/lib/python3.6/site-packages (from tensorflow==1.2.1)
Requirement already satisfied: setuptools in /home/lx/anaconda3/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg (from protobuf>=3.2.0->tensorflow==1.2.1)
Installing collected packages: tensorflow
Successfully installed tensorflow-1.2.1
lx@ubuntu:~/Downloads/tensorflow$ python
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
Traceback (most recent call last):
File "/home/lx/Downloads/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 41, in
from tensorflow.python.pywrap_tensorflow_internal import *
ModuleNotFoundError: No module named 'tensorflow.python.pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/lx/Downloads/tensorflow/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/home/lx/Downloads/tensorflow/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/lx/Downloads/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 52, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/lx/Downloads/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 41, in
from tensorflow.python.pywrap_tensorflow_internal import *
ModuleNotFoundError: No module named 'tensorflow.python.pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

`
i.e. I even cannot get it installed sucessfully
P.S. I set all the options as default in ./configure

Could you please fill in the template? I.e. what compiler are you using? What version of Linux? It seems like you are using an old distribution or old compiler if you are getting so many warning. You could start with some conservative options rather than all possibilities i.e. only -msse2 instead of all the options. My guess is you are using RHEL6 which we don't officially support. You can google "RHEL6 compiling tensorflow" in github to find out how to solve that.

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/lx/Downloads/tensorflow/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/home/lx/Downloads/tensorflow/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/lx/Downloads/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 52, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/lx/Downloads/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 41, in
from tensorflow.python.pywrap_tensorflow_internal import *
ModuleNotFoundError: No module named 'tensorflow.python.pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.

@LuminousXLB It seems that you are in the tensorflow repository when importing tensorflow in python. You need to first change your directory to something other than the TF repo so that python does not try to import from the repo itself.

I add -march=native when run ./configure, I also add --copt=-march=native when build using bazel.

Looks like this was resolved?
Please reopen if you are still seeing a problem.


Load More Complex  - possible to initially display 4 items and the load 2 more per button click?

I'm using the code from the cookbook recipe - Load More Complex and all is working fine.
However I'd like to have 4 items initially and then 2 per load more button click.
I've tried setting different values for the offset at the top of the code block as well as the s-val:offset value in the button but notthing works as I want.
please advise
Below is my current code:
{# set block id #}
{% set block = craft.matrixBlocks.id(blockId).one() %}

{# Sets a default value if not defined by the `s-val:*` attribute on the button #}
{% set offset = offset ?? 0 %}

{% set imageQuery = block.images.offset(offset).limit(limit) %}
{% set images = imageQuery.all() %}

<div id="images" class="grid grid-cols-1 gap-6 md:grid-cols-2">
  {% for image in images %}
    {{ include('_includes/responsiveImage', {
      image: image,
      // various image settings
    }, with_context = false) }}
  {% endfor %}
</div><!-- /.grid grid-cols-1 -->

{# If the total entry count is greater than the number that has been displayed #}
{% if imageQuery.count() > offset + images|length %}
  {# Increments `offset` by the value of `limit` #}
  <button
    id="load-more-oob"
    class="mt-8 btn"
    sprig
    s-val:offset="{{ offset + limit }}"
    {# Appends all `#results img` elements to the `#images` element #}
    s-select="#images picture"
    s-target="#images"
    s-swap="beforeend"
    {# If this button was clicked then swap it out-of-band #}
    {{ sprig.trigger == 'load-more-oob' ? 's-swap-oob="true"' }}>
    Load more
  </button>
{% else %}
  {# Swaps the button out-of-band with a dummy button that is hidden #}
    <button id="load-more-oob" s-swap-oob="true" style="display: none"></button>
{% endif %}

That should be doable by setting the limit to 4 initially and to 2 on the button’s s-val property.

Ben,
s-val:offset="{{ offset + limit }}" loads 4 new images
s-val:offset="{{ offset + 2 }}" or s-val:offset="{{ offset + '2' }}" or s-val:offset="2"   loads 4 images, but the first 2 are the same as the last 2 of the previous 4
s-val="2" loads the initial 4 images again
Not sure what I'm doing wrong.

Here’s how I’d write it in the component. Then the offset value will take care of itself.
{% set limit = sprig.isInclude ? 4 : 2 %}

Ben,
Thank you. works perfect. I should've seen that myself.


Handle MessageNotUnderstood coming from ProtoObject>>doesNotUnderstand:

Currently MessageNotUnderstood errors coming from ProtoObject>>doesNotUnderstand: are not properly handled by GtDoesNotUnderstandDebugAction. That's because the action expects the exception to be stored in a temporary like in Object>>doesNotUnderstand:.