@@ -621,6 +621,7 @@ BUILTIN_KERNEL_SRCS = [
621621 "where.cc" ,
622622 "while.cc" ,
623623 "zeros_like.cc" ,
624+ "rfft2d.cc" ,
624625]
625626
626627BUILTIN_KERNEL_DEPS = [
@@ -669,10 +670,12 @@ cc_library(
669670 copts = tflite_copts () + tf_opts_nortti_if_android () + EXTRA_EIGEN_COPTS ,
670671 visibility = ["//visibility:private" ],
671672 deps = BUILTIN_KERNEL_DEPS + [
673+ "@fft2d" ,
672674 "@ruy//ruy/profiler:instrumentation" ,
673675 "//tensorflow/lite/kernels/internal:cppmath" ,
674676 "//tensorflow/lite:string" ,
675677 "@farmhash_archive//:farmhash" ,
678+ "//third_party/fft2d:fft2d_headers" ,
676679 ],
677680)
678681
@@ -713,7 +716,6 @@ cc_library(
713716 "complex_support.cc" ,
714717 "multinomial.cc" ,
715718 "random_standard_normal.cc" ,
716- "rfft2d.cc" ,
717719 ],
718720 hdrs = ["custom_ops_register.h" ],
719721 copts = tflite_copts (),
@@ -722,8 +724,6 @@ cc_library(
722724 "//tensorflow/lite/c:common" ,
723725 "//tensorflow/lite/kernels/internal:tensor" ,
724726 "//tensorflow/lite/kernels/internal:types" ,
725- "//third_party/fft2d:fft2d_headers" ,
726- "@fft2d" ,
727727 "@ruy//ruy/profiler:instrumentation" ,
728728 ],
729729)
@@ -2187,13 +2187,9 @@ cc_test(
21872187 size = "small" ,
21882188 srcs = ["rfft2d_test.cc" ],
21892189 deps = [
2190- ":custom_ops" ,
21912190 ":test_main" ,
21922191 ":test_util" ,
2193- "//tensorflow/lite:framework" ,
2194- "//tensorflow/lite/c:common" ,
21952192 "//tensorflow/lite/schema:schema_fbs" ,
2196- "//tensorflow/lite/testing:util" ,
21972193 "@com_google_googletest//:gtest" ,
21982194 ],
21992195)
0 commit comments