to_savable_callable {gnn}R Documentation

Convert GNN objects to Savable or Callable Ones

Description

Keras objects cannot be saved like other R objects. The auxiliary functions to_savable() and to_callable() address this issue.

Usage

to_savable(gnn)
to_callable(gnn)

Arguments

gnn

GNN object.

Details

For GMMNs, to_savable() calls serialize_model() and to_callable() calls unserialize_model().

See the source code for more details.

Value

to_savable():

The GNN object with keras components replaced by savable ones.

to_callable():

The GNN object with certain components replaced by keras objects.

Author(s)

Marius Hofert


[Package gnn version 0.0-3 Index]