Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
This is a network apply the following layout:
LayerTests.java:203 executed in 0.45 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/DotEngine3096820359978790970/dotfile.dot -ooutfile.svg]
Returns
Using Seed 8221574180478536704
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": "a16a21b7-1fd0-47c1-a9bf-e26d12ce532c",
"isFrozen": false,
"name": "Conv [1/1 x 1/1, 6]+",
"inputs": [
"b4488ccd-98cc-4baf-a306-a88215a4c387"
],
"nodes": {
"8c1ebbca-26e6-4477-a72a-0f2425443b81": "98f319ee-75aa-401b-9604-0fd0eb00cf7f",
"7c8f4627-eabe-4ed5-9029-625cf9cfa268": "d163272a-ae92-49f3-9b58-fd2af9df7f38"
},
"layers": {
"98f319ee-75aa-401b-9604-0fd0eb00cf7f": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgTileSubnetLayer",
"id": "98f319ee-75aa-401b-9604-0fd0eb00cf7f",
"isFrozen": false,
"name": "ImgTileSubnetLayer",
"inner": {
"class": "com.simiacryptus.mindseye.network.PipelineNetwork",
"id": "0c8dba50-6882-45d3-adbc-6021c71e139e",
"isFrozen": false,
"name": "PipelineNetwork",
"inputs": [
"56d92f9b-5120-43aa-afc3-44ed31ba27d0"
],
"nodes": {
"37ca0e9b-48c7-4e9c-bc70-78e0f993a3f3": "569b3687-a1ae-4ba1-a87c-8b7f714b114e"
},
"layers": {
"569b3687-a1ae-4ba1-a87c-8b7f714b114e": {
"class": "com.simiacryptus.mindseye.layers.cudnn.conv.SimpleConvolutionLayer",
"id": "569b3687-a1ae-4ba1-a87c-8b7f714b114e",
"isFrozen": false,
"name": "SimpleConvolutionLayer",
"filter": [
[
[
-0.128
]
],
[
[
1.764
]
],
[
[
0.7
]
],
[
[
-0.608
]
],
[
[
0.08
]
],
[
[
0.496
]
],
[
[
1.764
]
],
[
[
0.7
]
],
[
[
0.0
]
]
],
"strideX": 1,
"strideY": 1,
"paddingX": 0,
"paddingY": 0,
"precision": "Double"
}
},
"links": {
"37ca0e9b-48c7-4e9c-bc70-78e0f993a3f3": [
"56d92f9b-5120-43aa-afc3-44ed31ba27d0"
]
},
"labels": {},
"head": "37ca0e9b-48c7-4e9c-bc70-78e0f993a3f3"
},
"height": 16384,
"width": 16384,
"strideX": 16384,
"strideY": 16384,
"precision": "Double",
"parallel": false
},
"d163272a-ae92-49f3-9b58-fd2af9df7f38": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgConcatLayer",
"id": "d163272a-ae92-49f3-9b58-fd2af9df7f38",
"isFrozen": false,
"name": "ImgConcatLayer",
"maxBands": 2,
"precision": "Double",
"parallel": false
}
},
"links": {
"8c1ebbca-26e6-4477-a72a-0f2425443b81": [
"b4488ccd-98cc-4baf-a306-a88215a4c387"
],
"7c8f4627-eabe-4ed5-9029-625cf9cfa268": [
"8c1ebbca-26e6-4477-a72a-0f2425443b81"
]
},
"labels": {},
"head": "7c8f4627-eabe-4ed5-9029-625cf9cfa268"
}
Wrote Model to PipelineNetwork_jsonTest.json; 3373 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.138",
"gc_time": "0.200"
},
"created_on": 1586746069618,
"file_name": "jsonTest",
"report": {
"simpleName": "BandLimit",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayerTest.BandLimit",
"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/BandLimit/jsonTest/202004134748",
"id": "ba69fb5c-200a-4ca7-ac36-14deeae8b95c",
"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": ""
}
}