tensorflow serving Predict vs Classify

predict 比 Classify 更宽泛, Classify API is higher-level and more specific than Predict API. 

Classify accepts tensorflow . serving . Input (which wraps a list of tf.Examples) as input and produces classes and scores as output. It is used for classification problems. 

Predict, on the other than, accepts tensors as input and outputs tensors. It can be used for regression, classification and other types of inference problems

你可能感兴趣的:(tensorflow serving Predict vs Classify)