// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD // license as described in the file LICENSE. // // -------------------------------------------------------------------------------------------------------------------- namespace VW { /// /// Enables multi-threaded prediction by utilizing a pool of instances. /// public sealed class VowpalWabbitJsonThreadedPrediction : VowpalWabbitThreadedPredictionBase { /// /// Initializes a new instance of . /// /// The model used by each pool instance. public VowpalWabbitJsonThreadedPrediction(VowpalWabbitModel model = null) : base(model) { } /// /// Creates a new instance of . /// /// The wrapped vw instance. protected override VowpalWabbitJson InternalCreate(VowpalWabbit vw) { return new VowpalWabbitJson(vw); } } }