Skip to content

Commit 1ea5bfd

Browse files
authored
Delete keras converter code from onnxmltools and add a wrapper for keras2onnx (#226)
* Delete keras-onnx convertor * Delete keras-onnx convertor
1 parent 6be1d1f commit 1ea5bfd

40 files changed

+12
-2840
lines changed

onnxmltools/convert/common/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def coreml_installed():
4141
return False
4242

4343

44-
def keras_installed():
44+
def ketone_installed():
4545
"""
46-
Checks that *keras* is available.
46+
Checks that *ketone* is available.
4747
"""
4848
try:
49-
import keras
49+
import ketone
5050
return True
5151
except ImportError:
5252
return False

onnxmltools/convert/keras/__init__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

onnxmltools/convert/keras/_parse.py

Lines changed: 0 additions & 181 deletions
This file was deleted.

onnxmltools/convert/keras/convert.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

onnxmltools/convert/keras/operator_converters/Activation.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

onnxmltools/convert/keras/operator_converters/AdvancedActivation.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)