TfannLayer.fromJsonMap constructor

TfannLayer.fromJsonMap(
  1. Map json
)

Implementation

TfannLayer.fromJsonMap(Map json)
    : bias = FVector.fromJson(json["bias"]),
      weights = FLeftMatrix.fromJson(json["weights"]),
      activationFunc = mapActivationFunction[
          activationTypeFromString[json["activation"]]!]!;