Giter VIP home page Giter VIP logo

banet's People

Contributors

frobelbest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

banet's Issues

Confusion on the number of up-projection blocks

Thank you for your great work and kind sharing.

I have a question about the number of up-projection blocks.
In your paper, you stated that:

The depth basis generator is a stander decoder that takes the output of C6 as input and stacks five up-projection blocks to generate 128 basis depth maps, and each of the basis depth maps is half the resolution of the input image.

Also, you stated that:

C1 to C6 are layers with {1,2,4,8,16,32} strides

If the number of up-projection blocks is five, the up-projection may perform like this:
s=32 -> block 1 -> s=16 -> block 2 -> s=8 -> block 3 -> s=4 -> block 4 -> s= 2 -> block 5 -> s=1

Since the final stride went back to 1 after five blocks, how could those basis depth maps have half the resolution of the input image?
I am sorry that I have not found the answer from your code.
I will appreciate it if you could share your valuable time and help me understand this problem.

utils.cu.o: No such file or directory

$ bash build_utils_solomon.sh
In file included from utils.cu:41:0:
/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]
#warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"
^~~~~~~
/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(495): error: constexpr function return is non-constant

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1288): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1288): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1293): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1293): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1317): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1318): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1319): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1325): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1326): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1327): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(74): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/huima_phd/anaconda3/envs/banet/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(77): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

1 error detected in the compilation of "/tmp/tmpxft_00006a6b_00000000-6_utils.cpp1.ii".
g++: error: utils.cu.o: No such file or directory

My Environment:
tensorflow-1.14.0-gpu
ubuntu 16.0.4
python 2.7

trying to compile utils.cu but without success , what are the required python packages/modules?

nvcc -std=c++11 -c -o utils.cu.o utils.cu -I /usr/local -I /home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/ -I/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/external/nsync/public/ -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined

/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(496): error: constexpr function return is non-constant

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/absl/memory/memory.h(607): error: class "std::allocatortensorflow::OpKernelContext::WrappedAllocator" has no member "is_nothrow"
detected during:
instantiation of type "absl::memory_internal::GetIsNothrow<std::allocatortensorflow::OpKernelContext::WrappedAllocator>"
(255): here
instantiation of type "absl::memory_internal::ExtractOrT<absl::memory_internal::GetIsNothrow, std::allocatortensorflow::OpKernelContext::WrappedAllocator, std::false_type>"
(633): here
instantiation of class "absl::allocator_is_nothrow [with Alloc=std::allocatortensorflow::OpKernelContext::WrappedAllocator]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/absl/container/inlined_vector.h(138): here
instantiation of "absl::InlinedVector<T, N, A>::InlinedVector(absl::InlinedVector<T, N, A> &&) [with T=tensorflow::OpKernelContext::WrappedAllocator, N=4UL, A=std::allocatortensorflow::OpKernelContext::WrappedAllocator]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h(972): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/absl/strings/str_cat.h(259): error: expression must have a constant value

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/absl/strings/str_cat.h(259): error: expression must have a constant value

utils.cu(1088): error: expected a "("

utils.cu(1088): error: expected an expression

utils.cu(1088): error: expected a ")"

utils.cu(1089): error: expected a "("

utils.cu(1089): error: expected an expression

utils.cu(1089): error: expected a ")"

utils.cu(1362): error: expected a "("

utils.cu(1362): error: expected an expression

utils.cu(1362): error: expected a ")"

utils.cu(1363): error: expected a "("

utils.cu(1363): error: expected an expression

utils.cu(1363): error: expected a ")"

utils.cu(1458): error: "static" is not allowed

utils.cu(1615): error: identifier "data_channels" is undefined

utils.cu(1611): warning: variable "out_index" was declared but never referenced

utils.cu(1612): warning: variable "batch_id" was declared but never referenced

utils.cu(1703): error: "static" is not allowed

utils.cu(1829): error: "projection_tensor" has already been declared in the current scope

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
detected during:
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/yair/.virtualenvs/unet-p2/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

22 errors detected in the compilation of "/tmp/tmpxft_00002790_00000000-7_utils.cpp1.ii".

utils.so failed to load

When I use complied utils.cu using build_util.sh, I can generate a .so file with many warnings. However, I got an error when I tried to use "util=tf.load_op_library('./utils.so')" to load the library. For example, the code get an error when runs to line 11 in ba.py. The error is
./utils.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv

Do you how to solve this issue?

Failed to compile utils.cu

Hi, you did a really excellent work and I want to run the code in my computer but errors appeared. When I compile the utils.cu, there are many errors and I do not find the "equation_construction" and "jacobian_construction" in the utils.cu used in ba.py. The compile errors are as follows, and the tensorflow version is 2.0:
utils.cu(44): error: namespace "Eigen" has no member "CudaStreamDevice"

