Module Uop.Arg
type t = | Empty| Int of int| Ints of int list| Bools of bool list| String of string| Value of Const.t| Op of Ops.t| Range_info of {axis : int;sub : int list;kind : Axis_type.t;
}| Param_arg of param_arg| Reduce_arg of reduce_arg(*For
*)Reduce: reduction op plus tensor axes.| Device of device(*For
*)Copy: device placement.| Op_device of Ops.t * device(*For
*)Allreduce: reduction op and device group.| Stage_info of stage_opts| Opts of Opt.t list(*For
*)Contiguous: schedule options attached to the boundary.| Kernel_info of kernel_info| Call_info of call_info| Program_info of program_info| Wmma_info of wmma_info| Shaped_wmma_info of shaped_wmma_info
equal a b is structural equality on payloads. Call_info values are compared with physical equality on their grad_fxn closure, and structural equality on the rest.
compare is Stdlib.compare on payloads. Used only for total ordering; for semantic comparison use equal.
Payload accessors
One accessor per generic payload variant, returning None when the variant does not match. Use Option.is_some for a boolean check. The richer named-record payloads are destructured through the view accessors on nodes.
val as_int : t -> int optionval as_ints : t -> int list optionval as_bools : t -> bool list optionval as_string : t -> string optionval as_reduce_arg : t -> reduce_arg optionval as_stage_info : t -> stage_opts optionval as_program_info : t -> program_info option