<commit_before>
<script src="https://unpkg.com/deeplearn@0.5.1/dist/deeplearn.js"> </script> 

version 3<br>


<input type=button value=asdf onclick="{

myArray = new Array()
myArray =[[4,3,6,5,7],[2,1,4,6,3]]

alert(myArray)
myWow = dl.tensor(myArray)

myWow.print('verbose')

<commit_msg>Update 2d-array-to-tensor.html<commit_after>
<script src="https://unpkg.com/deeplearn@0.5.1/dist/deeplearn.js"> </script> 

version 3<br>


<input type=button value=asdf onclick="{

myArray = new Array()
myArray =[[4,3,6,5,7],[2,1,4,6,3]]

myWow = dl.tensor(myArray)

myWow.print('verbose')

                                       
alert(myArray)

{'fraction_non_alphanumeric': 0.1946624803767661, 'fraction_numerical': 0.04552590266875981, 'mean_word_length': 3.984375, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2472998', 'n_tokens_mistral': 272, 'n_tokens_neox': 254, 'n_words': 39}