synapse.ml.onnx package
Submodules
synapse.ml.onnx.ImageFeaturizer module
- class synapse.ml.onnx.ImageFeaturizer.ImageFeaturizer(java_obj=None, autoConvertToColor=True, channelNormalizationMeans=[0.485, 0.456, 0.406], channelNormalizationStds=[0.229, 0.224, 0.225], colorScaleFactor=0.00392156862745098, dropNa=True, featureTensorName=None, headless=True, ignoreDecodingErrors=False, imageHeight=None, imageTensorName=None, imageWidth=None, inputCol=None, onnxModel=None, outputCol='ImageFeaturizer_33b11e8ac258_output', outputTensorName='')[source]
Bases:
_ImageFeaturizer
- Parameters:
synapse.ml.onnx.ONNXModel module
- class synapse.ml.onnx.ONNXModel.MapInfo(key_type: str, value_type: str, size: int = - 1)[source]
Bases:
ValueInfo
- class synapse.ml.onnx.ONNXModel.ONNXModel(java_obj=None, argMaxDict=None, deviceType=None, feedDict=None, fetchDict=None, miniBatcher=None, modelPayload=None, optimizationLevel='ALL_OPT', softMaxDict=None)[source]
Bases:
_ONNXModel
- Parameters:
- class synapse.ml.onnx.ONNXModel.SequenceInfo(length: int, sequence_of_maps: bool, map_info: MapInfo, sequence_type: str)[source]
Bases:
ValueInfo
- classmethod from_java(java_sequence_info: JavaObject) SequenceInfo [source]
Module contents
SynapseML is an ecosystem of tools aimed towards expanding the distributed computing framework Apache Spark in several new directions. SynapseML adds many deep learning and data science tools to the Spark ecosystem, including seamless integration of Spark Machine Learning pipelines with Microsoft Cognitive Toolkit (CNTK), LightGBM and OpenCV. These tools enable powerful and highly-scalable predictive and analytical models for a variety of datasources.
SynapseML also brings new networking capabilities to the Spark Ecosystem. With the HTTP on Spark project, users can embed any web service into their SparkML models. In this vein, SynapseML provides easy to use SparkML transformers for a wide variety of Microsoft Cognitive Services. For production grade deployment, the Spark Serving project enables high throughput, sub-millisecond latency web services, backed by your Spark cluster.
SynapseML requires Scala 2.12, Spark 3.0+, and Python 3.6+.