You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import com.yahoo.tensorflowonspark.TFModel
val model = new TFModel().setModel(config.export_dir)
.setInputMapping(config.input_mapping)
.setOutputMapping(config.output_mapping)
// transform the input DataFrame
// Note: we're currently dropping input columns for simplicity, you can retrieve them as Tensors if needed.
val predDF = model.transform(df)
https://github.com/yahoo/TensorFlowOnSpark/wiki/Scala-Inference-API#inference-via-tfos-scala-api
References
The text was updated successfully, but these errors were encountered: