Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
Using Seed 1345033481862586368
This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.
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": "8ef33cad-4f6f-4fbc-9b6a-3cce12c29c19",
"isFrozen": false,
"name": "ImgConcatLayer",
"maxBands": -1,
"precision": "Double",
"parallel": true
}
Wrote Model to ImgConcatLayer_jsonTest.json; 230 characters
LayerTests.java:425 executed in 0.00 seconds (0.000 gc):
throwException(exceptions.addRef());
class | result |
---|---|
com.simiacryptus.mindseye.test.unit.SerializationTest | OK |
{
"result": "OK",
"performance": {
"execution_time": "0.513",
"gc_time": "0.181"
},
"created_on": 1586739161463,
"file_name": "jsonTest",
"report": {
"simpleName": "Double",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgConcatLayerTest.Double",
"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/Double/jsonTest/202004135240",
"id": "8241506a-0425-4ca7-9230-23cffe06bea8",
"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": ""
}
}