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

Target Description: The type Gaussian noise layer.

Report Description: The type Basic.

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

Test Modules

Using Seed 4436183185522131968

Serialization

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

Raw Json

SerializationTest.java:129 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.GaussianNoiseLayer",
      "id": "7ed39c26-86d2-42c2-81e1-e045cd923404",
      "isFrozen": false,
      "name": "GaussianNoiseLayer",
      "value": 1.0,
      "seed": -2385482732480886378
    }

Wrote Model to GaussianNoiseLayer_jsonTest.json; 222 characters

LayerTests.java:605 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.491",
      "gc_time": "0.228"
    },
    "created_on": 1587006588697,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Basic",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.GaussianNoiseLayerTest.Basic",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/test/java/com/simiacryptus/mindseye/layers/java/GaussianNoiseLayerTest.java",
      "javaDoc": "The type Basic."
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/GaussianNoiseLayer/Basic/jsonTest/202004160948",
    "id": "0397485d-b948-4560-adff-664de716b267",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "GaussianNoiseLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.GaussianNoiseLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/main/java/com/simiacryptus/mindseye/layers/java/GaussianNoiseLayer.java",
      "javaDoc": "The type Gaussian noise layer."
    }
  }