support disable jit_scope op's gradients compile when disable scope op compile
Hi @cheshire Can you please review this PR ? Thank you! @jlebar Could you take a look ? I think you were doing something similar with using jit_scope to control what exactly autoclustering is compiling. Sorry, @cheshire.  I don't remember touching those files or have any useful expertise to lend here. Hi @YangWorker Can you please check @cheshire's comments and resolve conflicts ? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. Hi @YangWorker Any update on this PR? Please. Thank you! Hi @YangWorker Any update on this PR? Please. Thank you! Hi @YangWorker Any update on this PR? Please. Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
Add compile_gradients param for xla.experimental.jit_scope to support disable compile op's gradients ops.
In some scenarios, if op is dynamic shaped, the gradients op of it is dynamic shaped too.

