Skip to content

Commit

Permalink
deprecate dlframe (intel-analytics#3012)
Browse files Browse the repository at this point in the history
* deprecate dlframe
  • Loading branch information
Le-Zheng committed Jun 28, 2020
1 parent c3e2b98 commit d1bea93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ import scala.reflect.ClassTag
* @param criterion BigDL criterion method
* @param featureSize The size (Tensor dimensions) of the feature data.
*/
@deprecated("`DLClassifier` is deprecated." +
"com.intel.analytics.bigdl.dlframes is deprecated in BigDL 0.11, " +
"and will be removed in future releases", "0.10.0")
class DLClassifier[T: ClassTag](
@transient override val model: Module[T],
override val criterion : Criterion[T],
Expand Down Expand Up @@ -65,6 +68,9 @@ class DLClassifier[T: ClassTag](
* @param model BigDL module to be optimized
* @param featureSize The size (Tensor dimensions) of the feature data.
*/
@deprecated("`DLClassifierModel` is deprecated." +
"com.intel.analytics.bigdl.dlframes is deprecated in BigDL 0.11, " +
"and will be removed in future releases", "0.10.0")
class DLClassifierModel[T: ClassTag](
@transient override val model: Module[T],
featureSize : Array[Int],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ private[dlframes] trait DLParams[@specialized(Float, Double) T] extends HasFeatu
* width * height = 28 * 28, featureSize = Array(28, 28).
* @param labelSize The size (Tensor dimensions) of the label data.
*/
@deprecated("`DLEstimator` is deprecated." +
"com.intel.analytics.bigdl.dlframes is deprecated in BigDL 0.11, " +
"and will be removed in future releases", "0.10.0")
class DLEstimator[@specialized(Float, Double) T: ClassTag](
@transient val model: Module[T],
val criterion : Criterion[T],
Expand Down Expand Up @@ -359,6 +362,9 @@ class DLEstimator[@specialized(Float, Double) T: ClassTag](
* @param featureSize The size (Tensor dimensions) of the feature data. (e.g. an image may be with
* featureSize = 28 * 28).
*/
@deprecated("`DLModel` is deprecated." +
"com.intel.analytics.bigdl.dlframes is deprecated in BigDL 0.11, " +
"and will be removed in future releases", "0.10.0")
class DLModel[@specialized(Float, Double) T: ClassTag](
@transient val model: Module[T],
var featureSize : Array[Int],
Expand Down

0 comments on commit d1bea93

Please sign in to comment.