protected override void Dispose(bool disposing) { if (disposing) { _filter?.Dispose(); _filter2?.Dispose(); } base.Dispose(disposing); }
protected virtual void Dispose(bool disposing) { if (disposing) { _bias.Dispose(); _weightTranspose.Dispose(); } }
public override void Dispose() { if (mask != null) { mask.Dispose(); } mask = null; }
protected virtual void Dispose(bool disposing) { if (disposing) { foreach (var item in _layer) { item.Dispose(); } _initialMemory.Dispose(); } }
public override void Dispose() { if (WeightsMatrix != null) { WeightsMatrix.Dispose(); } if (BiasVector != null) { BiasVector.Dispose(); } WeightsMatrix = null; BiasVector = null; }
public void Dispose() { _theta.Dispose(); }
protected override void _Dispose(bool isDisposing) { _bias.Dispose(); _weight.Dispose(); }
protected override void _Dispose(bool isDisposing) { _filter.Dispose(); _bias.Dispose(); }
public void Dispose() { _bias.Dispose(); _weight.Dispose(); }
public void Dispose() { Center.Dispose(); }