MCPcopy
hub / github.com/tensorflow/tfjs / decodeGif

Method decodeGif

tfjs-node/src/nodejs_kernel_backend.ts:383–387  ·  view source on GitHub ↗
(contents: Uint8Array)

Source from the content-addressed store, hash-verified

381 }
382
383 decodeGif(contents: Uint8Array): Tensor4D {
384 const inputArgs = [scalar(contents, 'string')];
385 return this.executeSingleOutput('DecodeGif', [], inputArgs) as
386 Tensor<Rank.R4>;
387 }
388
389 executeEncodeImageOp(
390 name: string, opAttrs: TFEOpAttr[], imageData: Uint8Array,

Callers 1

decodeGifFunction · 0.80

Calls 2

executeSingleOutputMethod · 0.95
scalarFunction · 0.90

Tested by

no test coverage detected