Skip to content

Commit

Permalink
implement squeeze in int_quant_tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
costigt-dev committed May 1, 2024
1 parent 5ae5719 commit 8283979
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/brevitas/quant_tensor/int_quant_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ def dim(self):
def add(self, other):
return self + other

def unsqueeze(self, *args, **kwargs):
return self.value.unsqueeze(*args, **kwargs)

@staticmethod
def cat(tensors, dim, out=None):
if out is not None:
Expand Down

0 comments on commit 8283979

Please sign in to comment.