@@ -494,7 +494,7 @@ def __rtruediv__(self: numbers.Number, other: "tripy.types.TensorLike") -> "trip
494494@TENSOR_METHOD_REGISTRY ("__floordiv__" )
495495@frontend_utils .convert_inputs_to_tensors (sync_arg_types = [("self" , "other" )])
496496@constraints .dtype_info (
497- dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "int4" , "int8" , "int32" , "int64" ]},
497+ dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "float8" , " int4" , "int8" , "int32" , "int64" ]},
498498 dtype_constraints = {"self" : "T1" , "other" : "T1" , constraints .RETURN_VALUE : "T1" },
499499)
500500def __floordiv__ (self : Union ["tripy.Tensor" , Any ], other : Union ["tripy.Tensor" , Any ]) -> "tripy.Tensor" :
@@ -530,7 +530,7 @@ def __floordiv__(self: Union["tripy.Tensor", Any], other: Union["tripy.Tensor",
530530@TENSOR_METHOD_REGISTRY ("__rfloordiv__" )
531531@frontend_utils .convert_inputs_to_tensors (sync_arg_types = [("self" , "other" )])
532532@constraints .dtype_info (
533- dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "int4" , "int8" , "int32" , "int64" ]},
533+ dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "float8" , " int4" , "int8" , "int32" , "int64" ]},
534534 dtype_constraints = {"self" : "T1" , "other" : "T1" , constraints .RETURN_VALUE : "T1" },
535535)
536536def __rfloordiv__ (self : Union ["tripy.Tensor" , Any ], other : Union ["tripy.Tensor" , Any ]) -> "tripy.Tensor" :
@@ -566,7 +566,7 @@ def __rfloordiv__(self: Union["tripy.Tensor", Any], other: Union["tripy.Tensor",
566566@TENSOR_METHOD_REGISTRY ("__mod__" )
567567@frontend_utils .convert_inputs_to_tensors (sync_arg_types = [("self" , "other" )])
568568@constraints .dtype_info (
569- dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" ]},
569+ dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "float8" ]},
570570 dtype_constraints = {"self" : "T1" , "other" : "T1" , constraints .RETURN_VALUE : "T1" },
571571)
572572def __mod__ (self : Union ["tripy.Tensor" , Any ], other : Union ["tripy.Tensor" , Any ]) -> "tripy.Tensor" :
@@ -597,7 +597,7 @@ def __mod__(self: Union["tripy.Tensor", Any], other: Union["tripy.Tensor", Any])
597597@TENSOR_METHOD_REGISTRY ("__rmod__" )
598598@frontend_utils .convert_inputs_to_tensors (sync_arg_types = [("self" , "other" )])
599599@constraints .dtype_info (
600- dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" ]},
600+ dtype_variables = {"T1" : ["float32" , "float16" , "bfloat16" , "float8" ]},
601601 dtype_constraints = {"self" : "T1" , "other" : "T1" , constraints .RETURN_VALUE : "T1" },
602602)
603603def __rmod__ (self : Union ["tripy.Tensor" , Any ], other : Union ["tripy.Tensor" , Any ]) -> "tripy.Tensor" :
0 commit comments