onnxmltools
onnxmltools copied to clipboard
sparkml utils.py getTensorTypeFromSpark for batch inputs; buildInputDictSimple excludes StringType()
- getTensorTypeFromSpark() returns tensor types of shape [1,1]: This should be updated to [None,1] to accommodate batch data input.
- buildInputDictSimple() only accounts for 'StringType' string dataType: This should also include for 'StringType()'
Submitted PR to fix issues mentioned above.