Recent release of TFMA (0.42 - 0.43 - master) changed the DoFn argument from preprocessor
|
('preprocessor', beam.DoFn), |
to
preprocessors
|
('preprocessors', List[Preprocessor]), |
This breaking change is not reflected in the example for custom metrics here.