Closed pritamdodeja closed 1 year ago
Yes this is expected, the preprocessing_fn
will get traced several times as you saw, this is an implementation detail of how this library performs the data analysis.
@pritamdodeja,
Execution of preprocessing_fn
is expected multiple times. Kindly let us know if this issue can be closed. Thank you!
You can close it. Thank you!
On Mon, Feb 13, 2023, 6:38 AM Niraj Singh @.***> wrote:
@pritamdodeja https://github.com/pritamdodeja,
Execution of preprocessing_fn is expected multiple times. Kindly let us know if this issue can be closed. Thank you!
— Reply to this email directly, view it on GitHub https://github.com/tensorflow/transform/issues/276#issuecomment-1427796617, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACX63TYG6EYU56WGCKAFDVDWXIMLHANCNFSM5XF2TKVQ . You are receiving this because you were mentioned.Message ID: @.***>
I am trying to analyze the execution flow of my program, and have instrumented my functions as such:
My pipeline function is as follows:
When I run this pipeline, I see that preprocessing_fn is executed four times when preprocessing_fn is the identity function, and five times when there is something to analyze. Is this the expected behavior? The data is only getting written once as expected. Find below the detailed output: