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

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

Test Modules

Using Seed 4099485517054757888

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": "fe59bc30-7dff-497a-9efc-39bd7c1d2328",
      "isFrozen": false,
      "name": "ImgCropLayer",
      "baseValue": 0.0,
      "sizeY": 2,
      "sizeX": 2,
      "roundUp": false,
      "horizontalAlign": "Right",
      "verticalAlign": "Center",
      "precision": "Double"
    }

Wrote Model to ImgCropLayer_jsonTest.json; 315 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.494",
      "gc_time": "0.174"
    },
    "created_on": 1586737001213,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Right",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgCropLayerTest.Right",
      "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/Right/jsonTest/202004131640",
    "id": "ff6c3c66-4f34-4dcc-9dc4-d24aa5467c00",
    "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": ""
    }
  }