Command to build tensorflow 2.10 for C++

I think the documentation is a little out of date. I want to know what is the right command to build tensorflow 2.10 for windows 10 from source to use in C++ (Unreal engine).

I would also like to confirm the package versions.

Bazel: 5.3.2
VS: 2022
Python: 3.9.13
CUDA: 11.2 update 2
cudnn: 8.1.1

Hi @Nathan_Miguel,

Sorry for the delayed response. Please refer to this guide for bazel configuration to build C++. As per the tensorflow documentation, for tensorflow 2.10, the following is the compatible build configuration:

Version Python version Compiler Build tools cuDNN CUDA
tensorflow_gpu-2.10.0 3.7-3.10 MSVC 2019 Bazel 5.1.1 8.1 11.2

Thank You

Note: GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin