-
-
Save codeas/3a790a5dea7a8257520b9014cbc2f422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createTensor_(array) { | |
//Logger.log("shape[%s,%s]", array.length, array[0].length); | |
const tensor = tf.tensor2d(array, [array.length, array[0].length]); | |
return tensor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment