Add more c apis correponding to python c apis.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this [failed invocation](https://github.com/tensorflow/tensorflow/pull/60528/checks?check_run_id=13305627362) of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request. @sagunb Sorry for the interruption but I met some problem of ci while I'm fresh to tensorflow. The ci `AMD ROCm -- Community CI Build` said the bazel version does not match. However I didn't change any bazel version setting in this PR. Could you please help to see what I should do resolve this error? Could you please help with the ci error? The result showed `__main__.UserInputError: Invalid CLANG_COMPILER_PATH setting was provided 10 times in a row. Assuming to be a scripting mistake.`, which seems to be a clang config error. However I didn't modify related settings in this PR. Hi @AsakusaRinne I've ported over this PR to the internal tool and am running it against the internal checks to see what all might be failing. I will update you if anything pops up. Nothing new should be required from you at this point.
Hello everyone,

I would like to submit this PR that adds some C APIs corresponding to those in `tensorflow/c/python_api.h`. The background behind this is that I am a developer of [Tensorflow.NET](http://tensorflow.net/), which is a .NET binding of Tensorflow and is still actively maintained. When adding new features, the best approach for us is to write C# code by referring to Python code. However, sometimes Python uses C APIs defined in `tensorflow/c/python_api.h` but these APIs are not included in common externed C APIs, making it difficult for us to add the particular feature.

To address this issue, I have added APIs in `tensorflow/c/python_api.h` to `tensorflow/c/c_api.h`, as these APIs are commonly required when adding features, with Tensorflow Python being the only reliable reference. I have tested this PR by compiling this branch on both Windows and Linux and it works. For example, the latest versions of [Tensorflow.Redist 2.11](https://www.nuget.org/packages/SciSharp.TensorFlow.Redist) and [Tensorflow.Redist-Windows-GPU 2.10](https://www.nuget.org/packages/SciSharp.TensorFlow.Redist-Windows-GPU) both work smoothly. (We also successfully compiled the Linux GPU version, but it has not been released due to package size limits of NuGet)

If adding too many APIs once is not encouraged, then I kindly request to add `TF_SetAttr`, `TF_UpdateEdge`, `TF_GetHandleShapeAndType`, and `TF_SetHandleShapeAndType`.

Thank you very much for your consideration. :)