message: Move resource op lifting pass before outside compilation passes.
  Some ops that will be outside compiled may consume resource variables which should be lifted first before outside compiling.
diff: @@ -95,16 +95,16 @@ void CreateTPUBridgePipeline(OpPassManager &pm) {
  func_pm.addPass(CreateTPUHostComputationExpansionPass());
  func_pm.addPass(CreateTPUUpdateEmbeddingEnqueueOpInputsPass());
  }
  + // Run another shape inference pass because resource decomposition might have
  + // created new partial types.
  + pm.addPass(TF::CreateTFShapeInferencePass());
  + pm.addPass(TFDevice::CreateResourceOpLiftingPass());
  pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
  pm.addPass(mlir::createInlinerPass());
  pm.addPass(CreateTPUExtractHeadTailOutsideCompilationPass());
  pm.addPass(TF::CreateTFRegionControlFlowToFunctional());
  - // Run another shape inference pass because resource decomposition might have
  - // created new partial types.
  - pm.addPass(TF::CreateTFShapeInferencePass());
  pm.addNestedPass<FuncOp>(tf_executor::CreateTFExecutorConstantSinkingPass());
  - pm.addPass(TFDevice::CreateResourceOpLiftingPass());
  pm.addPass(TF::CreateResourceDeviceInferencePass());
  pm.addPass(TFDevice::CreateClusterOutliningPass());
  pm.addPass(CreateTPUDynamicPaddingMapperPass());
  