mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-04 22:31:26 +08:00
Bump flake8-pyi to 23.11.0 (#10997)
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user