Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
This is a network apply the following layout:
LayerTests.java:203 executed in 0.44 seconds (0.000 gc):
return Graphviz.fromGraph((Graph) TestUtil.toGraph(((DAGNetwork) layer).addRef())).height(400).width(600)
.render(Format.PNG).toImage();
executing command [/bin/sh, -c, dot -Tsvg /tmp/GraphvizJava/DotEngine2568132728502479186/dotfile.dot -ooutfile.svg]
Returns
This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.
SerializationTest.java:99 executed in 0.01 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.network.PipelineNetwork",
"id": "5d3c8c6f-2a43-4ac7-8711-c5b967e16f38",
"isFrozen": false,
"name": "Conv [3/1 x 3/1, 16]+",
"inputs": [
"b0eea685-3459-49cb-8385-85f7e5eaf203"
],
"nodes": {
"c826b741-7192-49b4-b007-46ac14e06a04": "7b2c91a8-265b-432f-b196-4d8dd77cdc8b"
},
"layers": {
"7b2c91a8-265b-432f-b196-4d8dd77cdc8b": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgTileSubnetLayer",
"id": "7b2c91a8-265b-432f-b196-4d8dd77cdc8b",
"isFrozen": false,
"name": "ImgTileSubnetLayer",
"inner": {
"class": "com.simiacryptus.mindseye.network.PipelineNetwork",
"id": "1147bdb7-f10b-4c3e-8df6-877f2d82d696",
"isFrozen": false,
"name": "PipelineNetwork",
"inputs": [
"4c3a51c8-dabb-4d5a-943f-07b64617942b"
],
"nodes": {
"9b425f4a-34b6-4cf3-9f40-a0d4e6341007": "3cec85b5-b78d-475d-99e8-561fbad1ab3e",
"239d2839-8679-404f-96d3-650bd6ee8bcc": "4416276b-7b8e-4a6e-b89a-f72fbe1a8856",
"93160638-8f30-4bee-94f7-5a3bf118a8e1": "8be19d91-ac1b-427d-bc75-444d99060687"
},
"layers": {
"3cec85b5-b78d-475d-99e8-561fbad1ab3e": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgZeroPaddingLayer",
"id": "3cec85b5-b78d-475d-99e8-561fbad1ab3e",
"isFrozen": false,
"name": "ImgZeroPaddingLayer",
"sizeY": 1,
"sizeX": 1,
"precision": "Double"
},
"4416276b-7b8e-4a6e-b89a-f72fbe1a8856": {
"class": "com.simiacryptus.mindseye.layers.cudnn.conv.SimpleConvolutionLayer",
"id": "4416276b-7b8e-4a6e-b89a-f72fbe1a8856",
"isFrozen": false,
"name": "SimpleConvolutionLayer",
"filter": [
[
[
1.144,
-1.552,
-1.524
],
[
-0.684,
-1.176,
1.836
],
[
-1.808,
-1.34,
-1.536
]
],
[
[
0.636,
0.3,
1.556
],
[
1.032,
1.048,
-0.712
],
[
1.512,
-1.616,
1.356
]
],
[
[
1.556,
-0.176,
1.288
],
[
-1.424,
-0.804,
0.148
],
[
0.56,
1.444,
1.956
]
],
[
[
-0.068,
1.628,
1.64
],
[
0.788,
-0.808,
-1.1
],
[
-0.384,
-1.176,
-1.256
]
],
[
[
1.368,
-1.564,
1.144
],
[
1.66,
-0.876,
1.652
],
[
-1.764,
0.692,
1.256
]
],
[
[
-0.852,
-0.384,
-1.72
],
[
-1.028,
0.028,
1.108
],
[
1.912,
-0.804,
-1.688
]
],
[
[
-0.556,
1.62,
-0.472
],
[
-0.504,
-2.0,
-1.456
],
[
-0.464,
-0.012,
1.42
]
],
[
[
-1.16,
-0.368,
1.98
],
[
-0.628,
0.972,
-1.284
],
[
-0.316,
0.52,
-1.116
]
],
[
[
-1.724,
1.916,
-1.832
],
[
-1.856,
0.996,
0.82
],
[
1.352,
1.628,
-1.484
]
],
[
[
1.704,
-1.476,
-0.032
],
[
-0.892,
1.776,
-1.34
],
[
0.52,
1.168,
0.672
]
],
[
[
1.208,
1.524,
1.764
],
[
0.048,
0.7,
0.08
],
[
-0.608,
-0.128,
0.496
]
],
[
[
-1.228,
-0.312,
0.644
],
[
-0.892,
-0.968,
-0.784
],
[
0.812,
0.012,
-1.808
]
],
[
[
-1.248,
-1.664,
1.288
],
[
1.972,
0.344,
1.324
],
[
0.048,
-0.888,
-1.256
]
],
[
[
-1.492,
-1.656,
-0.856
],
[
-0.636,
1.876,
-0.408
],
[
-1.572,
-1.516,
-1.58
]
],
[
[
0.092,
-1.54,
0.392
],
[
-0.768,
-1.156,
0.184
],
[
1.612,
-0.852,
0.016
]
],
[
[
0.82,
0.66,
-0.968
],
[
1.552,
0.688,
-1.16
],
[
-0.124,
-1.76,
1.24
]
]
],
"strideX": 1,
"strideY": 1,
"paddingX": 1,
"paddingY": 1,
"precision": "Double"
},
"8be19d91-ac1b-427d-bc75-444d99060687": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgZeroPaddingLayer",
"id": "8be19d91-ac1b-427d-bc75-444d99060687",
"isFrozen": false,
"name": "ImgZeroPaddingLayer",
"sizeY": -1,
"sizeX": -1,
"precision": "Double"
}
},
"links": {
"9b425f4a-34b6-4cf3-9f40-a0d4e6341007": [
"4c3a51c8-dabb-4d5a-943f-07b64617942b"
],
"239d2839-8679-404f-96d3-650bd6ee8bcc": [
"9b425f4a-34b6-4cf3-9f40-a0d4e6341007"
],
"93160638-8f30-4bee-94f7-5a3bf118a8e1": [
"239d2839-8679-404f-96d3-650bd6ee8bcc"
]
},
"labels": {},
"head": "93160638-8f30-4bee-94f7-5a3bf118a8e1"
},
"height": 9459,
"width": 9459,
"strideX": 9458,
"strideY": 9458,
"precision": "Double",
"parallel": false
}
},
"links": {
"c826b741-7192-49b4-b007-46ac14e06a04": [
"b0eea685-3459-49cb-8385-85f7e5eaf203"
]
},
"labels": {},
"head": "c826b741-7192-49b4-b007-46ac14e06a04"
}
Wrote Model to PipelineNetwork_jsonTest.json; 9073 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": "1.171",
"gc_time": "0.197"
},
"created_on": 1586746699301,
"file_name": "jsonTest",
"report": {
"simpleName": "Double",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayerTest.Double",
"link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/test/java/com/simiacryptus/mindseye/layers/cudnn/conv/ConvolutionLayerTest.java",
"javaDoc": ""
},
"archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/cudnn/conv/ConvolutionLayer/Double/jsonTest/202004135818",
"id": "62661daa-91ca-4e6e-b81c-41a4f20f18f3",
"report_type": "Components",
"display_name": "JSON Serialization",
"target": {
"simpleName": "ConvolutionLayer",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayer",
"link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/main/java/com/simiacryptus/mindseye/layers/cudnn/conv/ConvolutionLayer.java",
"javaDoc": ""
}
}