MCPcopy
hub / github.com/huggingface/transformers.js / tensor_ops.test.js

File tensor_ops.test.js

packages/transformers/tests/utils/tensor_ops.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Tensor, interpolate_4d, matmul, rfft, slice } from "../../src/transformers.js";
2import { init } from "../init.js";
3
4// Initialise the testing environment

Callers

nothing calls this directly

Calls 8

initFunction · 0.90
interpolate_4dFunction · 0.90
matmulFunction · 0.90
rfftFunction · 0.90
sliceFunction · 0.90
expectToBeCloseToArrayFunction · 0.85
rangeFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected