TensorFlow
Running TensorFlow frozen graphs directly via JavaCPP TF bindings
TensorFlow Direct Inference
When to Use TF Direct vs SameDiff Import
Requirement
TF Direct
SameDiff TF Import
Maven Dependency
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-tensorflow</artifactId>
<version>${dl4j.version}</version>
</dependency>Preparing the Model
Running Inference
GraphRunner Builder Options
Data Format Notes
Getting Node Names
Complete Example
Troubleshooting
Last updated
Was this helpful?