Skip to content

Instantly share code, notes, and snippets.

View lorenzolightsgdwarf's full-sized avatar

Lorenzo Lucignano lorenzolightsgdwarf

View GitHub Profile
@terryzhao127
terryzhao127 / extract-built-tensorflow-cpp-api.ps1
Last active January 7, 2021 15:24
A powershell script to extract Tensorflow library and source files built by https://github.com/guikarist/tensorflow-windows-build-script.
# This script should be executed outside repo folder of https://github.com/guikarist/tensorflow-windows-build-script.
Set-StrictMode -Version latest
$ErrorActionPreference = "Stop"
Remove-Item bin -ErrorAction SilentlyContinue -Force -Recurse
$tensorFlowBinDir = "$pwd\bin"
mkdir $tensorFlowBinDir | Out-Null
$tensorFlowSourceDir = "$pwd\tensorflow-windows-build-script\source"