public SrCnnAnomalyDetectionBaseCore(IHostEnvironment env, ModelLoadContext ctx, string name, SrCnnAnomalyDetectionBase parent)
     : base(env, ctx, name)
 {
     StateRef = new State(ctx.Reader);
     StateRef.InitState(this, Host);
     Parent = parent;
 }
 public SrCnnAnomalyDetectionBaseCore(SrCnnArgumentBase args, string name, IHostEnvironment env, SrCnnAnomalyDetectionBase parent)
     : base(args, name, env)
 {
     InitialWindowSize = WindowSize;
     StateRef          = new State();
     StateRef.InitState(WindowSize, InitialWindowSize, this, Host);
     Parent = parent;
 }