Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
Using Seed 7960184759265453056
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.java.ImgPixelSoftmaxLayer",
"id": "a13693dc-b641-4565-8127-b18d9da3d36c",
"isFrozen": false,
"name": "ImgPixelSoftmaxLayer"
}
Wrote Model to ImgPixelSoftmaxLayer_jsonTest.json; 178 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.622",
"gc_time": "0.321"
},
"created_on": 1586735124502,
"file_name": "jsonTest",
"report": {
"simpleName": "Basic",
"canonicalName": "com.simiacryptus.mindseye.layers.java.ImgPixelSoftmaxLayerTest.Basic",
"link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/test/java/com/simiacryptus/mindseye/layers/java/ImgPixelSoftmaxLayerTest.java",
"javaDoc": ""
},
"archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/ImgPixelSoftmaxLayer/Basic/jsonTest/202004124524",
"id": "f250ad39-91d1-4103-825e-76ef02b760fe",
"report_type": "Components",
"display_name": "JSON Serialization",
"target": {
"simpleName": "ImgPixelSoftmaxLayer",
"canonicalName": "com.simiacryptus.mindseye.layers.java.ImgPixelSoftmaxLayer",
"link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/main/java/com/simiacryptus/mindseye/layers/java/ImgPixelSoftmaxLayer.java",
"javaDoc": ""
}
}