Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
Using Seed 5148170778672261120
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": "e1574d38-f93f-4e92-a97a-8904d0b11c9d",
"isFrozen": false,
"name": "ImgConcatLayer",
"maxBands": -1,
"precision": "Float",
"parallel": true
}
Wrote Model to ImgConcatLayer_jsonTest.json; 229 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.518",
"gc_time": "0.169"
},
"created_on": 1586739481196,
"file_name": "jsonTest",
"report": {
"simpleName": "Float",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.ImgConcatLayerTest.Float",
"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/Float/jsonTest/202004135800",
"id": "ff292c34-9300-491e-b294-ef98b29a382d",
"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": ""
}
}