message: [KERNEL_GEN] Generate external functions declarations automatically.
diff: @@ -30,18 +30,6 @@ limitations under the License.
  #include "tensorflow/core/platform/logging.h"
  #include "tensorflow/core/platform/stream_executor.h"
  -// TODO(b/169547730): Automatically generate these declarations.
  -extern "C" ::UnrankedMemRefType<Eigen::half> _mlir_ciface_abs_f16(
  - tensorflow::OpKernelContext* ctx, ::UnrankedMemRefType<Eigen::half>* arg);
  -extern "C" ::UnrankedMemRefType<float> _mlir_ciface_abs_f32(
  - tensorflow::OpKernelContext* ctx, ::UnrankedMemRefType<float>* arg);
  -extern "C" ::UnrankedMemRefType<double> _mlir_ciface_abs_f64(
  - tensorflow::OpKernelContext* ctx, ::UnrankedMemRefType<double>* arg);
  -extern "C" ::UnrankedMemRefType<int32> _mlir_ciface_abs_i32(
  - tensorflow::OpKernelContext* ctx, ::UnrankedMemRefType<int32>* arg);
  -extern "C" ::UnrankedMemRefType<int64> _mlir_ciface_abs_i64(
  - tensorflow::OpKernelContext* ctx, ::UnrankedMemRefType<int64>* arg);
  -
  namespace tensorflow {
  namespace {
  @@ -129,6 +117,10 @@ Tensor ConvertDescriptorToTensor(
  // MlirTensorBuffer to take ownership of pre-allocated memory.
  #define REGISTER_AND_GENERATE_KERNEL(kernel_name, type_name, data_type, \
  tf_data_type) \
  + extern "C" ::UnrankedMemRefType<data_type> MLIR_FUNCTION(type_name)( \
  + tensorflow::OpKernelContext * ctx, \
  + ::UnrankedMemRefType<data_type> * arg); \
  + \
  namespace { \
  class MlirUnranked##kernel_name##type_name##Op : public OpKernel { \
  public: \
  