harbor run -t openthoughts/tasktrove-exp-rle-detailed-v3-5k-detailed-4132harbor download openthoughts/tasktrove-exp-rle-detailed-v3-5k-detailed-4132Detailed, granular rewrite of the task
Goal Implement a new TensorFlow Keras layer PolynomialCrossing under the package tensorflow_addons.layers.polynomial that satisfies a provided test suite. The implementation must be self-contained, eager-compatible, and serializable via Keras round-tripping.
Deliverables
File and project structure (suggested)
Class and API surface
Class location and import path
Constructor signature and behavior
Forward pass (call)
Serialization details
Edge cases and defensive behavior
Tests alignment and expectations
Implementation notes and guidance
Acceptance criteria mapping to tests
Optional but recommended details
By following these detailed steps, you will implement PolynomialCrossing with the exact API, error handling, and deterministic behavior required by the tests.