File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ class PlainAQTTensorImpl(...):
573
573
__torch_function__ = classmethod (_dispatch__torch_function__ )
574
574
register_layout = classmethod (_register_layout )
575
575
get_tensor_impl_constructor = classmethod (_get_tensor_impl_constructor )
576
- _get_to_kwargs = classmethod ( _get_to_kwargs )
576
+ _get_to_kwargs = _get_to_kwargs
577
577
578
578
def __tensor_flatten__ (self ):
579
579
raise NotImplementedError ("Subclasses must implement __tensor_flatten__" )
@@ -587,9 +587,6 @@ def __tensor_unflatten__(
587
587
def __repr__ (self ):
588
588
raise NotImplementedError ("Subclasses must implement __repr__" )
589
589
590
- def _apply_fn_to_data (self , fn ):
591
- raise NotImplementedError ("Subclasses must implement _apply_fn_to_data" )
592
-
593
590
def get_layout (self ):
594
591
if not hasattr (self , "_layout" ):
595
592
return None
You can’t perform that action at this time.
0 commit comments