Function: modelGraphFromKeras()
ts
function modelGraphFromKeras(model, opts?): ModelGraph;Defined in: ml/model.ts:363
Build a ModelGraph from a TensorFlow / Keras model config. Sequential models chain in declaration order; functional models are wired from each layer's inbound_nodes, so multi-input and residual topologies survive.
Parameters
| Parameter | Type |
|---|---|
model | KerasModelConfig |
opts | KerasAdapterOptions |