Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
rsokl committed May 14, 2024
1 parent baa2342 commit b575b95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/phantom_tensors/_internals/dim_binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def __enter__(self) -> None:
self._tokens[self._depth] = bindings.set(b)

def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:
print(f"{bindings.get()=}")
if self._depth == 1:
bindings.reset(self._tokens.pop(self._depth))
self._depth -= 1
Expand Down Expand Up @@ -180,7 +179,6 @@ def check(shape_type: Tuple[ShapeDimType, ...], shape: Tuple[int, ...]) -> bool:
return False
_bindings[symbol] = actual_val
expected_val = actual_val
print(f"{_bindings=}")
if not all(expected_val == shape[index] for index in indices):
return False

Expand Down
1 change: 0 additions & 1 deletion src/phantom_tensors/_internals/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def __call__(
if not check(type_shape, tensor.shape):
_bindings = bindings.get()
assert _bindings is not None
print(_bindings)
type_str = ", ".join(
(
f"{getattr(p, '__name__', repr(p))}={_bindings.get(p, '?')}"
Expand Down

0 comments on commit b575b95

Please sign in to comment.