[tf.data] Update the input time computation in the InterleaveMany node.
PiperOrigin-RevId: 315331988 Change-Id: I105dd74bb87092f2d56781cdb8e28d2c39360100
This commit is contained in:
parent
73d8cfcf8b
commit
05355c404a
@ -59,9 +59,8 @@ class InterleaveMany : public Node {
|
||||
(*input_times)[long_name()] = old_input_time;
|
||||
return;
|
||||
}
|
||||
double new_input_time =
|
||||
old_input_time +
|
||||
SelfProcessingTimeLocked() * static_cast<double>(num_inputs() - 1);
|
||||
double new_input_time = (old_input_time + SelfProcessingTimeLocked()) *
|
||||
static_cast<double>(num_inputs() - 1);
|
||||
(*input_times)[long_name()] = new_input_time;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user