@@ -411,7 +411,7 @@ namespace deepx::tf
411411 tensorfunc::add<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->args [1 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
412412 break ;
413413 case Precision::Int64:
414- tensorfunc::add<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
414+ tensorfunc::add<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), *mem->gettensor <int64_t >(this ->args [1 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
415415 break ;
416416 case Precision::Int32:
417417 tensorfunc::add<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -479,7 +479,7 @@ namespace deepx::tf
479479 tensorfunc::addscalar<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), this ->getvar <nv_bfloat16>(1 , mem), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
480480 break ;
481481 case Precision::Int64:
482- tensorfunc::addscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
482+ tensorfunc::addscalar<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), this ->getvar <int64_t >(1 , mem), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
483483 break ;
484484 case Precision::Int32:
485485 tensorfunc::addscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -548,7 +548,7 @@ namespace deepx::tf
548548 tensorfunc::sub<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->args [1 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
549549 break ;
550550 case Precision::Int64:
551- tensorfunc::sub<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
551+ tensorfunc::sub<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), *mem->gettensor <int64_t >(this ->args [1 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
552552 break ;
553553 case Precision::Int32:
554554 tensorfunc::sub<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -616,7 +616,7 @@ namespace deepx::tf
616616 tensorfunc::subscalar<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), this ->getvar <nv_bfloat16>(1 , mem), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
617617 break ;
618618 case Precision::Int64:
619- tensorfunc::subscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
619+ tensorfunc::subscalar<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), this ->getvar <int64_t >(1 , mem), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
620620 break ;
621621 case Precision::Int32:
622622 tensorfunc::subscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -685,7 +685,7 @@ namespace deepx::tf
685685 tensorfunc::rsubscalar<Author, nv_bfloat16>(this ->getvar <nv_bfloat16>(1 , mem), *mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
686686 break ;
687687 case Precision::Int64:
688- tensorfunc::rsubscalar<Author, int32_t >(this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
688+ tensorfunc::rsubscalar<Author, int64_t >(this ->getvar <int64_t >(1 , mem), *mem->gettensor <int64_t >(this ->args [0 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
689689 break ;
690690 case Precision::Int32:
691691 tensorfunc::rsubscalar<Author, int32_t >(this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -754,7 +754,7 @@ namespace deepx::tf
754754 tensorfunc::mul<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->args [1 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
755755 break ;
756756 case Precision::Int64:
757- tensorfunc::mul<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
757+ tensorfunc::mul<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), *mem->gettensor <int64_t >(this ->args [1 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
758758 break ;
759759 case Precision::Int32:
760760 tensorfunc::mul<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -822,7 +822,7 @@ namespace deepx::tf
822822 tensorfunc::mulscalar<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), this ->getvar <nv_bfloat16>(1 , mem), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
823823 break ;
824824 case Precision::Int64:
825- tensorfunc::mulscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
825+ tensorfunc::mulscalar<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), this ->getvar <int64_t >(1 , mem), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
826826 break ;
827827 case Precision::Int32:
828828 tensorfunc::mulscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -891,7 +891,7 @@ namespace deepx::tf
891891 tensorfunc::div<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->args [1 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
892892 break ;
893893 case Precision::Int64:
894- tensorfunc::div<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
894+ tensorfunc::div<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), *mem->gettensor <int64_t >(this ->args [1 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
895895 break ;
896896 case Precision::Int32:
897897 tensorfunc::div<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -959,7 +959,7 @@ namespace deepx::tf
959959 tensorfunc::divscalar<Author, nv_bfloat16>(*mem->gettensor <nv_bfloat16>(this ->args [0 ].textvalue ), this ->getvar <nv_bfloat16>(1 , mem), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
960960 break ;
961961 case Precision::Int64:
962- tensorfunc::divscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
962+ tensorfunc::divscalar<Author, int64_t >(*mem->gettensor <int64_t >(this ->args [0 ].textvalue ), this ->getvar <int64_t >(1 , mem), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
963963 break ;
964964 case Precision::Int32:
965965 tensorfunc::divscalar<Author, int32_t >(*mem->gettensor <int32_t >(this ->args [0 ].textvalue ), this ->getvar <int32_t >(1 , mem), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
@@ -1027,7 +1027,7 @@ namespace deepx::tf
10271027 tensorfunc::rdivscalar<Author, nv_bfloat16>(this ->getvar <nv_bfloat16>(0 , mem), *mem->gettensor <nv_bfloat16>(this ->args [1 ].textvalue ), *mem->gettensor <nv_bfloat16>(this ->returns [0 ].textvalue ));
10281028 break ;
10291029 case Precision::Int64:
1030- tensorfunc::rdivscalar<Author, int32_t >(this ->getvar <int32_t >(0 , mem), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
1030+ tensorfunc::rdivscalar<Author, int64_t >(this ->getvar <int64_t >(0 , mem), *mem->gettensor <int64_t >(this ->args [1 ].textvalue ), *mem->gettensor <int64_t >(this ->returns [0 ].textvalue ));
10311031 break ;
10321032 case Precision::Int32:
10331033 tensorfunc::rdivscalar<Author, int32_t >(this ->getvar <int32_t >(0 , mem), *mem->gettensor <int32_t >(this ->args [1 ].textvalue ), *mem->gettensor <int32_t >(this ->returns [0 ].textvalue ));
0 commit comments