function swapimport { swap } from "https://deno.land/x/netsaur@0.2.2/src/core/tensor/random.ts"; swap<T>(object: { [index: number]: T; },left: number,right: number,)swap two elements in an array Type ParametersTParametersobject: { [index: number]: T; }left: numberright: number