/// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation();

            result.TrainingType = GetType().Name;

            result.Set(LastGradientsConst, LastGradient);
            result.Set(UpdateValuesConst, _updateValues);

            return(result);
        }
        /// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation();

            result.TrainingType = GetType().Name;

            result.Set(LastGradients,
                       ((TrainFlatNetworkResilient)FlatTraining).LastGradient);
            result.Set(UpdateValues,
                       ((TrainFlatNetworkResilient)FlatTraining).UpdateValues);

            return(result);
        }
Example #3
0
        /// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation {
                TrainingType = GetType().Name
            };

            result.Set(PropertyLastDelta, _lastDelta);
            return(result);
        }
Example #4
0
        /// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation {
                TrainingType = GetType().Name
            };
            var backFlat = (TrainFlatNetworkBackPropagation)FlatTraining;

            double[] d = backFlat.LastDelta;
            result.Set(PropertyLastDelta, d);
            return(result);
        }
Example #5
0
        /// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation();

            result.TrainingType = GetType().Name;

            result.Set(LastGradientsConst,LastGradient);
            result.Set(UpdateValuesConst,_updateValues);

            return result;
        }
        /// <summary>
        /// Pause the training.
        /// </summary>
        ///
        /// <returns>A training continuation object to continue with.</returns>
        public override sealed TrainingContinuation Pause()
        {
            var result = new TrainingContinuation();

            result.TrainingType = GetType().Name;

            result.Set(LastGradients,
                       ((TrainFlatNetworkResilient) FlatTraining).LastGradient);
            result.Set(UpdateValues,
                       ((TrainFlatNetworkResilient) FlatTraining).UpdateValues);

            return result;
        }
 /// <summary>
 /// Pause the training.
 /// </summary>
 ///
 /// <returns>A training continuation object to continue with.</returns>
 public override sealed TrainingContinuation Pause()
 {
     var result = new TrainingContinuation {TrainingType = GetType().Name};
     result.Set(PropertyLastDelta, _lastDelta);
     return result;
 }
 /// <summary>
 /// Pause the training.
 /// </summary>
 ///
 /// <returns>A training continuation object to continue with.</returns>
 public override sealed TrainingContinuation Pause()
 {
     var result = new TrainingContinuation {TrainingType = GetType().Name};
     var backFlat = (TrainFlatNetworkBackPropagation) FlatTraining;
     double[] d = backFlat.LastDelta;
     result.Set(PropertyLastDelta, d);
     return result;
 }