utils.cu(109): error: member function declared with "override" does not override a base class member

utils.cu(111): error: member function declared with "override" does not override a base class member

utils.cu(109): warning: function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes()" is hidden by "CublasScratchAllocator::GetMemoryLimitInBytes" -- virtual function override intended?

utils.cu(111): warning: function "stream_executor::ScratchAllocator::AllocateBytes(tensorflow::int64)" is hidden by "CublasScratchAllocator::AllocateBytes" -- virtual function override intended?

utils.cu(247): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

utils.cu(444): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

utils.cu(738): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

utils.cu(1088): error: expected a "("

utils.cu(1088): error: expected an expression

utils.cu(1088): error: expected a ")"

utils.cu(1089): error: expected a "("

utils.cu(1089): error: expected an expression

utils.cu(1089): error: expected a ")"

utils.cu(1362): error: expected a "("

utils.cu(1362): error: expected an expression

utils.cu(1362): error: expected a ")"

utils.cu(1363): error: expected a "("

utils.cu(1363): error: expected an expression

utils.cu(1363): error: expected a ")"

utils.cu(1458): error: "static" is not allowed

utils.cu(1615): error: identifier "data_channels" is undefined

utils.cu(1611): warning: variable "out_index" was declared but never referenced

utils.cu(1612): warning: variable "batch_id" was declared but never referenced

utils.cu(1703): error: "static" is not allowed

utils.cu(1829): error: "projection_tensor" has already been declared in the current scope

23 errors detected in the compilation of "/tmp/tmpxft_000064ea_00000000-6_utils.cpp1.ii".

compiling utils.cu fails

I'm trying to compile utils.cu but get loads of warning and 4 fatal errors, any solution?

My environment: cuda10.2 + tensorflow2.1&2.3 (installed through anaconda, both fail)

Command I run:

nvcc -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -c -o utils.cu.o utils.cu -I /usr/local -I /playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include -I/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/external/nsync/public -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -D_GLIBCXX_USE_CXX11_ABI=0

Error message:

In file included from utils.cu:41:0:
/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]
#warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"
^
/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: host annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: device annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: host annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: device annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: host annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: device annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1448): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1456): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(73): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(73): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(75): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(75): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(118): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(121): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(295): warning: calling a constexpr host function("min") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(297): warning: calling a constexpr host function("signbit") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(297): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(337): warning: calling a constexpr host function("min") from a host device function("float_to_bfloat16_rtne") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(339): warning: calling a constexpr host function("signbit") from a host device function("float_to_bfloat16_rtne") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(339): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(513): warning: calling a constexpr host function("isinf") from a host device function("isinf") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(513): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(516): warning: calling a constexpr host function("isnan") from a host device function("isnan") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(516): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(671): warning: calling a host function from a host device function is not allowed

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: host annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: device annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: host annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: device annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: host annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: device annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: host annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: device annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: host annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: device annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: host annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: device annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: host annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: device annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: host annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: device annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: host annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: device annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: host annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: device annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: host annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: device annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: host annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: device annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: host annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: device annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: host annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: device annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: host annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: device annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: host annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: device annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: host annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: device annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: host annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: device annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: host annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: device annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: host annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: device annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(114): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(114): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: host annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: device annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: host annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: device annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: host annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: device annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: host annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: device annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: host annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: device annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: host annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: device annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: host annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: device annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: host annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: device annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: host annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: device annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: host annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: device annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: host annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: device annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: host annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: device annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: host annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: device annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: host annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: device annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: host annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: device annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: host annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: device annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(154): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(159): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(267): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(272): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(57): warning: calling a constexpr host function("min") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(59): warning: calling a constexpr host function("signbit") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(59): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(80): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(80): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(83): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(83): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(172): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(176): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/platform/env.h(368): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

utils.cu(104): error: member function declared with "override" does not override a base class member

utils.cu(106): error: member function declared with "override" does not override a base class member

utils.cu(104): warning: function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes()" is hidden by "CublasScratchAllocator::GetMemoryLimitInBytes" -- virtual function override intended?

utils.cu(106): warning: function "stream_executor::ScratchAllocator::AllocateBytes(tensorflow::int64)" is hidden by "CublasScratchAllocator::AllocateBytes" -- virtual function override intended?

utils.cu(330): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

utils.cu(624): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

4 errors detected in the compilation of "/tmp/tmpxft_00007229_00000000-6_utils.cpp1.ii".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.