예제 #1
0
 public IidAnomalyDetectionBase(ArgumentsBase args, string name, IHostEnvironment env, IidAnomalyDetectionBaseWrapper parent)
     : base(args, name, env)
 {
     InitialWindowSize = 0;
     StateRef          = new State();
     StateRef.InitState(WindowSize, InitialWindowSize, this, Host);
     Parent = parent;
 }
예제 #2
0
 public IidAnomalyDetectionBase(IHostEnvironment env, ModelLoadContext ctx, string name, IidAnomalyDetectionBaseWrapper parent)
     : base(env, ctx, name)
 {
     Host.CheckDecode(InitialWindowSize == 0);
     StateRef = new State(ctx.Reader);
     StateRef.InitState(this, Host);
     Parent = parent;
 }