1. Test Modules
  2. Network Diagram
  3. Serialization
    1. Raw Json
  4. Results

Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase

Test Modules

Network Diagram

This is a network apply the following layout:

LayerTests.java:203 executed in 0.43 seconds (0.000 gc):

    return Graphviz.fromGraph((Graph) TestUtil.toGraph(((DAGNetwork) layer).addRef())).height(400).width(600)
        .render(Format.PNG).toImage();
Logging
executing command [/bin/sh, -c, dot -Tsvg /tmp/GraphvizJava/DotEngine6513358049971765982/dotfile.dot -ooutfile.svg]

Returns

Result

Using Seed 7919170148102539264

Serialization

This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.

Raw Json

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": "998927db-ad01-4b66-8477-1379fc8e0976",
      "isFrozen": false,
      "name": "Conv [3/1 x 3/1, 9]+",
      "inputs": [
        "3daa74ee-db80-4003-a736-06bfca0e5e97"
      ],
      "nodes": {
        "c892d792-562f-4aac-828d-00073eed495b": "2ca5b710-5eaf-45b3-9ab4-9b1784b87711"
      },
      "layers": {
        "2ca5b710-5eaf-45b3-9ab4-9b1784b87711": {
          "class": "com.simiacryptus.mindseye.layers.cudnn.ImgTileSubnetLayer",
          "id": "2ca5b710-5eaf-45b3-9ab4-9b1784b87711",
          "isFrozen": false,
          "name": "ImgTileSubnetLayer",
          "inner": {
            "class": "com.simiacryptus.mindseye.network.PipelineNetwork",
            "id": "ab56d6d5-6a24-4ddf-bffb-4e51c29d1f39",
            "isFrozen": false,
            "name": "PipelineNetwork",
            "inputs": [
              "e977e6d1-1277-493e-b6fd-32731a7ce90c"
            ],
            "nodes": {
              "43395718-3eb1-425a-a9c0-19f0a1bcdff4": "c89f398e-150c-4de8-a42a-7154c43abf0e",
              "9fc2e687-2683-48ea-994a-785e283a454f": "bdfb1cae-a2f7-4bc7-8973-308955e15828",
              "8aec84de-e59f-49d2-a0ea-2a5073a12ed5": "6b249136-b2c3-411e-9565-baf6b9328617"
            },
            "layers": {
              "c89f398e-150c-4de8-a42a-7154c43abf0e": {
                "class": "com.simiacryptus.mindseye.layers.cudnn.ImgZeroPaddingLayer",
                "id": "c89f398e-150c-4de8-a42a-7154c43abf0e",
                "isFrozen": false,
                "name": "ImgZeroPaddingLayer",
                "sizeY": 1,
                "sizeX": 1,
                "precision": "Double"
              },
              "bdfb1cae-a2f7-4bc7-8973-308955e15828": {
                "class": "com.simiacryptus.mindseye.layers.cudnn.conv.SimpleConvolutionLayer",
                "id": "bdfb1cae-a2f7-4bc7-8973-308955e15828",
                "isFrozen": false,
                "name": "SimpleConvolutionLayer",
                "filter": [
                  [
                    [
                      -0.012,
                      -0.464,
                      0.3
                    ],
                    [
                      -1.72,
                      -1.116,
                      -0.804
                    ],
                    [
                      -1.688,
                      1.208,
                      -0.504
                    ]
                  ],
                  [
                    [
                      -0.068,
                      0.788,
                      -0.768
                    ],
                    [
                      -1.856,
                      1.62,
                      0.148
                    ],
                    [
                      -0.892,
                      -0.032,
                      0.028
                    ]
                  ],
                  [
                    [
                      0.7,
                      -0.384,
                      -0.876
                    ],
                    [
                      1.764,
                      -1.028,
                      0.048
                    ],
                    [
                      1.048,
                      1.42,
                      1.652
                    ]
                  ],
                  [
                    [
                      -1.156,
                      -0.712,
                      0.996
                    ],
                    [
                      1.368,
                      -1.54,
                      0.972
                    ],
                    [
                      1.108,
                      0.52,
                      0.636
                    ]
                  ],
                  [
                    [
                      -0.804,
                      -0.408,
                      -0.384
                    ],
                    [
                      -1.572,
                      -0.852,
                      -1.832
                    ],
                    [
                      1.556,
                      1.032,
                      1.704
                    ]
                  ],
                  [
                    [
                      -1.424,
                      1.156,
                      1.552
                    ],
                    [
                      -1.228,
                      1.876,
                      -1.456
                    ],
                    [
                      -2.0,
                      -0.316,
                      -1.16
                    ]
                  ],
                  [
                    [
                      0.392,
                      -1.476,
                      0.092
                    ],
                    [
                      -0.556,
                      1.612,
                      1.64
                    ],
                    [
                      -1.552,
                      1.556,
                      -0.176
                    ]
                  ],
                  [
                    [
                      1.524,
                      0.048,
                      1.912
                    ],
                    [
                      0.184,
                      -0.472,
                      -0.608
                    ],
                    [
                      0.496,
                      0.08,
                      -0.128
                    ]
                  ],
                  [
                    [
                      1.98,
                      -0.368,
                      -0.628
                    ],
                    [
                      1.512,
                      -1.616,
                      1.356
                    ],
                    [
                      -1.516,
                      -1.492,
                      -0.636
                    ]
                  ]
                ],
                "strideX": 1,
                "strideY": 1,
                "paddingX": 1,
                "paddingY": 1,
                "precision": "Double"
              },
              "6b249136-b2c3-411e-9565-baf6b9328617": {
                "class": "com.simiacryptus.mindseye.layers.cudnn.ImgZeroPaddingLayer",
                "id": "6b249136-b2c3-411e-9565-baf6b9328617",
                "isFrozen": false,
                "name": "ImgZeroPaddingLayer",
                "sizeY": -1,
                "sizeX": -1,
                "precision": "Double"
              }
            },
            "links": {
              "43395718-3eb1-425a-a9c0-19f0a1bcdff4": [
                "e977e6d1-1277-493e-b6fd-32731a7ce90c"
              ],
              "9fc2e687-2683-48ea-994a-785e283a454f": [
                "43395718-3eb1-425a-a9c0-19f0a1bcdff4"
              ],
              "8aec84de-e59f-49d2-a0ea-2a5073a12ed5": [
                "9fc2e687-2683-48ea-994a-785e283a454f"
              ]
            },
            "labels": {},
            "head": "8aec84de-e59f-49d2-a0ea-2a5073a12ed5"
          },
          "height": 9459,
          "width": 9459,
          "strideX": 9458,
          "strideY": 9458,
          "precision": "Double",
          "parallel": false
        }
      },
      "links": {
        "c892d792-562f-4aac-828d-00073eed495b": [
          "3daa74ee-db80-4003-a736-06bfca0e5e97"
        ]
      },
      "labels": {},
      "head": "c892d792-562f-4aac-828d-00073eed495b"
    }

Wrote Model to PipelineNetwork_jsonTest.json; 6498 characters

LayerTests.java:425 executed in 0.00 seconds (0.000 gc):

    throwException(exceptions.addRef());

Results

classresult
com.simiacryptus.mindseye.test.unit.SerializationTestOK
  {
    "result": "OK",
    "performance": {
      "execution_time": "1.146",
      "gc_time": "0.199"
    },
    "created_on": 1586748076501,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "NoPadding",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.conv.ConvolutionLayerTest.NoPadding",
      "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/NoPadding/jsonTest/202004132115",
    "id": "78ec8218-b455-4945-81eb-87476f5e5380",
    "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": ""
    }
  }