code: public static ComputationGraphSpace fromYaml(String yaml) {
          try {
              return YamlMapper.getMapper().readValue(yaml, ComputationGraphSpace.class);
          } catch (IOException e) {
              throw new RuntimeException(e);
          }
      }
docs: Instantiate a computation graph space
  from a raw yaml string
  @param yaml
  @return