mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-05 19:58:49 +08:00
Fix stubtest for TensorFlow with latest keras release (#11838)
This commit is contained in:
1 parent
147aa2491b
commit
2db0b6e655
2 files changed
+1
-2
No files matched your search
@@ -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