@@ -4236,6 +4236,14 @@ class PODVector_int_arena:
4236
4236
np.array
4237
4237
A 1D numpy array.
4238
4238
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
+
4239
4247
"""
4240
4248
@property
4241
4249
def __array_interface__ (self ) -> dict : ...
@@ -4306,6 +4314,14 @@ class PODVector_int_pinned:
4306
4314
np.array
4307
4315
A 1D numpy array.
4308
4316
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
+
4309
4325
"""
4310
4326
@property
4311
4327
def __array_interface__ (self ) -> dict : ...
@@ -4376,6 +4392,14 @@ class PODVector_int_std:
4376
4392
np.array
4377
4393
A 1D numpy array.
4378
4394
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
+
4379
4403
"""
4380
4404
@property
4381
4405
def __array_interface__ (self ) -> dict : ...
@@ -4446,6 +4470,14 @@ class PODVector_real_arena:
4446
4470
np.array
4447
4471
A 1D numpy array.
4448
4472
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
+
4449
4481
"""
4450
4482
@property
4451
4483
def __array_interface__ (self ) -> dict : ...
@@ -4516,6 +4548,14 @@ class PODVector_real_pinned:
4516
4548
np.array
4517
4549
A 1D numpy array.
4518
4550
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
+
4519
4559
"""
4520
4560
@property
4521
4561
def __array_interface__ (self ) -> dict : ...
@@ -4586,6 +4626,14 @@ class PODVector_real_std:
4586
4626
np.array
4587
4627
A 1D numpy array.
4588
4628
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
+
4589
4637
"""
4590
4638
@property
4591
4639
def __array_interface__ (self ) -> dict : ...
@@ -8110,6 +8158,14 @@ class StructOfArrays_2_1_arena:
8110
8158
of 1D numpy arrays.
8111
8159
8112
8160
"""
8161
+ def to_torch (self , copy = False ):
8162
+ """
8163
+
8164
+ Provide PyTorch tensor views into a StructOfArrays.
8165
+
8166
+ ...
8167
+
8168
+ """
8113
8169
8114
8170
class StructOfArrays_2_1_default :
8115
8171
@typing .overload
@@ -8199,6 +8255,14 @@ class StructOfArrays_2_1_default:
8199
8255
of 1D numpy arrays.
8200
8256
8201
8257
"""
8258
+ def to_torch (self , copy = False ):
8259
+ """
8260
+
8261
+ Provide PyTorch tensor views into a StructOfArrays.
8262
+
8263
+ ...
8264
+
8265
+ """
8202
8266
8203
8267
class StructOfArrays_2_1_pinned :
8204
8268
@typing .overload
@@ -8288,6 +8352,14 @@ class StructOfArrays_2_1_pinned:
8288
8352
of 1D numpy arrays.
8289
8353
8290
8354
"""
8355
+ def to_torch (self , copy = False ):
8356
+ """
8357
+
8358
+ Provide PyTorch tensor views into a StructOfArrays.
8359
+
8360
+ ...
8361
+
8362
+ """
8291
8363
8292
8364
class StructOfArrays_37_1_arena :
8293
8365
@typing .overload
@@ -8377,6 +8449,14 @@ class StructOfArrays_37_1_arena:
8377
8449
of 1D numpy arrays.
8378
8450
8379
8451
"""
8452
+ def to_torch (self , copy = False ):
8453
+ """
8454
+
8455
+ Provide PyTorch tensor views into a StructOfArrays.
8456
+
8457
+ ...
8458
+
8459
+ """
8380
8460
8381
8461
class StructOfArrays_37_1_default :
8382
8462
@typing .overload
@@ -8466,6 +8546,14 @@ class StructOfArrays_37_1_default:
8466
8546
of 1D numpy arrays.
8467
8547
8468
8548
"""
8549
+ def to_torch (self , copy = False ):
8550
+ """
8551
+
8552
+ Provide PyTorch tensor views into a StructOfArrays.
8553
+
8554
+ ...
8555
+
8556
+ """
8469
8557
8470
8558
class StructOfArrays_37_1_pinned :
8471
8559
@typing .overload
@@ -8555,6 +8643,14 @@ class StructOfArrays_37_1_pinned:
8555
8643
of 1D numpy arrays.
8556
8644
8557
8645
"""
8646
+ def to_torch (self , copy = False ):
8647
+ """
8648
+
8649
+ Provide PyTorch tensor views into a StructOfArrays.
8650
+
8651
+ ...
8652
+
8653
+ """
8558
8654
8559
8655
class StructOfArrays_4_0_arena :
8560
8656
@typing .overload
@@ -8644,6 +8740,14 @@ class StructOfArrays_4_0_arena:
8644
8740
of 1D numpy arrays.
8645
8741
8646
8742
"""
8743
+ def to_torch (self , copy = False ):
8744
+ """
8745
+
8746
+ Provide PyTorch tensor views into a StructOfArrays.
8747
+
8748
+ ...
8749
+
8750
+ """
8647
8751
8648
8752
class StructOfArrays_4_0_default :
8649
8753
@typing .overload
@@ -8733,6 +8837,14 @@ class StructOfArrays_4_0_default:
8733
8837
of 1D numpy arrays.
8734
8838
8735
8839
"""
8840
+ def to_torch (self , copy = False ):
8841
+ """
8842
+
8843
+ Provide PyTorch tensor views into a StructOfArrays.
8844
+
8845
+ ...
8846
+
8847
+ """
8736
8848
8737
8849
class StructOfArrays_4_0_pinned :
8738
8850
@typing .overload
@@ -8822,6 +8934,14 @@ class StructOfArrays_4_0_pinned:
8822
8934
of 1D numpy arrays.
8823
8935
8824
8936
"""
8937
+ def to_torch (self , copy = False ):
8938
+ """
8939
+
8940
+ Provide PyTorch tensor views into a StructOfArrays.
8941
+
8942
+ ...
8943
+
8944
+ """
8825
8945
8826
8946
class StructOfArrays_5_0_arena :
8827
8947
@typing .overload
@@ -8911,6 +9031,14 @@ class StructOfArrays_5_0_arena:
8911
9031
of 1D numpy arrays.
8912
9032
8913
9033
"""
9034
+ def to_torch (self , copy = False ):
9035
+ """
9036
+
9037
+ Provide PyTorch tensor views into a StructOfArrays.
9038
+
9039
+ ...
9040
+
9041
+ """
8914
9042
8915
9043
class StructOfArrays_5_0_default :
8916
9044
@typing .overload
@@ -9000,6 +9128,14 @@ class StructOfArrays_5_0_default:
9000
9128
of 1D numpy arrays.
9001
9129
9002
9130
"""
9131
+ def to_torch (self , copy = False ):
9132
+ """
9133
+
9134
+ Provide PyTorch tensor views into a StructOfArrays.
9135
+
9136
+ ...
9137
+
9138
+ """
9003
9139
9004
9140
class StructOfArrays_5_0_pinned :
9005
9141
@typing .overload
@@ -9089,6 +9225,14 @@ class StructOfArrays_5_0_pinned:
9089
9225
of 1D numpy arrays.
9090
9226
9091
9227
"""
9228
+ def to_torch (self , copy = False ):
9229
+ """
9230
+
9231
+ Provide PyTorch tensor views into a StructOfArrays.
9232
+
9233
+ ...
9234
+
9235
+ """
9092
9236
9093
9237
class StructOfArrays_8_2_arena :
9094
9238
@typing .overload
@@ -9178,6 +9322,14 @@ class StructOfArrays_8_2_arena:
9178
9322
of 1D numpy arrays.
9179
9323
9180
9324
"""
9325
+ def to_torch (self , copy = False ):
9326
+ """
9327
+
9328
+ Provide PyTorch tensor views into a StructOfArrays.
9329
+
9330
+ ...
9331
+
9332
+ """
9181
9333
9182
9334
class StructOfArrays_8_2_default :
9183
9335
@typing .overload
@@ -9267,6 +9419,14 @@ class StructOfArrays_8_2_default:
9267
9419
of 1D numpy arrays.
9268
9420
9269
9421
"""
9422
+ def to_torch (self , copy = False ):
9423
+ """
9424
+
9425
+ Provide PyTorch tensor views into a StructOfArrays.
9426
+
9427
+ ...
9428
+
9429
+ """
9270
9430
9271
9431
class StructOfArrays_8_2_pinned :
9272
9432
@typing .overload
@@ -9356,6 +9516,14 @@ class StructOfArrays_8_2_pinned:
9356
9516
of 1D numpy arrays.
9357
9517
9358
9518
"""
9519
+ def to_torch (self , copy = False ):
9520
+ """
9521
+
9522
+ Provide PyTorch tensor views into a StructOfArrays.
9523
+
9524
+ ...
9525
+
9526
+ """
9359
9527
9360
9528
class Vector_BoxArray :
9361
9529
__hash__ : typing .ClassVar [None ] = None
0 commit comments