コード例 #1
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;
 }
コード例 #2
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;
 }