Fix TF 2.20 compatibility: enforce keyword-only non-tensor args in Keras layer call methods#690
Closed
Fix TF 2.20 compatibility: enforce keyword-only non-tensor args in Keras layer call methods#690
Conversation
Co-authored-by: ssheorey <41028320+ssheorey@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Keras models for TensorFlow 2.20 API compliance
Fix TF 2.20 compatibility: enforce keyword-only non-tensor args in Keras layer call methods
Feb 23, 2026
Member
|
@copilot Check CI error and fix. |
…st Conv2DTranspose Co-authored-by: ssheorey <41028320+ssheorey@users.noreply.github.com>
Contributor
Author
Fixed in commit
|
ssheorey
added a commit
that referenced
this pull request
Feb 25, 2026
Continued from copilot PR #690 - Fix SharedMLP.call in randlanet.py - make training keyword-only - Fix LocalSpatialEncoding.call in randlanet.py - make training and relative_features keyword-only - Fix AttentivePooling.call in randlanet.py - make training keyword-only - Fix LocalFeatureAggregation.call in randlanet.py - make training keyword-only - Fix BatchNormBlock.call call sites in network_blocks.py - pass training as keyword - Fix UnaryBlock.call in network_blocks.py - make batch and training keyword-only - Fix SimpleBlock.call in network_blocks.py - make batch keyword-only; fix internal training calls - Fix ResnetBottleneckBlock.call in network_blocks.py - make batch keyword-only; fix all internal training/batch calls - Fix NearestUpsampleBlock.call in network_blocks.py - make batch keyword-only - Fix KPFCNN.call in kpconv.py - pass batch as keyword in all block calls; fix head_mlp/head_softmax calls - Fix PointPillarsScatter.call in point_pillars.py - make batch_size keyword-only; fix call site in extract_feats - Fix tf_batch_neighbors in kpconv.py - pass radius, points_row_splits, queries_row_splits as keywords to FixedRadiusSearch - Fix SECONDFPN in point_pillars.py - add Permute layers to convert NCHW↔NHWC around Conv2DTranspose/Conv2D to avoid channels_first unsupported on CPU --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Benjamin Ummenhofer <benjamin.ummenhofer@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SharedMLP.callinrandlanet.py- maketrainingkeyword-onlyLocalSpatialEncoding.callinrandlanet.py- maketrainingandrelative_featureskeyword-onlyAttentivePooling.callinrandlanet.py- maketrainingkeyword-onlyLocalFeatureAggregation.callinrandlanet.py- maketrainingkeyword-onlyBatchNormBlock.callcall sites innetwork_blocks.py- passtrainingas keywordUnaryBlock.callinnetwork_blocks.py- makebatchandtrainingkeyword-onlySimpleBlock.callinnetwork_blocks.py- makebatchkeyword-only; fix internal training callsResnetBottleneckBlock.callinnetwork_blocks.py- makebatchkeyword-only; fix all internal training/batch callsNearestUpsampleBlock.callinnetwork_blocks.py- makebatchkeyword-onlyKPFCNN.callinkpconv.py- passbatchas keyword in all block calls; fix head_mlp/head_softmax callsPointPillarsScatter.callinpoint_pillars.py- makebatch_sizekeyword-only; fix call site inextract_featstf_batch_neighborsinkpconv.py- passradius,points_row_splits,queries_row_splitsas keywords toFixedRadiusSearchSECONDFPNinpoint_pillars.py- addPermutelayers to convert NCHW↔NHWC aroundConv2DTranspose/Conv2Dto avoid channels_first unsupported on CPUOriginal prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.