Bump flake8-pyi to 23.11.0 (#10997)

This commit is contained in:
Alex Waygood
2023-11-08 16:01:24 +00:00
committed by GitHub
parent b36f3c5229
commit 516f665505
19 changed files with 57 additions and 57 deletions

View File

@@ -38,7 +38,7 @@ class InputSpec:
# Most layers have input and output type of just Tensor and when we support default type variables,
# maybe worth trying.
class Layer(Generic[_InputT, _OutputT], tf.Module):
class Layer(tf.Module, Generic[_InputT, _OutputT]):
# The most general type is _ContainerGeneric[InputSpec] as it really
# depends on _InputT. For most Layers it is just InputSpec
# though. Maybe describable with HKT?