diff --git a/tensorflow/core/kernels/random_op.cc b/tensorflow/core/kernels/random_op.cc index 2008c7a7ed1..0baf4484c3d 100644 --- a/tensorflow/core/kernels/random_op.cc +++ b/tensorflow/core/kernels/random_op.cc @@ -735,10 +735,7 @@ void FillPhiloxRandom::operator()( PhiloxRandomOp< \ SYCLDevice, \ random::TruncatedNormalDistribution< \ - random::SingleSampleAdapter, TYPE> >); \ - REGISTER_KERNEL_BUILDER( \ - Name("RandomGamma").Device(DEVICE_SYCL).TypeConstraint("T"), \ - RandomGammaOp) + random::SingleSampleAdapter, TYPE> >); #define REGISTER_INT(IntType) \ REGISTER_KERNEL_BUILDER(Name("RandomUniformInt") \ @@ -749,7 +746,6 @@ void FillPhiloxRandom::operator()( .TypeConstraint("Tout"), \ RandomUniformIntOp); -TF_CALL_half(REGISTER); TF_CALL_float(REGISTER); TF_CALL_double(REGISTER); TF_CALL_int32(REGISTER_INT);