@@ -4236,6 +4236,14 @@ class PODVector_int_arena:
42364236 np.array
42374237 A 1D numpy array.
42384238
4239+ """
4240+ def to_torch (self , copy = False ):
4241+ """
4242+
4243+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4244+
4245+ ...
4246+
42394247 """
42404248 @property
42414249 def __array_interface__ (self ) -> dict : ...
@@ -4306,6 +4314,14 @@ class PODVector_int_pinned:
43064314 np.array
43074315 A 1D numpy array.
43084316
4317+ """
4318+ def to_torch (self , copy = False ):
4319+ """
4320+
4321+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4322+
4323+ ...
4324+
43094325 """
43104326 @property
43114327 def __array_interface__ (self ) -> dict : ...
@@ -4376,6 +4392,14 @@ class PODVector_int_std:
43764392 np.array
43774393 A 1D numpy array.
43784394
4395+ """
4396+ def to_torch (self , copy = False ):
4397+ """
4398+
4399+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4400+
4401+ ...
4402+
43794403 """
43804404 @property
43814405 def __array_interface__ (self ) -> dict : ...
@@ -4446,6 +4470,14 @@ class PODVector_real_arena:
44464470 np.array
44474471 A 1D numpy array.
44484472
4473+ """
4474+ def to_torch (self , copy = False ):
4475+ """
4476+
4477+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4478+
4479+ ...
4480+
44494481 """
44504482 @property
44514483 def __array_interface__ (self ) -> dict : ...
@@ -4516,6 +4548,14 @@ class PODVector_real_pinned:
45164548 np.array
45174549 A 1D numpy array.
45184550
4551+ """
4552+ def to_torch (self , copy = False ):
4553+ """
4554+
4555+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4556+
4557+ ...
4558+
45194559 """
45204560 @property
45214561 def __array_interface__ (self ) -> dict : ...
@@ -4586,6 +4626,14 @@ class PODVector_real_std:
45864626 np.array
45874627 A 1D numpy array.
45884628
4629+ """
4630+ def to_torch (self , copy = False ):
4631+ """
4632+
4633+ Provide PyTorch tensor views into a PODVector (e.g., RealVector, IntVector).
4634+
4635+ ...
4636+
45894637 """
45904638 @property
45914639 def __array_interface__ (self ) -> dict : ...
@@ -8110,6 +8158,14 @@ class StructOfArrays_2_1_arena:
81108158 of 1D numpy arrays.
81118159
81128160 """
8161+ def to_torch (self , copy = False ):
8162+ """
8163+
8164+ Provide PyTorch tensor views into a StructOfArrays.
8165+
8166+ ...
8167+
8168+ """
81138169
81148170class StructOfArrays_2_1_default :
81158171 @typing .overload
@@ -8199,6 +8255,14 @@ class StructOfArrays_2_1_default:
81998255 of 1D numpy arrays.
82008256
82018257 """
8258+ def to_torch (self , copy = False ):
8259+ """
8260+
8261+ Provide PyTorch tensor views into a StructOfArrays.
8262+
8263+ ...
8264+
8265+ """
82028266
82038267class StructOfArrays_2_1_pinned :
82048268 @typing .overload
@@ -8288,6 +8352,14 @@ class StructOfArrays_2_1_pinned:
82888352 of 1D numpy arrays.
82898353
82908354 """
8355+ def to_torch (self , copy = False ):
8356+ """
8357+
8358+ Provide PyTorch tensor views into a StructOfArrays.
8359+
8360+ ...
8361+
8362+ """
82918363
82928364class StructOfArrays_37_1_arena :
82938365 @typing .overload
@@ -8377,6 +8449,14 @@ class StructOfArrays_37_1_arena:
83778449 of 1D numpy arrays.
83788450
83798451 """
8452+ def to_torch (self , copy = False ):
8453+ """
8454+
8455+ Provide PyTorch tensor views into a StructOfArrays.
8456+
8457+ ...
8458+
8459+ """
83808460
83818461class StructOfArrays_37_1_default :
83828462 @typing .overload
@@ -8466,6 +8546,14 @@ class StructOfArrays_37_1_default:
84668546 of 1D numpy arrays.
84678547
84688548 """
8549+ def to_torch (self , copy = False ):
8550+ """
8551+
8552+ Provide PyTorch tensor views into a StructOfArrays.
8553+
8554+ ...
8555+
8556+ """
84698557
84708558class StructOfArrays_37_1_pinned :
84718559 @typing .overload
@@ -8555,6 +8643,14 @@ class StructOfArrays_37_1_pinned:
85558643 of 1D numpy arrays.
85568644
85578645 """
8646+ def to_torch (self , copy = False ):
8647+ """
8648+
8649+ Provide PyTorch tensor views into a StructOfArrays.
8650+
8651+ ...
8652+
8653+ """
85588654
85598655class StructOfArrays_4_0_arena :
85608656 @typing .overload
@@ -8644,6 +8740,14 @@ class StructOfArrays_4_0_arena:
86448740 of 1D numpy arrays.
86458741
86468742 """
8743+ def to_torch (self , copy = False ):
8744+ """
8745+
8746+ Provide PyTorch tensor views into a StructOfArrays.
8747+
8748+ ...
8749+
8750+ """
86478751
86488752class StructOfArrays_4_0_default :
86498753 @typing .overload
@@ -8733,6 +8837,14 @@ class StructOfArrays_4_0_default:
87338837 of 1D numpy arrays.
87348838
87358839 """
8840+ def to_torch (self , copy = False ):
8841+ """
8842+
8843+ Provide PyTorch tensor views into a StructOfArrays.
8844+
8845+ ...
8846+
8847+ """
87368848
87378849class StructOfArrays_4_0_pinned :
87388850 @typing .overload
@@ -8822,6 +8934,14 @@ class StructOfArrays_4_0_pinned:
88228934 of 1D numpy arrays.
88238935
88248936 """
8937+ def to_torch (self , copy = False ):
8938+ """
8939+
8940+ Provide PyTorch tensor views into a StructOfArrays.
8941+
8942+ ...
8943+
8944+ """
88258945
88268946class StructOfArrays_5_0_arena :
88278947 @typing .overload
@@ -8911,6 +9031,14 @@ class StructOfArrays_5_0_arena:
89119031 of 1D numpy arrays.
89129032
89139033 """
9034+ def to_torch (self , copy = False ):
9035+ """
9036+
9037+ Provide PyTorch tensor views into a StructOfArrays.
9038+
9039+ ...
9040+
9041+ """
89149042
89159043class StructOfArrays_5_0_default :
89169044 @typing .overload
@@ -9000,6 +9128,14 @@ class StructOfArrays_5_0_default:
90009128 of 1D numpy arrays.
90019129
90029130 """
9131+ def to_torch (self , copy = False ):
9132+ """
9133+
9134+ Provide PyTorch tensor views into a StructOfArrays.
9135+
9136+ ...
9137+
9138+ """
90039139
90049140class StructOfArrays_5_0_pinned :
90059141 @typing .overload
@@ -9089,6 +9225,14 @@ class StructOfArrays_5_0_pinned:
90899225 of 1D numpy arrays.
90909226
90919227 """
9228+ def to_torch (self , copy = False ):
9229+ """
9230+
9231+ Provide PyTorch tensor views into a StructOfArrays.
9232+
9233+ ...
9234+
9235+ """
90929236
90939237class StructOfArrays_8_2_arena :
90949238 @typing .overload
@@ -9178,6 +9322,14 @@ class StructOfArrays_8_2_arena:
91789322 of 1D numpy arrays.
91799323
91809324 """
9325+ def to_torch (self , copy = False ):
9326+ """
9327+
9328+ Provide PyTorch tensor views into a StructOfArrays.
9329+
9330+ ...
9331+
9332+ """
91819333
91829334class StructOfArrays_8_2_default :
91839335 @typing .overload
@@ -9267,6 +9419,14 @@ class StructOfArrays_8_2_default:
92679419 of 1D numpy arrays.
92689420
92699421 """
9422+ def to_torch (self , copy = False ):
9423+ """
9424+
9425+ Provide PyTorch tensor views into a StructOfArrays.
9426+
9427+ ...
9428+
9429+ """
92709430
92719431class StructOfArrays_8_2_pinned :
92729432 @typing .overload
@@ -9356,6 +9516,14 @@ class StructOfArrays_8_2_pinned:
93569516 of 1D numpy arrays.
93579517
93589518 """
9519+ def to_torch (self , copy = False ):
9520+ """
9521+
9522+ Provide PyTorch tensor views into a StructOfArrays.
9523+
9524+ ...
9525+
9526+ """
93599527
93609528class Vector_BoxArray :
93619529 __hash__ : typing .ClassVar [None ] = None
0 commit comments