-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTensorvis.html
More file actions
678 lines (672 loc) · 24.1 KB
/
Copy pathTensorvis.html
File metadata and controls
678 lines (672 loc) · 24.1 KB
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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Static Report: Tensorvis.md</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.6; padding: 20px; max-width: 1200px; margin: 0 auto; color: #333; }
h1, h2, h3 { color: #24292e; border-bottom: 1px solid #eaecef; padding-bottom: .3em; }
code { background-color: #f6f8fa; padding: 0.2em 0.4em; border-radius: 3px; font-family: monospace; }
pre { background-color: #f6f8fa; padding: 16px; overflow: auto; border-radius: 6px; }
blockquote { border-left: 4px solid #dfe2e5; color: #6a737d; padding-left: 1em; margin-left: 0; }
/* Table Styles */
table { border-collapse: collapse; width: 100%; margin-bottom: 16px; display: block; overflow-x: auto; }
th, td { border: 1px solid #dfe2e5; padding: 6px 13px; }
th { background-color: #f6f8fa; font-weight: 600; }
tr:nth-child(2n) { background-color: #f6f8fa; }
.mermaid { margin: 20px 0; text-align: center; }
details { margin-bottom: 10px; border: 1px solid #e1e4e8; border-radius: 6px; padding: 8px; }
summary { cursor: pointer; font-weight: bold; outline: none; }
.edgeLabel {
font-size: 11px !important;
background-color: rgba(255, 255, 255, 0.9) !important;
padding: 2px !important;
border-radius: 4px;
}
</style>
</head>
<body>
<h1>🕵️ PyStaticInspector Report</h1>
<blockquote>Analyzed Root: <code>/data2/TensorVis</code></blockquote>
<br>
<h2>1. 🚦 Navigator: How to Drive</h2>
<h3>✅ Detected Entry Points (Scripts)</h3>
- <code>TensorVis.vis</code> (contains <code>if __name__ == '__main__'</code>)<br>
- <code>TensorVis.cli</code> (contains <code>if __name__ == '__main__'</code>)<br>
- <code>TensorVis.op_viz</code> (contains <code>if __name__ == '__main__'</code>)<br>
<br>
<h3>🧩 Top Complex Functions (Potential Core Logic)</h3>
<table><thead><tr><th>Complexity</th><th>Function</th><th>Args</th></tr></thead><tbody><tr><td>34 lines</td><td><code>TensorVis.op_viz.visualize_matmul</code></td><td><code>(A, B, title)</code></td></tr><tr><td>21 lines</td><td><code>TensorVis.inspector.inspect</code></td><td><code>(self)</code></td></tr><tr><td>21 lines</td><td><code>TensorVis.vis.inspect</code></td><td><code>(self)</code></td></tr><tr><td>14 lines</td><td><code>TensorVis.inspector.visualize</code></td><td><code>(self)</code></td></tr><tr><td>14 lines</td><td><code>TensorVis.vis.visualize</code></td><td><code>(self)</code></td></tr><tr><td>14 lines</td><td><code>TensorVis.op_viz.visualize_broadcast_add</code></td><td><code>(A, B, title)</code></td></tr><tr><td>8 lines</td><td><code>TensorVis.cli.inspect_random</code></td><td><code>(shape, name)</code></td></tr><tr><td>7 lines</td><td><code>TensorVis.inspector._guess_dim_names</code></td><td><code>(self)</code></td></tr><tr><td>7 lines</td><td><code>TensorVis.vis._guess_dim_names</code></td><td><code>(self)</code></td></tr><tr><td>7 lines</td><td><code>TensorVis.op_viz._plot_matrix</code></td><td><code>(ax, mat, title)</code></td></tr></tbody></table>
<br>
<h2>2. 🕸️ Network & Architecture</h2>
<h3>Dependency Graph</h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
graph TD
classDef internal fill:#f96,stroke:#333,stroke-width:2px;
classDef external fill:#9cf,stroke:#333,stroke-width:1px;
TensorVis_inspector["TensorVis.inspector"] --> ext_numpy["numpy"]
class TensorVis_inspector internal;
class ext_numpy external;
TensorVis_inspector["TensorVis.inspector"] --> ext_matplotlib["matplotlib"]
class TensorVis_inspector internal;
class ext_matplotlib external;
TensorVis_inspector["TensorVis.inspector"] --> ext_itertools["itertools"]
class TensorVis_inspector internal;
class ext_itertools external;
TensorVis_vis["TensorVis.vis"] --> ext_numpy["numpy"]
class TensorVis_vis internal;
class ext_numpy external;
TensorVis_vis["TensorVis.vis"] --> ext_matplotlib["matplotlib"]
class TensorVis_vis internal;
class ext_matplotlib external;
TensorVis_vis["TensorVis.vis"] --> ext_itertools["itertools"]
class TensorVis_vis internal;
class ext_itertools external;
TensorVis_cli["TensorVis.cli"] --> ext_typer["typer"]
class TensorVis_cli internal;
class ext_typer external;
TensorVis_cli["TensorVis.cli"] --> ext_numpy["numpy"]
class TensorVis_cli internal;
class ext_numpy external;
TensorVis_cli["TensorVis.cli"] --> ext_typing["typing"]
class TensorVis_cli internal;
class ext_typing external;
TensorVis_cli["TensorVis.cli"] --> ext_inspector["inspector"]
class TensorVis_cli internal;
class ext_inspector external;
TensorVis_cli["TensorVis.cli"] --> ext_op_viz["op_viz"]
class TensorVis_cli internal;
class ext_op_viz external;
TensorVis_op_viz["TensorVis.op_viz"] --> ext_numpy["numpy"]
class TensorVis_op_viz internal;
class ext_numpy external;
TensorVis_op_viz["TensorVis.op_viz"] --> ext_matplotlib["matplotlib"]
class TensorVis_op_viz internal;
class ext_matplotlib external;
</div>
<br>
<br>
<h2>3. 🧠 API Logic Flow (Top 5 Functions)</h2>
<h3>Flow: <code>TensorVis.op_viz.visualize_matmul</code></h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
flowchart TD
classDef input fill:#e3f2fd,stroke:#1565c0;
classDef process fill:#fff,stroke:#bdbdbd;
classDef decision fill:#f3e5f5,stroke:#7b1fa2,stroke-dasharray: 5 5;
Start([Input: A, B, title]):::input
N1["Expr"]:::process
Start --> N1
N2{"If hasattr(A, 'detach')?"}:::decision
N1 --> N2
N3["Call: numpy -> A"]:::process
N2 --> N3
N4["Merge"]:::process
N2 --> N4
N3 --> N4
N5{"If hasattr(B, 'detach')?"}:::decision
N4 --> N5
N6["Call: numpy -> B"]:::process
N5 --> N6
N7["Merge"]:::process
N5 --> N7
N6 --> N7
N8["Call: array -> A"]:::process
N7 --> N8
N9["Call: array -> B"]:::process
N8 --> N9
N10{"If A.ndim != 2 or B.ndim != 2?"}:::decision
N9 --> N10
N11["Call: print"]:::process
N10 --> N11
N12([Return]):::input
N11 --> N12
N13["Merge"]:::process
N10 --> N13
N12 --> N13
N14{"If A.shape[1] != B.shape[0]?"}:::decision
N13 --> N14
N15["Call: print"]:::process
N14 --> N15
N16([Return]):::input
N15 --> N16
N17["Merge"]:::process
N14 --> N17
N16 --> N17
N18["Process -> C"]:::process
N17 --> N18
N19["Call: figure -> fig"]:::process
N18 --> N19
N20["Call: subplot2grid -> ax_A"]:::process
N19 --> N20
N21["Call: subplot2grid -> ax_B"]:::process
N20 --> N21
N22["Call: subplot2grid -> ax_C"]:::process
N21 --> N22
N23["Call: subplot2grid -> ax_Eq"]:::process
N22 --> N23
N24["Call: _plot_matrix"]:::process
N23 --> N24
N25["Call: _plot_matrix"]:::process
N24 --> N25
N26["Call: _plot_matrix"]:::process
N25 --> N26
N27["Call: Rectangle -> rect_A"]:::process
N26 --> N27
N28["Call: add_patch"]:::process
N27 --> N28
N29["Call: Rectangle -> rect_B"]:::process
N28 --> N29
N30["Call: add_patch"]:::process
N29 --> N30
N31["Call: Rectangle -> rect_C"]:::process
N30 --> N31
N32["Call: add_patch"]:::process
N31 --> N32
N33["Process -> row_vec"]:::process
N32 --> N33
N34["Process -> col_vec"]:::process
N33 --> N34
N35["Process -> terms"]:::process
N34 --> N35
N36{"For (a, b)?"}:::decision
N35 --> N36
N37["Call: append"]:::process
N36 --> N37
N38["After For"]:::process
N37 --> N36
N36 --> N38
N39["Call: join -> dot_product_str"]:::process
N38 --> N39
N40["Call: dot -> result"]:::process
N39 --> N40
N41["Process -> formula_text"]:::process
N40 --> N41
N42["Call: text"]:::process
N41 --> N42
N43["Call: axis"]:::process
N42 --> N43
N44["Call: suptitle"]:::process
N43 --> N44
N45["Call: tight_layout"]:::process
N44 --> N45
N46["Call: show"]:::process
N45 --> N46
N47([End]):::input
N46 --> N47
</div>
<br>
<br>
<br>
<h3>Flow: <code>TensorVis.inspector.inspect</code></h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
flowchart TD
classDef input fill:#e3f2fd,stroke:#1565c0;
classDef process fill:#fff,stroke:#bdbdbd;
classDef decision fill:#f3e5f5,stroke:#7b1fa2,stroke-dasharray: 5 5;
Start([Input: self]):::input
N1["Expr"]:::process
Start --> N1
N2["Call: print"]:::process
N1 --> N2
N3["Call: print"]:::process
N2 --> N3
N4["Call: _guess_dim_names -> dim_names"]:::process
N3 --> N4
N5["Call: join -> shape_str"]:::process
N4 --> N5
N6["Call: print"]:::process
N5 --> N6
N7["Call: print"]:::process
N6 --> N7
N8["Call: print"]:::process
N7 --> N8
N9["Call: print"]:::process
N8 --> N9
N10["Call: any -> has_nan"]:::process
N9 --> N10
N11["Call: any -> has_inf"]:::process
N10 --> N11
N12["Call: print"]:::process
N11 --> N12
N13["Call: print"]:::process
N12 --> N13
N14["Call: print"]:::process
N13 --> N14
N15{"If self.size > 0?"}:::decision
N14 --> N15
N16["Process -> assign"]:::process
N15 --> N16
N17["Call: print"]:::process
N16 --> N17
N18["Call: print"]:::process
N17 --> N18
N19["Call: sum -> zeros"]:::process
N18 --> N19
N20["Process -> sparsity"]:::process
N19 --> N20
N21["Call: print"]:::process
N20 --> N21
N22["Merge"]:::process
N15 --> N22
N21 --> N22
N23["Call: print"]:::process
N22 --> N23
N24["Call: sum -> l1"]:::process
N23 --> N24
N25["Call: norm -> l2"]:::process
N24 --> N25
N26["Call: print"]:::process
N25 --> N26
N27{"If self.ndim >= 2 and self.size > 0 and (not has_nan) and (not has_inf)?"}:::decision
N26 --> N27
N28["Process -> matrix"]:::process
N27 --> N28
N29{"While matrix.ndim > 2?"}:::decision
N28 --> N29
N30["Process -> matrix"]:::process
N29 --> N30
N31["After While"]:::process
N30 --> N29
N29 --> N31
N32["Try"]:::process
N31 --> N32
N33["Merge"]:::process
N27 --> N33
N32 --> N33
N34["Call: print"]:::process
N33 --> N34
N35([End]):::input
N34 --> N35
</div>
<br>
<br>
<br>
<h3>Flow: <code>TensorVis.vis.inspect</code></h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
flowchart TD
classDef input fill:#e3f2fd,stroke:#1565c0;
classDef process fill:#fff,stroke:#bdbdbd;
classDef decision fill:#f3e5f5,stroke:#7b1fa2,stroke-dasharray: 5 5;
Start([Input: self]):::input
N1["Expr"]:::process
Start --> N1
N2["Call: print"]:::process
N1 --> N2
N3["Call: print"]:::process
N2 --> N3
N4["Call: _guess_dim_names -> dim_names"]:::process
N3 --> N4
N5["Call: join -> shape_str"]:::process
N4 --> N5
N6["Call: print"]:::process
N5 --> N6
N7["Call: print"]:::process
N6 --> N7
N8["Call: print"]:::process
N7 --> N8
N9["Call: print"]:::process
N8 --> N9
N10["Call: any -> has_nan"]:::process
N9 --> N10
N11["Call: any -> has_inf"]:::process
N10 --> N11
N12["Call: print"]:::process
N11 --> N12
N13["Call: print"]:::process
N12 --> N13
N14["Call: print"]:::process
N13 --> N14
N15{"If self.size > 0?"}:::decision
N14 --> N15
N16["Process -> assign"]:::process
N15 --> N16
N17["Call: print"]:::process
N16 --> N17
N18["Call: print"]:::process
N17 --> N18
N19["Call: sum -> zeros"]:::process
N18 --> N19
N20["Process -> sparsity"]:::process
N19 --> N20
N21["Call: print"]:::process
N20 --> N21
N22["Merge"]:::process
N15 --> N22
N21 --> N22
N23["Call: print"]:::process
N22 --> N23
N24["Call: sum -> l1"]:::process
N23 --> N24
N25["Call: norm -> l2"]:::process
N24 --> N25
N26["Call: print"]:::process
N25 --> N26
N27{"If self.ndim >= 2 and self.size > 0 and (not has_nan) and (not has_inf)?"}:::decision
N26 --> N27
N28["Process -> matrix"]:::process
N27 --> N28
N29{"While matrix.ndim > 2?"}:::decision
N28 --> N29
N30["Process -> matrix"]:::process
N29 --> N30
N31["After While"]:::process
N30 --> N29
N29 --> N31
N32["Try"]:::process
N31 --> N32
N33["Merge"]:::process
N27 --> N33
N32 --> N33
N34["Call: print"]:::process
N33 --> N34
N35([End]):::input
N34 --> N35
</div>
<br>
<br>
<br>
<h3>Flow: <code>TensorVis.inspector.visualize</code></h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
flowchart TD
classDef input fill:#e3f2fd,stroke:#1565c0;
classDef process fill:#fff,stroke:#bdbdbd;
classDef decision fill:#f3e5f5,stroke:#7b1fa2,stroke-dasharray: 5 5;
Start([Input: self]):::input
N1["Expr"]:::process
Start --> N1
N2["Call: use"]:::process
N1 --> N2
N3["Call: figure -> fig"]:::process
N2 --> N3
N4["Call: add_gridspec -> gs"]:::process
N3 --> N4
N5["Call: add_subplot -> ax1"]:::process
N4 --> N5
N6["Call: flatten -> flat_data"]:::process
N5 --> N6
N7["Process -> clean_data"]:::process
N6 --> N7
N8{"If len(clean_data) > 0?"}:::decision
N7 --> N8
N9["Call: hist"]:::process
N8 --> N9
N10["Call: axvline"]:::process
N9 --> N10
N11["Call: set_title"]:::process
N10 --> N11
N12["Call: set_xlabel"]:::process
N11 --> N12
N13["Call: set_ylabel"]:::process
N12 --> N13
N14["Call: legend"]:::process
N13 --> N14
N15["Call: text"]:::process
N8 --> N15
N16["Merge"]:::process
N15 --> N16
N14 --> N16
N17["Call: add_subplot -> ax2"]:::process
N16 --> N17
N18{"If self.ndim == 1?"}:::decision
N17 --> N18
N19["Call: bar"]:::process
N18 --> N19
N20["Call: set_title"]:::process
N19 --> N20
N21{"If self.ndim == 2?"}:::decision
N18 --> N21
N22["Call: imshow -> im"]:::process
N21 --> N22
N23["Call: colorbar"]:::process
N22 --> N23
N24["Call: set_title"]:::process
N23 --> N24
N25{"If self.ndim >= 3?"}:::decision
N21 --> N25
N26["Process -> slice_data"]:::process
N25 --> N26
N27{"While slice_data.ndim > 3?"}:::decision
N26 --> N27
N28["Process -> slice_data"]:::process
N27 --> N28
N29["After While"]:::process
N28 --> N27
N27 --> N29
N30{"If slice_data.shape[0] > slice_data.shape[-1] and slice_data.shape[-1] > 1?"}:::decision
N29 --> N30
N31["Call: transpose -> slice_data"]:::process
N30 --> N31
N32["Merge"]:::process
N30 --> N32
N31 --> N32
N33["Call: min -> num_slices"]:::process
N32 --> N33
N34["Process -> assign"]:::process
N33 --> N34
N35["Call: zeros -> montage"]:::process
N34 --> N35
N36{"For i?"}:::decision
N35 --> N36
N37["Process -> assign"]:::process
N36 --> N37
N38["After For"]:::process
N37 --> N36
N36 --> N38
N39["Call: imshow -> im"]:::process
N38 --> N39
N40["Call: colorbar"]:::process
N39 --> N40
N41["Call: set_title"]:::process
N40 --> N41
N42["Call: axis"]:::process
N41 --> N42
N43["Merge"]:::process
N25 --> N43
N42 --> N43
N44["Merge"]:::process
N43 --> N44
N24 --> N44
N45["Merge"]:::process
N44 --> N45
N20 --> N45
N46["Call: add_subplot -> ax3"]:::process
N45 --> N46
N47{"If self.ndim >= 2 and self.size > 0?"}:::decision
N46 --> N47
N48["Process -> matrix"]:::process
N47 --> N48
N49{"While matrix.ndim > 2?"}:::decision
N48 --> N49
N50["Process -> matrix"]:::process
N49 --> N50
N51["After While"]:::process
N50 --> N49
N49 --> N51
N52["Try"]:::process
N51 --> N52
N53["Call: text"]:::process
N47 --> N53
N54["Call: axis"]:::process
N53 --> N54
N55["Merge"]:::process
N54 --> N55
N52 --> N55
N56["Call: tight_layout"]:::process
N55 --> N56
N57["Call: show"]:::process
N56 --> N57
N58([End]):::input
N57 --> N58
</div>
<br>
<br>
<br>
<h3>Flow: <code>TensorVis.vis.visualize</code></h3>
<br>
<div class="mermaid" style="overflow-x: auto;">
flowchart TD
classDef input fill:#e3f2fd,stroke:#1565c0;
classDef process fill:#fff,stroke:#bdbdbd;
classDef decision fill:#f3e5f5,stroke:#7b1fa2,stroke-dasharray: 5 5;
Start([Input: self]):::input
N1["Expr"]:::process
Start --> N1
N2["Call: use"]:::process
N1 --> N2
N3["Call: figure -> fig"]:::process
N2 --> N3
N4["Call: add_gridspec -> gs"]:::process
N3 --> N4
N5["Call: add_subplot -> ax1"]:::process
N4 --> N5
N6["Call: flatten -> flat_data"]:::process
N5 --> N6
N7["Process -> clean_data"]:::process
N6 --> N7
N8{"If len(clean_data) > 0?"}:::decision
N7 --> N8
N9["Call: hist"]:::process
N8 --> N9
N10["Call: axvline"]:::process
N9 --> N10
N11["Call: set_title"]:::process
N10 --> N11
N12["Call: set_xlabel"]:::process
N11 --> N12
N13["Call: set_ylabel"]:::process
N12 --> N13
N14["Call: legend"]:::process
N13 --> N14
N15["Call: text"]:::process
N8 --> N15
N16["Merge"]:::process
N15 --> N16
N14 --> N16
N17["Call: add_subplot -> ax2"]:::process
N16 --> N17
N18{"If self.ndim == 1?"}:::decision
N17 --> N18
N19["Call: bar"]:::process
N18 --> N19
N20["Call: set_title"]:::process
N19 --> N20
N21{"If self.ndim == 2?"}:::decision
N18 --> N21
N22["Call: imshow -> im"]:::process
N21 --> N22
N23["Call: colorbar"]:::process
N22 --> N23
N24["Call: set_title"]:::process
N23 --> N24
N25{"If self.ndim >= 3?"}:::decision
N21 --> N25
N26["Process -> slice_data"]:::process
N25 --> N26
N27{"While slice_data.ndim > 3?"}:::decision
N26 --> N27
N28["Process -> slice_data"]:::process
N27 --> N28
N29["After While"]:::process
N28 --> N27
N27 --> N29
N30{"If slice_data.shape[0] > slice_data.shape[-1] and slice_data.shape[-1] > 1?"}:::decision
N29 --> N30
N31["Call: transpose -> slice_data"]:::process
N30 --> N31
N32["Merge"]:::process
N30 --> N32
N31 --> N32
N33["Call: min -> num_slices"]:::process
N32 --> N33
N34["Process -> assign"]:::process
N33 --> N34
N35["Call: zeros -> montage"]:::process
N34 --> N35
N36{"For i?"}:::decision
N35 --> N36
N37["Process -> assign"]:::process
N36 --> N37
N38["After For"]:::process
N37 --> N36
N36 --> N38
N39["Call: imshow -> im"]:::process
N38 --> N39
N40["Call: colorbar"]:::process
N39 --> N40
N41["Call: set_title"]:::process
N40 --> N41
N42["Call: axis"]:::process
N41 --> N42
N43["Merge"]:::process
N25 --> N43
N42 --> N43
N44["Merge"]:::process
N43 --> N44
N24 --> N44
N45["Merge"]:::process
N44 --> N45
N20 --> N45
N46["Call: add_subplot -> ax3"]:::process
N45 --> N46
N47{"If self.ndim >= 2 and self.size > 0?"}:::decision
N46 --> N47
N48["Process -> matrix"]:::process
N47 --> N48
N49{"While matrix.ndim > 2?"}:::decision
N48 --> N49
N50["Process -> matrix"]:::process
N49 --> N50
N51["After While"]:::process
N50 --> N49
N49 --> N51
N52["Try"]:::process
N51 --> N52
N53["Call: text"]:::process
N47 --> N53
N54["Call: axis"]:::process
N53 --> N54
N55["Merge"]:::process
N54 --> N55
N52 --> N55
N56["Call: tight_layout"]:::process
N55 --> N56
N57["Call: show"]:::process
N56 --> N57
N58([End]):::input
N57 --> N58
</div>
<br>
<br>
<br>
<br>
---<br>
<br>
<h2>Additional Repository Reports</h2>
- Repository index: [INDEX.md](Tensorvis/INDEX.md) (HTML: [INDEX.html](Tensorvis/INDEX.html))<br>
- Merged dynamic report: [Tensorvis_merged_dynamic.md](Tensorvis/dynamic/Tensorvis_merged_dynamic.md) (HTML: [Tensorvis_merged_dynamic.html](Tensorvis/dynamic/Tensorvis_merged_dynamic.html))<br>
<br>
<!-- Import Mermaid.js -->
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({
startOnLoad: true,
maxTextSize: 1000000,
maxEdges: 100000,
theme: 'default',
flowchart: {
useMaxWidth: false,
htmlLabels: true,
rankSpacing: 150,
nodeSpacing: 100,
curve: 'basis'
}
});
</script>
</body>
</html>