update raw byte calculation to use byteLength (#1108)
update raw byte calculation to use byteLength (#1108)


tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs