示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JsonArrayResponse" /> class.
 /// </summary>
 /// <param name="array">array.</param>
 public JsonArrayResponse(INDArray array = default(INDArray))
 {
     this.Array = array;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Prediction" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="needsPreProcessing">needsPreProcessing.</param>
 /// <param name="prediction">prediction.</param>
 /// <param name="inputMask">inputMask.</param>
 public Prediction(string id = default(string), bool?needsPreProcessing = default(bool?), INDArray prediction = default(INDArray), INDArray inputMask = default(INDArray))
 {
     this.Id = id;
     this.NeedsPreProcessing = needsPreProcessing;
     this._Prediction        = prediction;
     this.InputMask          = inputMask;
 }