SHARE
TWEET

Untitled

a guest Apr 21st, 2017 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tensorflow/core/kernels/BUILD:3749:1: C++ compilation of rule '//tensorflow/core/kernels:android_tensorflow_kernels' failed: Process exited with status 1 [sandboxed].
  2. tensorflow/core/kernels/split_v_op.cc:212:28: error: non-constant-expression cannot be narrowed from type 'value_type' (aka 'long long') to 'int' in initializer list [-Wc++11-narrowing]
  3.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  4.                            ^~~~~~~~~~~~~~~~~~
  5. tensorflow/core/kernels/split_v_op.cc:172:12: note: in instantiation of member function 'tensorflow::SplitVOpCPU<int, long long>::Compute' requested here
  6.   explicit SplitVOpCPU(OpKernelConstruction* c) : Base(c) {}
  7.            ^
  8. tensorflow/core/kernels/split_v_op.cc:355:19: note: in instantiation of member function 'tensorflow::SplitVOpCPU<int, long long>::SplitVOpCPU' requested here
  9. TF_CALL_ALL_TYPES(REGISTER_SPLIT_LEN);
  10.                   ^
  11. tensorflow/core/kernels/split_v_op.cc:212:28: note: insert an explicit cast to silence this issue
  12.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  13.                            ^~~~~~~~~~~~~~~~~~
  14.                            static_cast<int>( )
  15. tensorflow/core/kernels/split_v_op.cc:212:28: error: non-constant-expression cannot be narrowed from type 'value_type' (aka 'long long') to 'int' in initializer list [-Wc++11-narrowing]
  16.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  17.                            ^~~~~~~~~~~~~~~~~~
  18. tensorflow/core/kernels/split_v_op.cc:172:12: note: in instantiation of member function 'tensorflow::SplitVOpCPU<float, long long>::Compute' requested here
  19.   explicit SplitVOpCPU(OpKernelConstruction* c) : Base(c) {}
  20.            ^
  21. tensorflow/core/kernels/split_v_op.cc:355:19: note: in instantiation of member function 'tensorflow::SplitVOpCPU<float, long long>::SplitVOpCPU' requested here
  22. TF_CALL_ALL_TYPES(REGISTER_SPLIT_LEN);
  23.                   ^
  24. tensorflow/core/kernels/split_v_op.cc:212:28: note: insert an explicit cast to silence this issue
  25.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  26.                            ^~~~~~~~~~~~~~~~~~
  27.                            static_cast<int>( )
  28. tensorflow/core/kernels/split_v_op.cc:212:28: error: non-constant-expression cannot be narrowed from type 'value_type' (aka 'long long') to 'int' in initializer list [-Wc++11-narrowing]
  29.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  30.                            ^~~~~~~~~~~~~~~~~~
  31. tensorflow/core/kernels/split_v_op.cc:172:12: note: in instantiation of member function 'tensorflow::SplitVOpCPU<tensorflow::bfloat16, long long>::Compute' requested here
  32.   explicit SplitVOpCPU(OpKernelConstruction* c) : Base(c) {}
  33.            ^
  34. tensorflow/core/kernels/split_v_op.cc:356:1: note: in instantiation of member function 'tensorflow::SplitVOpCPU<tensorflow::bfloat16, long long>::SplitVOpCPU' requested here
  35. REGISTER_SPLIT_LEN(bfloat16);
  36. ^
  37. tensorflow/core/kernels/split_v_op.cc:353:3: note: expanded from macro 'REGISTER_SPLIT_LEN'
  38.   REGISTER_SPLIT(type, int64);
  39.   ^
  40. tensorflow/core/kernels/split_v_op.cc:349:27: note: expanded from macro 'REGISTER_SPLIT'
  41.                           SplitVOpCPU<type, len_type>);
  42.                           ^
  43. tensorflow/core/kernels/split_v_op.cc:212:28: note: insert an explicit cast to silence this issue
  44.           prefix_dim_size, split_sizes_vec[i], suffix_dim_size};
  45.                            ^~~~~~~~~~~~~~~~~~
  46.                            static_cast<int>( )
  47. 3 errors generated.
  48. Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
  49. Target //tensorflow/contrib/android:libtensorflow_inference.so failed to build
  50. Use --verbose_failures to see the command lines of failed build steps.
RAW Paste Data
Top