Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
Using Seed 5138797472981531648
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.RescaledSubnetLayer",
"id": "43ee6b62-1553-422d-afa5-fe966f0c8570",
"isFrozen": false,
"name": "RescaledSubnetLayer",
"scale": 2,
"inner": {
"class": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayer",
"id": "e1287472-1f6a-499a-bd44-7e22f59f711d",
"isFrozen": false,
"name": "Conv [3/1 x 3/1, 1]",
"filter": [
[
[
0.092,
0.392,
-0.176
],
[
0.788,
1.612,
1.556
],
[
-0.068,
-0.56,
1.088
]
]
],
"batchBands": 5461,
"strideX": 1,
"strideY": 1,
"precision": "Double",
"inputBands": 1,
"outputBands": 1
},
"precision": "Double"
}
Wrote Model to RescaledSubnetLayer_jsonTest.json; 801 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.546",
"gc_time": "0.193"
},
"created_on": 1586745278942,
"file_name": "jsonTest",
"report": {
"simpleName": "Basic",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.RescaledSubnetLayerTest.Basic",
"link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/test/java/com/simiacryptus/mindseye/layers/cudnn/RescaledSubnetLayerTest.java",
"javaDoc": ""
},
"archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/cudnn/RescaledSubnetLayer/Basic/jsonTest/202004133438",
"id": "0fabd5e3-cce0-4278-94be-7b0738770928",
"report_type": "Components",
"display_name": "JSON Serialization",
"target": {
"simpleName": "RescaledSubnetLayer",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.RescaledSubnetLayer",
"link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/main/java/com/simiacryptus/mindseye/layers/cudnn/RescaledSubnetLayer.java",
"javaDoc": ""
}
}