Module delta.ml.io
Functions for IO specific to ML.
Functions
def load_model(filename)-
Load a model.
Parameters
filename:str- Input filename.
def print_layer(l)-
Print a layer to stdout.
l: tensorflow.keras.layers.Layer The layer to print.
def print_network(a, tile_shape=None)-
Print a model to stdout.
a: tensorflow.keras.models.Model The model to print. tile_shape: Optional[Tuple[int, int]] If specified, print layer output sizes (necessary for FCN only).
def save_model(model, filename)-
Save a model. Includes DELTA configuration.
Parameters
model:tensorflow.keras.models.Model- The model to save.
filename:str- Output filename.