fromMap static method
Implementation
static CNN fromMap(Map<String, dynamic> m, {int? seed}) {
final head = ANN.fromMap(m['head'] as Map<String, dynamic>, seed: seed);
final model = CNN(
height: m['height'] as int,
width: m['width'] as int,
channels: m['channels'] as int,
headLayers: head.layers,
seed: seed,
);
model.head.applyParamsFrom(head);
return model;
}