Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.7k views
in Technique[技术] by (71.8m points)

what does `The TensorFlow runtime has components that are lazily initialized` mean?

Official document TensorFlow SavedModel Warmup says:

The TensorFlow runtime has components that are lazily initialized, which can cause high latency for the first request/s sent to a model after it is loaded. This latency can be several orders of magnitude higher than that of a single inference request.

In my opinion, since a prediction process could warmups a model, components that are lazily initialized couldn't be the init_op of the graph, because init_op only depends on parameters saved in SavedModel, and TFS will call the restore_op to do the initializations.

If I'm right with this, then what is the components that are lazily initialized ?

question from:https://stackoverflow.com/questions/65932699/what-does-the-tensorflow-runtime-has-components-that-are-lazily-initialized-me

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...