Skip to content

Commit

Permalink
Update forward_pass_callback
Browse files Browse the repository at this point in the history
Signed-off-by: Raj Gite <quic_rgite@quicinc.com>
  • Loading branch information
quic-rgite committed Dec 9, 2023
1 parent ea39024 commit 5dd1ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def __init__( # pylint: disable=too-many-arguments, too-many-locals

def forward_pass_callback(session, _: Any = None):
for input_data in tqdm(data_loader):
input_data_dict = utils.create_input_dict(model, input_data)
input_data_dict = utils.create_input_dict(model.model, input_data)
_ = session.run(None, input_data_dict)

self.forward_pass_callback = forward_pass_callback
Expand Down

0 comments on commit 5dd1ba8

Please sign in to comment.