@@ -630,10 +630,12 @@ TensorView* eye(Val* size, DataType dtype) {
630630
631631// UNARY OPERATIONS
632632
633- #define NVFUSER_DEFINE_UNARY_OP (op_name, op_type ) \
634- Val* op_name (Val* v) { return unaryOp (UnaryOpType::op_type, v); } \
635- TensorView* op_name (TensorView* tv) { \
636- return unaryOp (UnaryOpType::op_type, tv); \
633+ #define NVFUSER_DEFINE_UNARY_OP (op_name, op_type ) \
634+ Val* op_name (Val* v) { \
635+ return unaryOp (UnaryOpType::op_type, v); \
636+ } \
637+ TensorView* op_name (TensorView* tv) { \
638+ return unaryOp (UnaryOpType::op_type, tv); \
637639 }
638640
639641NVFUSER_DEFINE_UNARY_OP (set, Set)
@@ -763,10 +765,12 @@ NVFUSER_DEFINE_UNARY_FLOAT_OP(tan, Tan)
763765NVFUSER_DEFINE_UNARY_FLOAT_OP (tanh, Tanh)
764766#undef NVFUSER_DEFINE_UNARY_FLOAT_OP
765767
766- #define NVFUSER_DEFINE_UNARY_IS_OP (op_name, op_type ) \
767- Val* op_name (Val* v) { return unaryIsOp (UnaryOpType::op_type, v); } \
768- TensorView* op_name (TensorView* tv) { \
769- return unaryIsOp (UnaryOpType::op_type, tv); \
768+ #define NVFUSER_DEFINE_UNARY_IS_OP (op_name, op_type ) \
769+ Val* op_name (Val* v) { \
770+ return unaryIsOp (UnaryOpType::op_type, v); \
771+ } \
772+ TensorView* op_name (TensorView* tv) { \
773+ return unaryIsOp (UnaryOpType::op_type, tv); \
770774 }
771775
772776NVFUSER_DEFINE_UNARY_IS_OP (isfinite, IsFinite)
0 commit comments