mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Fix stubtest for TensorFlow with latest keras release (#11838)
This commit is contained in:
@@ -9,4 +9,4 @@ partial_stub = true
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = true
|
||||
stubtest_requirements = ["keras>=3.3.2"]
|
||||
stubtest_requirements = ["keras>=3.3.3"]
|
||||
|
||||
@@ -142,7 +142,6 @@ _ReductionValues: TypeAlias = Literal["auto", "none", "sum", "sum_over_batch_siz
|
||||
|
||||
def categorical_hinge(y_true: TensorCompatible, y_pred: TensorCompatible) -> Tensor: ...
|
||||
def huber(y_true: TensorCompatible, y_pred: TensorCompatible, delta: float = 1.0) -> Tensor: ...
|
||||
def log_cosh(y_true: TensorCompatible, y_pred: TensorCompatible) -> Tensor: ...
|
||||
def deserialize(name: str | dict[str, Any], custom_objects: dict[str, Any] | None = None) -> Loss: ...
|
||||
def serialize(loss: KerasSerializable) -> dict[str, Any]: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user