mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-20 07:00:29 +08:00
[tensorflow] Fix literal value for pad function (#13877)
This commit is contained in:
@@ -417,7 +417,7 @@ def reshape(tensor: TensorCompatible, shape: ShapeLike | Tensor, name: str | Non
|
||||
def pad(
|
||||
tensor: TensorCompatible,
|
||||
paddings: Tensor | IntArray | Iterable[Iterable[int]],
|
||||
mode: Literal["CONSTANT", "constant", "REFLECT", "reflect", "SYMMETRIC", "symmectric"] = "CONSTANT",
|
||||
mode: Literal["CONSTANT", "constant", "REFLECT", "reflect", "SYMMETRIC", "symmetric"] = "CONSTANT",
|
||||
constant_values: ScalarTensorCompatible = 0,
|
||||
name: str | None = None,
|
||||
) -> Tensor: ...
|
||||
|
||||
Reference in New Issue
Block a user