We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c314e commit 2397321Copy full SHA for 2397321
mllib/src/main/scala/org/apache/spark/ml/image/ImageSchema.scala
@@ -35,6 +35,8 @@ import org.apache.spark.sql.types._
35
*/
36
@Experimental
37
@Since("2.3.0")
38
+@deprecated("use `spark.read.format(\"image\").load(path)` and this `ImageSchema` will be " +
39
+ "removed in 3.0.0.", "2.4.0")
40
object ImageSchema {
41
42
val undefinedImageType = "Undefined"
python/pyspark/ml/image.py
@@ -20,6 +20,9 @@
20
21
An attribute of this module that contains the instance of :class:`_ImageSchema`.
22
23
+.. note:: Deprecated in 2.4.0. Use `spark.read.format("image").load(path)` instead and
24
+ this :py:attribute:`ImageSchema` will be removed in 3.0.0.
25
+
26
.. autoclass:: _ImageSchema
27
:members:
28
"""
0 commit comments