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 1.58 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/DotEngine5750676978849798589/dotfile.dot -ooutfile.svg]

Returns

Result

Using Seed 6170616677380928512

Serialization

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

Raw Json

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": "f2871537-63ae-4fd0-a76f-608726ecc217",
      "isFrozen": false,
      "name": "PipelineNetwork",
      "inputs": [
        "a0319392-9091-47b3-814b-7ebd6c454e27"
      ],
      "nodes": {
        "3d80b2a3-fd08-4578-b560-223287c083cb": "bbb57a9f-505f-403b-b0ee-e2904a9319e3"
      },
      "layers": {
        "bbb57a9f-505f-403b-b0ee-e2904a9319e3": {
          "class": "com.simiacryptus.mindseye.layers.cudnn.SumInputsLayer",
          "id": "bbb57a9f-505f-403b-b0ee-e2904a9319e3",
          "isFrozen": false,
          "name": "SumInputsLayer",
          "precision": "Double",
          "parallel": true
        }
      },
      "links": {
        "3d80b2a3-fd08-4578-b560-223287c083cb": [
          "a0319392-9091-47b3-814b-7ebd6c454e27",
          "a0319392-9091-47b3-814b-7ebd6c454e27"
        ]
      },
      "labels": {},
      "head": "3d80b2a3-fd08-4578-b560-223287c083cb"
    }

Wrote Model to PipelineNetwork_jsonTest.json; 858 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": "2.380",
      "gc_time": "0.199"
    },
    "created_on": 1586742171630,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "OnePlusOne",
      "canonicalName": "com.simiacryptus.mindseye.layers.cudnn.SumInputsLayerTest.OnePlusOne",
      "link": "https://github.com/SimiaCryptus/mindseye-cudnn/tree/59d5b3318556370acb2d83ee6ec123ce0fc6974f/src/test/java/com/simiacryptus/mindseye/layers/cudnn/SumInputsLayerTest.java",
      "javaDoc": ""
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/SumInputsLayer/OnePlusOne/jsonTest/202004134250",
    "id": "c9e4e969-7bab-4d8b-9b83-b975e9a5ccca",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "SumInputsLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.SumInputsLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/main/java/com/simiacryptus/mindseye/layers/java/SumInputsLayer.java",
      "javaDoc": ""
    }
  }