Skip to content

Commit

Permalink
Silence some pytype errors.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 527929776
  • Loading branch information
rchen152 authored and saran-t committed Jun 2, 2023
1 parent fb1d757 commit 9176a9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmv/models/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(self,
create_offset=create_offset,
**kwargs)

def __call__(self,
def __call__(self, # pytype: disable=signature-mismatch # overriding-parameter-count-checks
x: types.TensorLike,
is_training: bool) -> jnp.ndarray:
del is_training # Unused.
Expand Down
2 changes: 1 addition & 1 deletion perceiver/perceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def __init__(self, modalities, num_outputs, output_num_channels,
position_encoding_type='none',
**decoder_kwargs)

def decoder_query(self, inputs, modality_sizes, inputs_without_pos=None,
def decoder_query(self, inputs, modality_sizes, inputs_without_pos=None, # pytype: disable=signature-mismatch # overriding-parameter-count-checks
subsampled_points=None):
# Partition the flat inputs among the different modalities
inputs = io_processors.restructure(modality_sizes, inputs)
Expand Down

0 comments on commit 9176a9f

Please sign in to comment.