1. Test Modules
  2. Serialization
    1. Raw Json
  3. Results

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

Test Modules

Using Seed 7194818915374177280

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.layers.java.FullyConnectedReferenceLayer",
      "id": "32979140-24de-4e1f-9a49-18779a4074df",
      "isFrozen": false,
      "name": "FullyConnectedReferenceLayer",
      "outputDims": [
        2,
        2,
        4
      ],
      "inputDims": [
        3,
        3,
        3
      ],
      "weights": [
        [
          -1.976,
          0.132,
          -1.128,
          -1.408,
          -0.296,
          -0.688,
          -0.448,
          -0.584,
          -1.096,
          0.172,
          -1.9,
          -1.052,
          0.244,
          1.352,
          -0.448,
          1.316,
          0.184,
          -0.652,
          -0.356,
          -1.524,
          1.288,
          1.616,
          1.728,
          0.376,
          0.98,
          -0.344,
          -0.452
        ],
        [
          1.144,
          -1.808,
          -1.552,
          1.66,
          -1.176,
          1.792,
          0.66,
          0.812,
          0.644,
          1.256,
          1.972,
          -1.58,
          1.168,
          -0.212,
          1.18,
          1.264,
          -0.26,
          1.132,
          0.784,
          0.248,
          1.82,
          -1.524,
          0.656,
          -1.104,
          0.072,
          -1.976,
          0.688
        ],
        [
          -1.832,
          -1.856,
          0.048,
          -0.804,
          1.62,
          -0.032,
          -1.228,
          -0.556,
          1.704,
          -0.636,
          -1.516,
          1.876,
          -0.384,
          1.108,
          -0.384,
          1.912,
          -0.608,
          -0.128,
          1.208,
          1.524,
          0.392,
          -0.068,
          1.612,
          1.328,
          -1.8,
          -0.176,
          1.6
        ],
        [
          -1.1,
          -0.968,
          -0.808,
          -1.16,
          -1.176,
          -0.124,
          0.344,
          -0.528,
          -1.248,
          -1.656,
          1.956,
          1.776,
          1.444,
          -0.316,
          0.184,
          -0.628,
          -0.464,
          1.652,
          -0.504,
          -0.472,
          -0.888,
          -0.096,
          1.628,
          -1.456,
          0.52,
          1.628,
          1.42
        ],
        [
          0.992,
          1.884,
          1.544,
          -0.252,
          -1.168,
          -0.092,
          -0.828,
          -0.588,
          1.064,
          0.868,
          -1.596,
          -0.932,
          -1.096,
          -0.452,
          -0.02,
          -0.18,
          1.304,
          0.08,
          -1.472,
          1.448,
          -0.228,
          0.244,
          1.22,
          1.104,
          1.052,
          -1.82,
          0.996
        ],
        [
          1.048,
          1.556,
          0.788,
          1.048,
          0.3,
          1.512,
          0.048,
          0.7,
          0.496,
          0.028,
          -1.688,
          -1.72,
          -0.852,
          -0.736,
          -1.528,
          1.448,
          -1.724,
          1.916,
          1.872,
          -0.432,
          1.436,
          1.156,
          -1.116,
          -1.484,
          -1.764,
          -1.552,
          1.288
        ],
        [
          -0.124,
          -1.372,
          -1.452,
          -0.428,
          -1.684,
          0.164,
          0.836,
          -0.176,
          1.836,
          -0.212,
          0.04,
          1.844,
          -1.248,
          -0.376,
          1.596,
          1.516,
          0.848,
          -1.432,
          0.12,
          1.672,
          -1.736,
          -0.152,
          0.332,
          1.44,
          0.5,
          -1.312,
          0.144
        ],
        [
          -0.86,
          -0.472,
          0.568,
          -0.2,
          0.48,
          1.34,
          1.512,
          1.948,
          -0.084,
          1.904,
          0.1,
          -1.732,
          0.868,
          1.96,
          0.92,
          -1.96,
          1.88,
          0.932,
          -1.42,
          -1.5,
          1.492,
          -1.86,
          -1.656,
          -1.476,
          0.892,
          0.752,
          0.652
        ],
        [
          -0.52,
          -1.312,
          1.524,
          -1.44,
          1.668,
          0.124,
          1.244,
          0.552,
          1.92,
          0.332,
          -1.812,
          0.284,
          1.536,
          -1.524,
          0.328,
          0.948,
          0.84,
          0.572,
          -0.816,
          -0.516,
          -0.948,
          1.664,
          0.08,
          0.312,
          1.656,
          1.656,
          0.56
        ],
        [
          0.568,
          -1.696,
          0.412,
          0.8,
          0.184,
          0.632,
          -0.488,
          -0.848,
          0.488,
          1.596,
          1.012,
          -0.924,
          1.66,
          -1.848,
          1.196,
          0.832,
          1.7,
          0.448,
          -0.148,
          0.356,
          1.652,
          -0.06,
          0.324,
          -1.384,
          1.432,
          0.464,
          1.384
        ],
        [
          0.972,
          1.98,
          -1.16,
          -1.424,
          -1.156,
          -0.012,
          -0.892,
          -1.492,
          0.148,
          -0.876,
          -1.54,
          0.996,
          1.368,
          1.032,
          -0.712,
          1.356,
          1.764,
          0.08,
          -0.804,
          -1.028,
          -1.572,
          1.552,
          -0.408,
          1.64,
          -0.768,
          -1.476,
          0.092
        ],
        [
          -0.684,
          1.836,
          -1.536,
          1.288,
          1.144,
          0.672,
          0.012,
          -0.968,
          -0.784,
          1.24,
          0.82,
          -1.808,
          -1.76,
          -1.34,
          -1.664,
          1.324,
          -1.564,
          0.016,
          -1.256,
          1.352,
          -0.892,
          -1.256,
          -0.312,
          0.56,
          0.52,
          0.688,
          -0.856
        ],
        [
          0.696,
          1.572,
          1.752,
          0.356,
          1.192,
          0.78,
          0.404,
          0.004,
          1.304,
          0.86,
          -0.928,
          0.584,
          0.264,
          1.236,
          1.096,
          1.04,
          0.96,
          -0.68,
          1.348,
          0.868,
          -1.104,
          1.424,
          -1.98,
          -0.784,
          1.172,
          0.86,
          -0.256
        ],
        [
          0.512,
          0.8,
          1.052,
          -0.396,
          -1.764,
          -0.352,
          -0.852,
          0.604,
          1.324,
          0.032,
          0.428,
          1.64,
          1.38,
          -1.3,
          0.924,
          -0.756,
          0.552,
          0.676,
          -0.28,
          -0.228,
          -0.02,
          1.164,
          -1.964,
          -0.612,
          -0.824,
          -0.4,
          0.6
        ],
        [
          -1.804,
          -1.396,
          0.764,
          -0.028,
          1.084,
          -1.92,
          -0.708,
          0.184,
          0.78,
          -1.412,
          -0.832,
          -1.316,
          -1.044,
          -0.032,
          -0.632,
          1.948,
          -0.452,
          -1.5,
          -0.676,
          -1.54,
          1.26,
          1.052,
          -0.468,
          1.22,
          0.284,
          0.66,
          -1.176
        ],
        [
          -0.08,
          -0.936,
          -1.976,
          -0.92,
          -0.76,
          1.96,
          -0.496,
          -1.236,
          -0.572,
          -0.684,
          -1.488,
          -1.18,
          1.836,
          -0.5,
          1.316,
          -1.184,
          -1.836,
          0.76,
          1.984,
          -1.036,
          1.476,
          -0.036,
          0.212,
          0.976,
          -1.636,
          0.844,
          0.908
        ]
      ]
    }

Wrote Model to FullyConnectedReferenceLayer_jsonTest.json; 6203 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": "0.536",
      "gc_time": "0.275"
    },
    "created_on": 1586736140276,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Image",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.FullyConnectedReferenceLayerTest.Image",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/test/java/com/simiacryptus/mindseye/layers/java/FullyConnectedReferenceLayerTest.java",
      "javaDoc": ""
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/FullyConnectedReferenceLayer/Image/jsonTest/202004130219",
    "id": "1b9852bb-87b6-48a3-b42a-b6032886c96d",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "FullyConnectedReferenceLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.FullyConnectedReferenceLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/main/java/com/simiacryptus/mindseye/layers/java/FullyConnectedReferenceLayer.java",
      "javaDoc": ""
    }
  }