Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/reranker-transformersjs / _resetPipelineFactoryCacheForTesting

Function: _resetPipelineFactoryCacheForTesting()

ts
function _resetPipelineFactoryCacheForTesting(): void;

Defined in: packages/reranker-transformersjs/src/cross-encoder.ts:92

Internal

Test-only helper. Drops the cached pipeline factory so the next loader call re-imports the peer.

Returns

void