@@ -2400,36 +2400,36 @@ RegisterOperators reg2({
24002400// Mutable ops for lists containing mutable types.
24012401#define CREATE_MUTABLE_LIST_OPS (decl_type, value_type ) \
24022402 Operator ( \
2403- " aten::select. " decl_type " ( " decl_type " [](a) list, int idx) -> " decl_type " (*)" , \
2403+ " aten::select( " decl_type " [](a) list, int idx) -> " decl_type " (*)" , \
24042404 listSelect<value_type>, \
24052405 aliasAnalysisFromSchema ()), \
24062406 Operator ( \
2407- " aten::__getitem__. " decl_type " ( " decl_type " [](a) list, int idx) -> " decl_type \
2407+ " aten::__getitem__( " decl_type " [](a) list, int idx) -> " decl_type \
24082408 " (*)" , \
24092409 listSelect<value_type>, \
24102410 aliasAnalysisFromSchema ()), \
24112411 Operator ( \
2412- " aten::append. " decl_type " ( " decl_type " [](a!) self, " decl_type \
2412+ " aten::append( " decl_type " [](a!) self, " decl_type \
24132413 " (c -> *) el) -> " decl_type " [](a!)" , \
24142414 listAppend<value_type>, \
24152415 aliasAnalysisFromSchema ()), \
24162416 Operator ( \
2417- " aten::reverse. " decl_type " ( " decl_type " [](a!) self) -> ()" , \
2417+ " aten::reverse( " decl_type " [](a!) self) -> ()" , \
24182418 listReverse<value_type>, \
24192419 aliasAnalysisFromSchema ()), \
24202420 Operator ( \
2421- " aten::extend. " decl_type " ( " decl_type " [](a!) self, " decl_type \
2421+ " aten::extend( " decl_type " [](a!) self, " decl_type \
24222422 " [] other) -> ()" , \
24232423 listExtend<value_type>, \
24242424 aliasAnalysisFromSchema ()), \
24252425 Operator ( \
2426- " aten::copy. " decl_type " ( " decl_type \
2426+ " aten::copy( " decl_type \
24272427 " [](a) self)" \
24282428 " -> " decl_type " []" , \
24292429 listCopy<value_type>, \
24302430 aliasAnalysisFromSchema ()), \
24312431 Operator ( \
2432- " aten::_set_item. " decl_type " ( " decl_type " [](a!) l, int idx, " decl_type \
2432+ " aten::_set_item( " decl_type " [](a!) l, int idx, " decl_type \
24332433 " (b -> *) el) -> " decl_type " [](a!)" , \
24342434 listSetItem<value_type>, \
24352435 aliasAnalysisFromSchema ()), \
@@ -2444,7 +2444,7 @@ RegisterOperators reg2({
24442444 listInsert<value_type>, \
24452445 aliasAnalysisFromSchema ()), \
24462446 Operator ( \
2447- " aten::pop. " decl_type " ( " decl_type \
2447+ " aten::pop( " decl_type \
24482448 " [](a!) self, int idx=-1) \
24492449 -> " decl_type " (*)" , \
24502450 listPop<value_type>, \
@@ -2468,51 +2468,51 @@ RegisterOperators reg2({
24682468// Mutable ops for lists containing immutable types.
24692469#define CREATE_IMMUTABLE_LIST_OPS (decl_type, value_type ) \
24702470 Operator ( \
2471- " aten::select. " decl_type " ( " decl_type " [] a, int b) -> " decl_type, \
2471+ " aten::select( " decl_type " [] a, int b) -> " decl_type, \
24722472 listSelect<value_type>, \
24732473 aliasAnalysisFromSchema ()), \
24742474 Operator ( \
2475- " aten::__getitem__. " decl_type " ( " decl_type " [](a) list, int idx) -> " decl_type, \
2475+ " aten::__getitem__( " decl_type " [](a) list, int idx) -> " decl_type, \
24762476 listSelect<value_type>, \
24772477 aliasAnalysisFromSchema ()), \
24782478 Operator ( \
2479- " prim::min.lr " decl_type " ( " decl_type " [] l, " decl_type " [] r) -> " decl_type " []" ,\
2479+ " prim::min( " decl_type " [] l, " decl_type " [] r) -> " decl_type " []" ,\
24802480 minList<value_type>, \
24812481 aliasAnalysisFromSchema ()), \
24822482 Operator ( \
2483- " prim::max.lr " decl_type " ( " decl_type " [] l, " decl_type " [] r) -> " decl_type " []" ,\
2483+ " prim::max( " decl_type " [] l, " decl_type " [] r) -> " decl_type " []" ,\
24842484 maxList<value_type>, \
24852485 aliasAnalysisFromSchema ()), \
24862486 Operator ( \
2487- " aten::append. " decl_type " ( " decl_type " [](a!) self, " decl_type \
2487+ " aten::append( " decl_type " [](a!) self, " decl_type \
24882488 " el) -> " decl_type " [](a!)" , \
24892489 listAppend<value_type>, \
24902490 aliasAnalysisFromSchema ()), \
24912491 Operator ( \
2492- " aten::reverse. " decl_type " ( " decl_type " [](a!) self) -> ()" , \
2492+ " aten::reverse( " decl_type " [](a!) self) -> ()" , \
24932493 listReverse<value_type>, \
24942494 aliasAnalysisFromSchema ()), \
24952495 Operator ( \
2496- " prim::min. " decl_type " ( " decl_type " [] self) -> " decl_type, \
2496+ " prim::min( " decl_type " [] self) -> " decl_type, \
24972497 listMin<value_type>, \
24982498 aliasAnalysisFromSchema ()), \
24992499 Operator ( \
2500- " prim::max. " decl_type " ( " decl_type " [] self) -> " decl_type, \
2500+ " prim::max( " decl_type " [] self) -> " decl_type, \
25012501 listMax<value_type>, \
25022502 aliasAnalysisFromSchema ()), \
25032503 Operator ( \
2504- " aten::extend. " decl_type " ( " decl_type " [](a!) self, " decl_type \
2504+ " aten::extend( " decl_type " [](a!) self, " decl_type \
25052505 " [] other) -> ()" , \
25062506 listExtend<value_type>, \
25072507 aliasAnalysisFromSchema ()), \
25082508 Operator ( \
2509- " aten::copy. " decl_type " ( " decl_type \
2509+ " aten::copy( " decl_type \
25102510 " [](a) self)" \
25112511 " -> " decl_type " []" , \
25122512 listCopy<value_type>, \
25132513 aliasAnalysisFromSchema ()), \
25142514 Operator ( \
2515- " aten::_set_item. " decl_type " ( " decl_type " [](a!) l, int idx, " decl_type \
2515+ " aten::_set_item( " decl_type " [](a!) l, int idx, " decl_type \
25162516 " el) -> " decl_type " [](a!)" , \
25172517 listSetItem<value_type>, \
25182518 aliasAnalysisFromSchema ()), \
@@ -2527,25 +2527,25 @@ RegisterOperators reg2({
25272527 listInsert<value_type>, \
25282528 aliasAnalysisFromSchema ()), \
25292529 Operator ( \
2530- " aten::remove. " decl_type " ( " decl_type \
2530+ " aten::remove( " decl_type \
25312531 " [](a!) self, \
25322532 " decl_type " el) -> ()" , \
25332533 listRemove<value_type>, \
25342534 aliasAnalysisFromSchema ()), \
25352535 Operator ( \
2536- " aten::index. " decl_type " ( " decl_type \
2536+ " aten::index( " decl_type \
25372537 " [] self, \
25382538 " decl_type " el) -> int" , \
25392539 listIndex<value_type>, \
25402540 aliasAnalysisFromSchema ()), \
25412541 Operator ( \
2542- " aten::count. " decl_type " ( " decl_type \
2542+ " aten::count( " decl_type \
25432543 " [] self, \
25442544 " decl_type " el) -> int" , \
25452545 listCount<value_type>, \
25462546 aliasAnalysisFromSchema ()), \
25472547 Operator ( \
2548- " aten::pop. " decl_type " ( " decl_type \
2548+ " aten::pop( " decl_type \
25492549 " [](a!) self, int idx=-1) \
25502550 -> " decl_type, \
25512551 listPop<value_type>, \
@@ -2572,31 +2572,31 @@ RegisterOperators reg2({
25722572
25732573#define CREATE_LIST_OPS (decl_type, c_type ) \
25742574 Operator ( \
2575- " aten::len. " decl_type " ( " decl_type " [] a) -> int" , \
2575+ " aten::len( " decl_type " [] a) -> int" , \
25762576 listLen<c_type::value_type>, \
25772577 aliasAnalysisFromSchema ()), \
25782578 Operator ( \
2579- " aten::add. " decl_type " ( " decl_type " [] a, " decl_type " [] b) -> " decl_type \
2579+ " aten::add( " decl_type " [] a, " decl_type " [] b) -> " decl_type \
25802580 " []" , \
25812581 listAdd<c_type::value_type>, \
25822582 aliasAnalysisFromSchema ()), \
25832583 Operator ( \
2584- " aten::add_. " decl_type " ( " decl_type " [](a!) self, " decl_type \
2584+ " aten::add_( " decl_type " [](a!) self, " decl_type \
25852585 " [] b) -> " decl_type " []" , \
25862586 listInplaceAdd<c_type::value_type>, \
25872587 aliasAnalysisFromSchema ()), \
25882588 Operator ( \
2589- " aten::slice. " decl_type " ( " decl_type \
2589+ " aten::slice( " decl_type \
25902590 " [] l, int start, int end=9223372036854775807, int step=1) -> " decl_type \
25912591 " []" , \
25922592 listSlice<c_type::value_type>, \
25932593 aliasAnalysisFromSchema ()), \
25942594 Operator ( \
2595- " aten::list. " decl_type " ( " decl_type " [] l) -> " decl_type " []" , \
2595+ " aten::list( " decl_type " [] l) -> " decl_type " []" , \
25962596 listList<c_type::value_type>, \
25972597 aliasAnalysisFromSchema ()), \
25982598 Operator ( \
2599- " aten::mul. " decl_type " ( " decl_type " [] l, int n) -> " decl_type " []" , \
2599+ " aten::mul( " decl_type " [] l, int n) -> " decl_type " []" , \
26002600 listMulIntLeft<c_type::value_type>, \
26012601 aliasAnalysisFromSchema ()), \
26022602 Operator ( \
0 commit comments