Skip to content

Contains samples that show how to use the TensorFlow C API with the tensorflow-directml library.

License

Notifications You must be signed in to change notification settings

PatriceVignola/tensorflow-directml-c-api-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow-DirectML-C-API-Samples

TensorFlow-DirectML-C-API-Samples contains samples that show how to use the TensorFlow C API with the tensorflow-directml library.

Getting Started

Build and run the samples on Windows

  1. Install the latest version of CMake (CMake >= 3.20 is required)
  2. Install the latest version of the Visual Studio build tools or any other versions of Visual Studio
  3. Run the following commands:
.\build.ps1
cd build
.\infer_squeezenet_model.exe

Build and run the samples on WSL (Windows Subsystem for Linux)

  1. Install the latest version of CMake (CMake >= 3.20 is required)
  2. Install the latest version of clang (e.g. on Ubuntu apt update && apt install clang)
  3. Run the following commands:
./build.sh
cd build
./infer_squeezenet_model

About

Contains samples that show how to use the TensorFlow C API with the tensorflow-directml library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages