Skip to content

Instantly share code, notes, and snippets.

@AdrianoPereira
Created December 6, 2020 22:34
Show Gist options
  • Save AdrianoPereira/5f441d0b4fb4dcdf78e6c1dc0660ccd8 to your computer and use it in GitHub Desktop.
Save AdrianoPereira/5f441d0b4fb4dcdf78e6c1dc0660ccd8 to your computer and use it in GitHub Desktop.
Call function to create file...
File created
Reading file...
Variables...
Variable scalarVar:
Shape: (1,)
Value: [--]
Variable arrayVar:
Shape: (100,)
Value: [ 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.]
Variable rowsMatVar:
Shape: (20,)
Value: [ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.
19. 20.]
Variable colsMatVar:
Shape: (100,)
Value: [-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- --]
Variable rowsColsVar:
Shape: (100, 20, 100)
Value: [[[7.3187795 1.8219321 4.2172256 ... 0.3942922 2.0232856 0.6980289 ]
[7.2288346 5.219848 1.824666 ... 6.035504 5.677973 3.790814 ]
[6.045715 5.4373236 8.262479 ... 7.3463573 9.144281 8.998693 ]
...
[0.18109098 1.2336793 3.40731 ... 9.46226 5.6766157 9.757577 ]
[0.42374578 4.250779 2.2434642 ... 7.7187357 1.8396022 6.728637 ]
[6.2471943 5.392706 4.484221 ... 0.76716906 1.2571552 5.6313896 ]]
[[9.236088 6.2854633 9.51605 ... 8.056298 6.28465 2.402918 ]
[9.18431 5.1473536 8.203676 ... 3.3952038 3.1694345 9.098676 ]
[7.8410883 2.5999343 9.387167 ... 3.4354355 1.9061424 9.980979 ]
...
[6.9834547 3.160049 5.818061 ... 9.133956 1.2639928 7.641145 ]
[7.988796 7.5889096 4.045027 ... 9.191262 0.7735383 5.8013334 ]
[6.517834 1.7721283 7.043069 ... 1.7988319 7.481501 5.0884323 ]]
[[2.0408149 4.3934555 4.213843 ... 6.802668 1.7419825 5.1823816 ]
[8.234138 7.4753532 4.682668 ... 3.4520268 2.2870011 2.847627 ]
[5.99922 8.947133 2.0754223 ... 6.064337 0.29737446 1.9724776 ]
...
[2.4914165 5.4321494 2.143587 ... 7.188325 0.28232914 2.4817216 ]
[9.392285 1.2670162 2.8096168 ... 5.574025 7.2626343 7.5317225 ]
[4.7041183 6.257938 8.852018 ... 3.3777115 6.2642865 3.2591667 ]]
...
[[9.492839 7.248939 1.7463909 ... 6.650246 5.1799617 0.8504491 ]
[0.58131826 4.2368093 4.3839917 ... 1.9460166 4.4806848 7.3313932 ]
[9.294383 8.452206 2.124131 ... 7.1962304 0.242156 3.5645175 ]
...
[6.293277 3.8774564 8.545565 ... 0.10898643 8.35219 0.08060933]
[7.3461018 8.74585 4.219113 ... 4.3184466 1.616299 8.667312 ]
[4.0706615 9.47696 6.4888372 ... 0.91388875 8.089215 2.6357496 ]]
[[3.6745484 7.651182 5.6186447 ... 9.870072 0.5783309 5.3469324 ]
[2.9439971 5.190292 7.470213 ... 9.72875 3.723962 9.850588 ]
[7.5835176 3.8688028 8.164076 ... 0.17843115 5.702893 2.0702808 ]
...
[7.2061152 0.03004639 5.389151 ... 8.5077915 9.419944 0.03133448]
[7.3355575 1.222102 2.7271607 ... 6.848793 5.88099 0.32327282]
[8.082704 1.6108705 6.497821 ... 9.153453 6.1560936 8.624756 ]]
[[6.0337706 2.7625294 4.205559 ... 0.12332935 4.874169 9.335187 ]
[8.433391 3.885953 2.701609 ... 1.7364765 7.981617 3.168566 ]
[4.163597 5.2406087 8.128121 ... 4.337817 9.474111 3.8104112 ]
...
[3.1100857 4.3566976 7.142685 ... 2.0645237 3.0298522 5.5627723 ]
[3.8812823 6.813965 2.2405975 ... 4.70213 6.292757 8.233903 ]
[2.131213 6.241889 4.327113 ... 7.554357 7.246302 5.2731085 ]]]
Closing file...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment