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

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

Test Modules

Using Seed 1469552909961315328

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.ImgConcatLayer",
      "id": "222e0541-d1fb-4902-95fe-4b654c4a6041",
      "isFrozen": false,
      "name": "ImgConcatLayer",
      "maxBands": 8,
      "precision": "Double",
      "parallel": true
    }

Wrote Model to ImgConcatLayer_jsonTest.json; 229 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.518",
      "gc_time": "0.195"
    },
    "created_on": 1586739075252,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "BandConcatLimitTest",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgConcatLayerTest.BandConcatLimitTest",
      "link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/test/java/com/simiacryptus/mindseye/layers/cudnn/ImgConcatLayerTest.java",
      "javaDoc": ""
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/cudnn/ImgConcatLayer/BandConcatLimitTest/jsonTest/202004135114",
    "id": "83b22fe2-c8cc-4870-af27-3735c044c06d",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "ImgConcatLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgConcatLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/main/java/com/simiacryptus/mindseye/layers/cudnn/ImgConcatLayer.java",
      "javaDoc": ""
    }
  }