fromJson static method

ANN fromJson(
  1. String s, {
  2. int? seed,
  3. int? epochs,
  4. double? lr,
})

Implementation

static ANN fromJson(String s, {int? seed, int? epochs, double? lr}) {
  final m = jsonDecode(s) as Map<String, dynamic>;
  return fromMap(m, seed: seed, epochs: epochs, lr: lr);
}