Slice BERT output with a TF Op layer instead of a Lambda layer.
Lambda layers are fundamentally non-portable since they serialize Python bytecode. PiperOrigin-RevId: 336910013
Showing
Please register or sign in to comment
Lambda layers are fundamentally non-portable since they serialize Python bytecode. PiperOrigin-RevId: 336910013