MCPcopy Index your code
hub / github.com/tensorflow/tfjs / encodeStrings

Function encodeStrings

tfjs-core/src/util_test.ts:210–212  ·  view source on GitHub ↗
(a: string[])

Source from the content-addressed store, hash-verified

208});
209
210function encodeStrings(a: string[]): Uint8Array[] {
211 return a.map(s => util.encodeString(s));
212}
213
214describe('util.bytesFromStringArray', () => {
215 it('count bytes after utf8 encoding', () => {

Callers 1

util_test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…