message: Fix a bug in BatchFunction for num_batch_threads=0
diff: @@ -212,15 +212,6 @@ class BatchFunctionKernel : public AsyncOpKernel {
  // Use `shared_name_` and name() as prefix for `batcher_queue_`.
  // Note name() is unique per session (from session metadata).
  batcher_queue_ = name() + "/" + shared_name_ + batcher_queue_;
  -
  - // `shared_name_` and `container_` is used to look up an instantiated
  - // scheduler instance in `ComputeAsync`.
  - //
  - // Rewrite `container_` and `shared_name_` to a pre-defined constant so
  - // that a shared shared pool across all models if adaptive shared batch
  - // scheduler is used.
  - container_ = "__adapative_container";
  - shared_name_ = "__adaptive_global_shared_thread_pool";
  }
  if (shared_name_.empty()) {
  