英文:
In AWS SageMaker, what's the difference between `sagemaker_runtime.invoke_endpoint` and `predictor.predict`?
问题
sagemaker_runtime.invoke_endpointpredictor.predict
这两种方法之间有什么区别吗?
英文:
I see there are two ways to trigger a model:
sagemaker_runtime.invoke_endpointpredictor.predict
Is there a difference between the two?
答案1
得分: 1
Boto3的sagemaker_runtime.invoke_endpoint映射到底层的InvokeEndpoint API
predictor.predict是高级SDK调用,封装了sagemaker_runtime.invoke_endpoint。
英文:
Boto3 sagemaker_runtime.invoke_endpoint maps to the low level InvokeEndpoint API
predictor.predict is the High level SDK call which is wrapping the sagemaker_runtime.invoke_endpoint.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论