/** * Helper function to create multiple InferenceSession objects. * * @param {string} pretrained_model_name_or_path The path to the directory containing the model file. * @param {Record} names The names of the model files to load. * @param {import('../utils/hub.js').PretrainedModelOptions} options Additional options for loading the model. * @param {string} [decoder_name] The name of the decoder model, if any. * @returns {Promise>} A Promise that resolves to a dictionary of InferenceSession objects. * @private */ export function constructSessions(pretrained_model_name_or_path: string, names: Record, options: import("../utils/hub.js").PretrainedModelOptions, decoder_name?: string): Promise>; /** * Executes an InferenceSession using the specified inputs. * NOTE: `inputs` must contain at least the input names of the model. * - If additional inputs are passed, they will be ignored. * - If inputs are missing, an error will be thrown. * * @param {Object} session The InferenceSession object to run. * @param {Object} inputs An object that maps input names to input tensors. * @returns {Promise} A Promise that resolves to an object that maps output names to output tensors. * @private */ export function sessionRun(session: any, inputs: any): Promise; //# sourceMappingURL=session.d.ts.map