MCPcopy Create free account
hub / github.com/alibaba/nann / ComputeWaitTime

Function ComputeWaitTime

tensorflow/tensorflow/core/framework/model.cc:48–123  ·  view source on GitHub ↗

Given the average time between output events (`output_time`), the average time between input events (`input_time`) and the buffer size, the method computes the expected time an input event will have to wait. The wait time is approximated as the product of the probability the buffer will be empty and the time it takes to produce an element into the buffer. The formula used for computing the proba

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SHARED_LOCKS_REQUIREDMethod · 0.85
SHARED_LOCKS_REQUIREDMethod · 0.85

Calls 3

SquareFunction · 0.70
powClass · 0.50
logClass · 0.50

Tested by

no test coverage detected