1. Test Modules
  2. Serialization
    1. Raw Json
  3. Results

Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase

Test Modules

Using Seed 2430492904412029952

Serialization

This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.

Raw Json

SerializationTest.java:99 executed in 0.00 seconds (0.000 gc):

    final JsonObject json = layer.getJson().getAsJsonObject();
    @Nonnull final Layer echo = Layer.fromJson(json);
    if (layer == echo) {
      echo.freeRef();
      throw new AssertionError("Serialization did not copy");
    }
    if (!layer.equals(echo)) {
      echo.freeRef();
      throw new AssertionError("Serialization not equal");
    }
    echo.freeRef();
    return json;

Returns

    {
      "class": "com.simiacryptus.mindseye.layers.cudnn.ImgCropLayer",
      "id": "9d914fa5-7fdf-4c38-9e0c-7c1eb0da9c55",
      "isFrozen": false,
      "name": "ImgCropLayer",
      "baseValue": 0.0,
      "sizeY": 2,
      "sizeX": 2,
      "roundUp": false,
      "horizontalAlign": "Center",
      "verticalAlign": "Left",
      "precision": "Double"
    }

Wrote Model to ImgCropLayer_jsonTest.json; 314 characters

LayerTests.java:425 executed in 0.00 seconds (0.000 gc):

    throwException(exceptions.addRef());

Results

classresult
com.simiacryptus.mindseye.test.unit.SerializationTestOK
  {
    "result": "OK",
    "performance": {
      "execution_time": "0.503",
      "gc_time": "0.185"
    },
    "created_on": 1586736896869,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Bottom",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgCropLayerTest.Bottom",
      "link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/test/java/com/simiacryptus/mindseye/layers/cudnn/ImgCropLayerTest.java",
      "javaDoc": ""
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/cudnn/ImgCropLayer/Bottom/jsonTest/202004131456",
    "id": "8fc49d25-9caa-4887-8e47-a2763436c557",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "ImgCropLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgCropLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/main/java/com/simiacryptus/mindseye/layers/cudnn/ImgCropLayer.java",
      "javaDoc": ""
    }
  }