forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-all.html
546 lines (546 loc) · 38 KB
/
index-all.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Index (pytorch_android 1.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (pytorch_android 1.9.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/pytorch/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:D">D</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:V">V</a> <a name="I:A">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#allocateByteBuffer-int-">allocateByteBuffer(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Allocates a new direct <code>ByteBuffer</code> with native byte order with specified
capacity that can be used in <a href="org/pytorch/Tensor.html#fromBlob-java.nio.ByteBuffer-long:A-"><code>fromBlob(ByteBuffer, long[])</code></a>, <a href="org/pytorch/Tensor.html#fromBlobUnsigned-java.nio.ByteBuffer-long:A-"><code>fromBlobUnsigned(ByteBuffer, long[])</code></a>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#allocateDoubleBuffer-int-">allocateDoubleBuffer(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Allocates a new direct <code>DoubleBuffer</code> with native byte order with specified
capacity that can be used in <a href="org/pytorch/Tensor.html#fromBlob-java.nio.DoubleBuffer-long:A-"><code>fromBlob(DoubleBuffer, long[])</code></a>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#allocateFloatBuffer-int-">allocateFloatBuffer(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Allocates a new direct <code>FloatBuffer</code> with native byte order with specified
capacity that can be used in <a href="org/pytorch/Tensor.html#fromBlob-java.nio.FloatBuffer-long:A-"><code>fromBlob(FloatBuffer, long[])</code></a>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#allocateIntBuffer-int-">allocateIntBuffer(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Allocates a new direct <code>IntBuffer</code> with native byte order with specified
capacity that can be used in <a href="org/pytorch/Tensor.html#fromBlob-java.nio.IntBuffer-long:A-"><code>fromBlob(IntBuffer, long[])</code></a>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#allocateLongBuffer-int-">allocateLongBuffer(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Allocates a new direct <code>LongBuffer</code> with native byte order with specified
capacity that can be used in <a href="org/pytorch/Tensor.html#fromBlob-java.nio.LongBuffer-long:A-"><code>fromBlob(LongBuffer, long[])</code></a>.</div>
</dd>
</dl>
<a name="I:D">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Module.html#destroy--">destroy()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Module.html" title="class in org.pytorch">Module</a></dt>
<dd>
<div class="block">Explicitly destroys the native torch::jit::Module.</div>
</dd>
<dt><a href="org/pytorch/Device.html" title="enum in org.pytorch"><span class="typeNameLink">Device</span></a> - Enum in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#dictLongKeyFrom-java.util.Map-">dictLongKeyFrom(Map<Long, IValue>)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>Dict[int, V]</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#dictStringKeyFrom-java.util.Map-">dictStringKeyFrom(Map<String, IValue>)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>Dict[str, V]</code>.</div>
</dd>
<dt><a href="org/pytorch/DType.html" title="enum in org.pytorch"><span class="typeNameLink">DType</span></a> - Enum in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd>
<div class="block">Codes representing tensor data types.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#dtype--">dtype()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
</dl>
<a name="I:F">
<!-- -->
</a>
<h2 class="title">F</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Module.html#forward-org.pytorch.IValue...-">forward(IValue...)</a></span> - Method in class org.pytorch.<a href="org/pytorch/Module.html" title="class in org.pytorch">Module</a></dt>
<dd>
<div class="block">Runs the 'forward' method of this module with the specified arguments.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#from-org.pytorch.Tensor-">from(Tensor)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>Tensor</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#from-boolean-">from(boolean)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>bool</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#from-long-">from(long)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>int</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#from-double-">from(double)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>float</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#from-java.lang.String-">from(String)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>str</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-byte:A-long:A-org.pytorch.MemoryFormat-">fromBlob(byte[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int8 with specified shape and data as array of
bytes.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-byte:A-long:A-">fromBlob(byte[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-int:A-long:A-org.pytorch.MemoryFormat-">fromBlob(int[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int32 with specified shape and data as array of
ints.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-int:A-long:A-">fromBlob(int[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-float:A-long:A-org.pytorch.MemoryFormat-">fromBlob(float[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.float32 with specified shape and data as array
of floats.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-float:A-long:A-">fromBlob(float[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-long:A-long:A-org.pytorch.MemoryFormat-">fromBlob(long[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int64 with specified shape and data as array of
longs.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-long:A-long:A-">fromBlob(long[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-double:A-long:A-org.pytorch.MemoryFormat-">fromBlob(double[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.float64 with specified shape and data as array
of doubles.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-double:A-long:A-">fromBlob(double[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.ByteBuffer-long:A-org.pytorch.MemoryFormat-">fromBlob(ByteBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int8 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.ByteBuffer-long:A-">fromBlob(ByteBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.IntBuffer-long:A-org.pytorch.MemoryFormat-">fromBlob(IntBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int32 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.IntBuffer-long:A-">fromBlob(IntBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.FloatBuffer-long:A-org.pytorch.MemoryFormat-">fromBlob(FloatBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.float32 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.FloatBuffer-long:A-">fromBlob(FloatBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.LongBuffer-long:A-org.pytorch.MemoryFormat-">fromBlob(LongBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.int64 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.LongBuffer-long:A-">fromBlob(LongBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.DoubleBuffer-long:A-org.pytorch.MemoryFormat-">fromBlob(DoubleBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.float64 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlob-java.nio.DoubleBuffer-long:A-">fromBlob(DoubleBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlobUnsigned-byte:A-long:A-org.pytorch.MemoryFormat-">fromBlobUnsigned(byte[], long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.uint8 with specified shape and data as array of
bytes.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlobUnsigned-byte:A-long:A-">fromBlobUnsigned(byte[], long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlobUnsigned-java.nio.ByteBuffer-long:A-org.pytorch.MemoryFormat-">fromBlobUnsigned(ByteBuffer, long[], MemoryFormat)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Creates a new Tensor instance with dtype torch.uint8 with specified shape and data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#fromBlobUnsigned-java.nio.ByteBuffer-long:A-">fromBlobUnsigned(ByteBuffer, long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
</dl>
<a name="I:G">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsByteArray--">getDataAsByteArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsDoubleArray--">getDataAsDoubleArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsFloatArray--">getDataAsFloatArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsIntArray--">getDataAsIntArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsLongArray--">getDataAsLongArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#getDataAsUnsignedByteArray--">getDataAsUnsignedByteArray()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd> </dd>
</dl>
<a name="I:I">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isBool--">isBool()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isBoolList--">isBoolList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isDictLongKey--">isDictLongKey()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isDictStringKey--">isDictStringKey()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isDouble--">isDouble()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isDoubleList--">isDoubleList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isList--">isList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isLong--">isLong()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isLongList--">isLongList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isNull--">isNull()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isString--">isString()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isTensor--">isTensor()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isTensorList--">isTensorList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#isTuple--">isTuple()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><a href="org/pytorch/IValue.html" title="class in org.pytorch"><span class="typeNameLink">IValue</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd>
<div class="block">Java representation of a TorchScript value, which is implemented as tagged union that can be one
of the supported types: https://pytorch.org/docs/stable/jit.html#types .</div>
</dd>
</dl>
<a name="I:L">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#listFrom-boolean...-">listFrom(boolean...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>List[bool]</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#listFrom-long...-">listFrom(long...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>List[int]</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#listFrom-double...-">listFrom(double...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>List[float]</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#listFrom-org.pytorch.Tensor...-">listFrom(Tensor...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>List[Tensor]</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#listFrom-org.pytorch.IValue...-">listFrom(IValue...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>List[T]</code>.</div>
</dd>
<dt><a href="org/pytorch/LiteModuleLoader.html" title="class in org.pytorch"><span class="typeNameLink">LiteModuleLoader</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/LiteModuleLoader.html#LiteModuleLoader--">LiteModuleLoader()</a></span> - Constructor for class org.pytorch.<a href="org/pytorch/LiteModuleLoader.html" title="class in org.pytorch">LiteModuleLoader</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/LiteModuleLoader.html#load-java.lang.String-java.util.Map-org.pytorch.Device-">load(String, Map<String, String>, Device)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/LiteModuleLoader.html" title="class in org.pytorch">LiteModuleLoader</a></dt>
<dd>
<div class="block">Loads a serialized TorchScript module from the specified path on the disk to run on specified
device.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/LiteModuleLoader.html#load-java.lang.String-">load(String)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/LiteModuleLoader.html" title="class in org.pytorch">LiteModuleLoader</a></dt>
<dd>
<div class="block">Loads a serialized TorchScript module from the specified path on the disk to run on CPU.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Module.html#load-java.lang.String-java.util.Map-org.pytorch.Device-">load(String, Map<String, String>, Device)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Module.html" title="class in org.pytorch">Module</a></dt>
<dd>
<div class="block">Loads a serialized TorchScript module from the specified path on the disk to run on specified
device.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Module.html#load-java.lang.String-">load(String)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Module.html" title="class in org.pytorch">Module</a></dt>
<dd>
<div class="block">Loads a serialized TorchScript module from the specified path on the disk to run on CPU.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/PyTorchAndroid.html#loadModuleFromAsset-android.content.res.AssetManager-java.lang.String-org.pytorch.Device-">loadModuleFromAsset(AssetManager, String, Device)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/PyTorchAndroid.html" title="class in org.pytorch">PyTorchAndroid</a></dt>
<dd>
<div class="block">Attention: This is not recommended way of loading production modules, as prepackaged assets
increase apk size etc.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/PyTorchAndroid.html#loadModuleFromAsset-android.content.res.AssetManager-java.lang.String-">loadModuleFromAsset(AssetManager, String)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/PyTorchAndroid.html" title="class in org.pytorch">PyTorchAndroid</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/PyTorchCodegenLoader.html#loadNativeLibs--">loadNativeLibs()</a></span> - Static method in class org.pytorch.<a href="org/pytorch/PyTorchCodegenLoader.html" title="class in org.pytorch">PyTorchCodegenLoader</a></dt>
<dd> </dd>
</dl>
<a name="I:M">
<!-- -->
</a>
<h2 class="title">M</h2>
<dl>
<dt><a href="org/pytorch/MemoryFormat.html" title="enum in org.pytorch"><span class="typeNameLink">MemoryFormat</span></a> - Enum in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#memoryFormat--">memoryFormat()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Returns the memory format of this tensor.</div>
</dd>
<dt><a href="org/pytorch/Module.html" title="class in org.pytorch"><span class="typeNameLink">Module</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd>
<div class="block">Java wrapper for torch::jit::Module.</div>
</dd>
</dl>
<a name="I:N">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#numel--">numel()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Returns the number of elements in this tensor.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#numel-long:A-">numel(long[])</a></span> - Static method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Calculates the number of elements in a tensor with the specified shape.</div>
</dd>
</dl>
<a name="I:O">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#optionalNull--">optionalNull()</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>Optional</code> that contains no value.</div>
</dd>
<dt><a href="org/pytorch/package-summary.html">org.pytorch</a> - package org.pytorch</dt>
<dd> </dd>
</dl>
<a name="I:P">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><a href="org/pytorch/PyTorchAndroid.html" title="class in org.pytorch"><span class="typeNameLink">PyTorchAndroid</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/PyTorchAndroid.html#PyTorchAndroid--">PyTorchAndroid()</a></span> - Constructor for class org.pytorch.<a href="org/pytorch/PyTorchAndroid.html" title="class in org.pytorch">PyTorchAndroid</a></dt>
<dd> </dd>
<dt><a href="org/pytorch/PyTorchCodegenLoader.html" title="class in org.pytorch"><span class="typeNameLink">PyTorchCodegenLoader</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd> </dd>
</dl>
<a name="I:R">
<!-- -->
</a>
<h2 class="title">R</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Module.html#runMethod-java.lang.String-org.pytorch.IValue...-">runMethod(String, IValue...)</a></span> - Method in class org.pytorch.<a href="org/pytorch/Module.html" title="class in org.pytorch">Module</a></dt>
<dd>
<div class="block">Runs the specified method of this module with the specified arguments.</div>
</dd>
</dl>
<a name="I:S">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/PyTorchAndroid.html#setNumThreads-int-">setNumThreads(int)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/PyTorchAndroid.html" title="class in org.pytorch">PyTorchAndroid</a></dt>
<dd>
<div class="block">Globally sets the number of threads used on native side.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Tensor.html#shape--">shape()</a></span> - Method in class org.pytorch.<a href="org/pytorch/Tensor.html" title="class in org.pytorch">Tensor</a></dt>
<dd>
<div class="block">Returns the shape of this tensor.</div>
</dd>
</dl>
<a name="I:T">
<!-- -->
</a>
<h2 class="title">T</h2>
<dl>
<dt><a href="org/pytorch/Tensor.html" title="class in org.pytorch"><span class="typeNameLink">Tensor</span></a> - Class in <a href="org/pytorch/package-summary.html">org.pytorch</a></dt>
<dd>
<div class="block">Representation of a Tensor.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toBool--">toBool()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toBoolList--">toBoolList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toDictLongKey--">toDictLongKey()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toDictStringKey--">toDictStringKey()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toDouble--">toDouble()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toDoubleList--">toDoubleList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toList--">toList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toLong--">toLong()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toLongList--">toLongList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toStr--">toStr()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toTensor--">toTensor()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toTensorList--">toTensorList()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#toTuple--">toTuple()</a></span> - Method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/pytorch/IValue.html#tupleFrom-org.pytorch.IValue...-">tupleFrom(IValue...)</a></span> - Static method in class org.pytorch.<a href="org/pytorch/IValue.html" title="class in org.pytorch">IValue</a></dt>
<dd>
<div class="block">Creates a new <code>IValue</code> of type <code>Tuple[T0, T1, ...]</code>.</div>
</dd>
</dl>
<a name="I:V">
<!-- -->
</a>
<h2 class="title">V</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/pytorch/Device.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/Device.html" title="enum in org.pytorch">Device</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/DType.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/DType.html" title="enum in org.pytorch">DType</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/MemoryFormat.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/MemoryFormat.html" title="enum in org.pytorch">MemoryFormat</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/Device.html#values--">values()</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/Device.html" title="enum in org.pytorch">Device</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/DType.html#values--">values()</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/DType.html" title="enum in org.pytorch">DType</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/pytorch/MemoryFormat.html#values--">values()</a></span> - Static method in enum org.pytorch.<a href="org/pytorch/MemoryFormat.html" title="enum in org.pytorch">MemoryFormat</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
</dl>
<a href="#I:A">A</a> <a href="#I:D">D</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:V">V</a> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/pytorch/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>