Skip to content

Add missing argument documentation for 4 methods#1786

Closed
cyrjano wants to merge 1 commit intometa-pytorch:masterfrom
cyrjano:export-D92080047
Closed

Add missing argument documentation for 4 methods#1786
cyrjano wants to merge 1 commit intometa-pytorch:masterfrom
cyrjano:export-D92080047

Conversation

@cyrjano
Copy link
Contributor

@cyrjano cyrjano commented Feb 3, 2026

Summary:
Added documentation for missing arguments in 4 methods where other arguments
were already documented:

  • TCAV.init: Added attribute_to_layer_input documentation
  • SimilarityInfluence.init: Added similarity_direction documentation
  • NeuronConductance.attribute: Added grad_kwargs documentation
  • TracInCPBase.influence: Added unpack_inputs documentation

These were identified by analyzing the RST documentation files and comparing
them with the actual method signatures in the source code.

Differential Revision: D92080047

Summary:
Added documentation for missing arguments in 4 methods where other arguments
were already documented:

- TCAV.__init__: Added `attribute_to_layer_input` documentation
- SimilarityInfluence.__init__: Added `similarity_direction` documentation
- NeuronConductance.attribute: Added `grad_kwargs` documentation
- TracInCPBase.influence: Added `unpack_inputs` documentation

These were identified by analyzing the RST documentation files and comparing
them with the actual method signatures in the source code.

Differential Revision: D92080047
@meta-cla meta-cla bot added the cla signed label Feb 3, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Feb 3, 2026

@cyrjano has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92080047.

@meta-codesync
Copy link
Contributor

meta-codesync bot commented Feb 3, 2026

This pull request has been merged in 275d8a0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants