Skip to content

Instantly share code, notes, and snippets.

@caisq
caisq / breaking_API_changes.md
Last active April 23, 2019 12:57
Breaking API Changes and New APIs in TensorFlow.js 1.0 Through Examples

1. Model-loading function name changes

Rationale: Indicate type of model being loaded more explicitly in code.

For models converted from Keras and models saved from TensorFlow.js itself:

// Before: 
await tf.loadModel('http://server/model.json');