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/DotEngine2554418538472164557/dotfile.dot -ooutfile.svg]
Returns
Using Seed 7356701734046912512
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.network.PipelineNetwork",
"id": "ac37d0a5-1a1d-459d-9a0a-36ba1911b157",
"isFrozen": false,
"name": "Conv [1/1 x 1/1, 4]+",
"inputs": [
"69da71ee-df57-455a-8d46-fa137e541ed7"
],
"nodes": {
"5e6aa11b-9e4b-4050-9d72-d47063fa07f5": "6ab4c9d3-ed16-4501-8740-28c1bfa3f83a"
},
"layers": {
"6ab4c9d3-ed16-4501-8740-28c1bfa3f83a": {
"class": "com.simiacryptus.mindseye.layers.cudnn.ImgTileSubnetLayer",
"id": "6ab4c9d3-ed16-4501-8740-28c1bfa3f83a",
"isFrozen": false,
"name": "ImgTileSubnetLayer",
"inner": {
"class": "com.simiacryptus.mindseye.network.PipelineNetwork",
"id": "013647a3-a578-4270-9020-df02cee40883",
"isFrozen": false,
"name": "PipelineNetwork",
"inputs": [
"cb542548-8808-4b4b-9df4-deb7b057b8d7"
],
"nodes": {
"c9586049-49ef-4be6-92bf-0d36476ad335": "fdd54212-cdaf-4a8f-91d5-96fc210e376c"
},
"layers": {
"fdd54212-cdaf-4a8f-91d5-96fc210e376c": {
"class": "com.simiacryptus.mindseye.layers.cudnn.conv.SimpleConvolutionLayer",
"id": "fdd54212-cdaf-4a8f-91d5-96fc210e376c",
"isFrozen": false,
"name": "SimpleConvolutionLayer",
"filter": [
[
[
0.496
]
],
[
[
0.08
]
],
[
[
-0.128
]
],
[
[
0.7
]
]
],
"strideX": 1,
"strideY": 1,
"paddingX": 0,
"paddingY": 0,
"precision": "Float"
}
},
"links": {
"c9586049-49ef-4be6-92bf-0d36476ad335": [
"cb542548-8808-4b4b-9df4-deb7b057b8d7"
]
},
"labels": {},
"head": "c9586049-49ef-4be6-92bf-0d36476ad335"
},
"height": 16384,
"width": 16384,
"strideX": 16384,
"strideY": 16384,
"precision": "Float",
"parallel": false
}
},
"links": {
"5e6aa11b-9e4b-4050-9d72-d47063fa07f5": [
"69da71ee-df57-455a-8d46-fa137e541ed7"
]
},
"labels": {},
"head": "5e6aa11b-9e4b-4050-9d72-d47063fa07f5"
}
Wrote Model to PipelineNetwork_jsonTest.json; 2419 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.103",
"gc_time": "0.186"
},
"created_on": 1586746972468,
"file_name": "jsonTest",
"report": {
"simpleName": "Float",
"canonicalName": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayerTest.Float",
"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/Float/jsonTest/202004130251",
"id": "e69c2c7c-5846-4afe-9d39-7ba7d7797f68",
"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": ""
}
}