Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 4, 2024
1 parent d508843 commit aed3caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metalearners/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def check_spox_installed() -> None:
)


def infer_dtype_and_shape_onnx(tensor):
def infer_dtype_and_shape_onnx(tensor) -> tuple[np.dtype, tuple]:
check_onnx_installed()
import onnx

Expand Down

0 comments on commit aed3caa

Please sign in to comment.