Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bbycroft/llm-viz
/ functions
Functions
1,088 in github.com/bbycroft/llm-viz
⨍
Functions
1,088
◇
Types & classes
330
↓ 1 callers
Function
genCubeGeom
(gl: WebGL2RenderingContext)
src/llm/render/blockRender.ts:293
↓ 1 callers
Function
genModelViewMatrices
(state: IProgramState, layout: IModelLayout, modelOffset: Vec3 = Vec3.zero)
src/llm/Camera.ts:69
↓ 1 callers
Function
getActiveSubSchematic
(editorState: IEditorState)
src/cpu/SubSchematics.tsx:81
↓ 1 callers
Function
getChanges
(a: any, b: any)
src/utils/hooks.ts:65
↓ 1 callers
Function
getCompDomElements
(schematic: ISchematic, idPrefix: string)
src/cpu/CpuCanvas.tsx:222
↓ 1 callers
Function
getCompFromRef
(editorState: IEditorState, refId: string)
src/cpu/SubSchematics.tsx:187
↓ 1 callers
Function
getEdgeOfPort
(port: ICompPort, compSize: Vec3)
src/cpu/CompLayoutEditor.tsx:487
↓ 1 callers
Function
getMatrixForEditContext
(editCtx: IEditContext, editorState: IEditorState)
src/cpu/SubSchematics.tsx:23
↓ 1 callers
Function
getPhaseTransitiveData
(wt: IWalkthrough)
src/llm/walkthrough/WalkthroughTools.ts:268
↓ 1 callers
Function
getPrefixForSelection
(snapshot: IEditSnapshot, editCtx?: IEditContext)
src/cpu/Selection.ts:6
↓ 1 callers
Function
getRefUnderCursor
(editorState: IEditorState, ev: React.MouseEvent, schematic?: ISchematic, mtx?: AffineMat2d, idPrefix: string
src/cpu/CanvasEventHandler.tsx:439
↓ 1 callers
Function
getRomComp
()
src/cpu/CompExampleView.tsx:191
↓ 1 callers
Function
getSchematicForRef
(editorState: IEditorState, ref: IElRef)
src/cpu/SubSchematics.tsx:101
↓ 1 callers
Method
getSuite
(fileName: string)
src/cpu/library/CodeSuiteManager.tsx:33
↓ 1 callers
Function
getWebGpuAdaptor
()
src/llm/gpu/WebGpuMain.ts:2
↓ 1 callers
Function
gpt_forward_with_capture
(model, idx)
gen_test_data.py:105
↓ 1 callers
Function
handleChange
()
src/utils/Portal.tsx:126
↓ 1 callers
Function
handleClose
()
src/cpu/library/LibraryBrowser.tsx:211
↓ 1 callers
Function
handleDelete
(ev: React.MouseEvent, schematic: ISchematicDef)
src/cpu/schematics/SchematicLibraryView.tsx:76
↓ 1 callers
Function
handleDir
(ev: React.MouseEvent, action: MovementAction)
src/llm/components/MovementControls.tsx:492
↓ 1 callers
Function
handleEditName
(ev: React.MouseEvent, schematic: ISchematicDef)
src/cpu/schematics/SchematicLibraryView.tsx:60
↓ 1 callers
Function
handleEntryClick
(example: ICodeEntry)
src/cpu/CompExampleView.tsx:54
↓ 1 callers
Function
handleMouseDown
(ev: React.MouseEvent, compDef: ICompDef<any>)
src/cpu/CompLibraryView.tsx:27
↓ 1 callers
Function
handlePhaseClick
(ev: React.MouseEvent, phase: IPhaseDef)
src/llm/Sidebar.tsx:18
↓ 1 callers
Function
handleResetClicked
()
src/fluidsim/FluidSimView.tsx:51
↓ 1 callers
Function
handleSelectionDrag
(end: boolean, origModelPos: Vec3, newModelPos: Vec3)
src/cpu/CanvasEventHandler.tsx:225
↓ 1 callers
Function
handleStepClicked
()
src/fluidsim/FluidSimView.tsx:61
↓ 1 callers
Function
handleWireCreateDrag
(end: boolean, globalRef: IElRef, origModelPos: Vec3, newModelPos: Vec3)
src/cpu/CanvasEventHandler.tsx:234
↓ 1 callers
Function
handleWireDrag
(end: boolean, globalRef: IElRef, origModelPos: Vec3, newModelPos: Vec3)
src/cpu/CanvasEventHandler.tsx:385
↓ 1 callers
Function
handleWireExtendDrag
(end: boolean, globalRef: IElRef, origModelPos: Vec3, newModelPos: Vec3, mtx: AffineMat2d)
src/cpu/CanvasEventHandler.tsx:291
↓ 1 callers
Function
hide
()
src/llm/WelcomePopup.tsx:46
↓ 1 callers
Function
hideBlock
(b: IBlkDef)
src/llm/walkthrough/WalkthroughTools.ts:434
↓ 1 callers
Function
highlightCellUnderMouse
(state: IProgramState, mainBlk: IBlkDef, blk: IBlkDef, pt2: Vec3)
src/llm/Interaction.ts:140
↓ 1 callers
Function
hydrateFromLS
(ls: Partial<ILSState> | undefined)
src/cpu/ImportExport.tsx:294
↓ 1 callers
Method
identity
()
src/utils/AffineMat2d.ts:69
↓ 1 callers
Function
importData
(str: string)
src/cpu/ImportExport.tsx:81
↓ 1 callers
Method
indexIterator
()
src/utils/tensor.ts:116
↓ 1 callers
Function
initBlurRender
(ctx: IGLContext, quadVao: WebGLVertexArrayObject)
src/llm/render/blurRender.ts:7
↓ 1 callers
Function
initFluidSim
(w: number, h: number)
src/fluidsim/FluidSimMain.tsx:45
↓ 1 callers
Function
initModel
(state: IRenderState, dataAndModel: IDataAndModel, B: number)
src/llm/GptModel.ts:50
↓ 1 callers
Function
initProgramState
(canvasEl: HTMLCanvasElement, fontAtlasData: IFontAtlasData)
src/llm/Program.ts:83
↓ 1 callers
Function
initRender
(canvasEl: HTMLCanvasElement, fontAtlasData: IFontAtlasData)
src/llm/render/modelRender.ts:44
↓ 1 callers
Function
initSharedRender
(ctx: IGLContext)
src/llm/render/sharedRender.ts:30
↓ 1 callers
Function
initThreadRender
(ctx: IGLContext)
src/llm/render/threadRender.ts:9
↓ 1 callers
Function
initTriRender
(ctx: IGLContext, sharedRender: ISharedRender)
src/llm/render/triRender.ts:8
↓ 1 callers
Function
initWalkthrough
()
src/llm/walkthrough/Walkthrough.ts:68
↓ 1 callers
Function
insertIntoTree
(treeNode: INode, node: INode)
src/llm/Commentary.tsx:454
↓ 1 callers
Method
inv
()
src/utils/AffineMat2d.ts:26
↓ 1 callers
Function
isCommentary
(evt: ITimeInfo)
src/llm/walkthrough/WalkthroughTools.ts:114
↓ 1 callers
Function
isEditSchematic
(schematic: ISchematic | IEditSchematic)
src/cpu/Editor.tsx:145
↓ 1 callers
Function
isNodeSelected
(node: IWireGraphNode)
src/cpu/WireRender.tsx:162
↓ 1 callers
Function
isSafePath
(basePath: string, unsafePath: string)
src/app/cpu/api/save-schematic-to-file/route.ts:7
↓ 1 callers
Function
isSegHover
(node0: IWireGraphNode, node1: IWireGraphNode)
src/cpu/WireRender.tsx:154
↓ 1 callers
Function
isSegSelected
(node0: IWireGraphNode, node1: IWireGraphNode)
src/cpu/WireRender.tsx:166
↓ 1 callers
Function
iterColinearNodes
(wire: IWireGraph, nodeIdx: number, dir: Vec3, cb: (node: IWireGraphNode) => void)
src/cpu/Wire.tsx:253
↓ 1 callers
Function
iterLocalStorageEntries
(cb: (key: string, value: string | null) => void)
src/utils/localstorage.ts:4
↓ 1 callers
Function
iterPorts
(size: Vec3)
src/cpu/CompLayoutEditor.tsx:306
↓ 1 callers
Function
jumpToPhase
(wt: IWalkthrough, phaseId: Phase)
src/llm/Commentary.tsx:16
↓ 1 callers
Function
libraryItemsToFolders
(libraryItems: ILibraryItem[])
src/cpu/library/LibraryBrowser.tsx:36
↓ 1 callers
Function
loadNativeBindings
()
src/llm/NativeBindings.ts:3
↓ 1 callers
Method
loadSuite
(suite: ICodeSuite)
src/cpu/library/CodeSuiteManager.tsx:48
↓ 1 callers
Function
logChangesFn
(name: string)
src/utils/hooks.ts:56
↓ 1 callers
Function
lookupPortInfo
(system: IExeSystem, ref: IElRef)
src/cpu/CpuExecution.tsx:209
↓ 1 callers
Function
makeArrayRange
(length: number, min: number, max: number)
src/utils/data.ts:7
↓ 1 callers
Function
makeCpuMetadata
(dir: CPUDirectory)
src/cpu/guide/GuideIndex.tsx:21
↓ 1 callers
Function
makeInstructions
()
src/cpu/guide/InstructionDetail.tsx:162
↓ 1 callers
Function
makePath
(fn: (x: number) => number)
src/llm/walkthrough/Walkthrough07_Mlp.tsx:206
↓ 1 callers
Function
makeProxyObject
(val: T, usages: ObjPartial<T>, subSplits: ObjSubSplit<T> | true)
src/cpu/Editor.tsx:221
↓ 1 callers
Function
mergeInSchematic
(snapshot: IEditSchematic, srcSchematic: ISchematic, compLibrary: CompLibrary)
src/cpu/Clipboard.ts:67
↓ 1 callers
Function
mlp_forward_with_capture
(tModule, x)
gen_test_data.py:55
↓ 1 callers
Function
movePortToNewLocation
(snap: IEditSchematic, portIdx: number, newPos: Vec3)
src/cpu/CompLayoutEditor.tsx:593
↓ 1 callers
Function
moveSelectedComponents
(schematic: IEditSchematic, selected: IElRef[], delta: Vec3)
src/cpu/Wire.tsx:6
↓ 1 callers
Method
mul
(a: Mat4f)
src/utils/matrix.ts:43
↓ 1 callers
Method
mul
(rhs: AffineMat2d)
src/utils/AffineMat2d.ts:15
↓ 1 callers
Method
mulVec3AffineArr_
(a: IArr, aOff: number, out: IArr, outOff: number)
src/utils/matrix.ts:91
↓ 1 callers
Method
mulVec3ProjVec
(a: Vec3)
src/utils/matrix.ts:71
↓ 1 callers
Function
netToString
(net: IExeNet, exeComps: IExeComp[])
src/cpu/CpuExecution.tsx:532
↓ 1 callers
Method
noise
(x: number, y: number)
src/fluidsim/PerlinNoise.ts:22
↓ 1 callers
Function
numberToCommaSep
(a: number)
src/llm/components/ModelCard.ts:252
↓ 1 callers
Method
octaveNoise
(x: number, y: number, octaves: number, persistence: number)
src/fluidsim/PerlinNoise.ts:45
↓ 1 callers
Function
parseDepIdxStr
(str: string)
src/llm/GptModelLayout.ts:91
↓ 1 callers
Function
pasteSelection
(ev: KeyboardEvent, editorState: IEditorState, setEditorState: StateSetter<IEditorState>)
src/cpu/Clipboard.ts:21
↓ 1 callers
Function
populateExecutionModel
(sharedContext: ISharedContext, editSnapshot: IEditSnapshot, exeSystem: IExeSystem, schematic: ISchematic, sub
src/cpu/CpuExecution.tsx:60
↓ 1 callers
Method
populateSchematicLibrary
(compLibrary: CompLibrary, loadFromLocalStorage = true)
src/cpu/schematics/SchematicLibrary.tsx:31
↓ 1 callers
Method
projToVec3
()
src/utils/vector.ts:162
↓ 1 callers
Function
randomGen
(seed?: string)
src/utils/random.ts:30
↓ 1 callers
Function
rayAABBIntersect
(tl: Vec3, br: Vec3, rayOrigin: Vec3, rayDir: Vec3)
src/llm/Interaction.ts:255
↓ 1 callers
Function
readFromClipboard
()
src/cpu/Clipboard.ts:117
↓ 1 callers
Function
readFromLocalStorage
(key: string)
src/utils/localstorage.ts:19
↓ 1 callers
Method
readFromLocalStorage
(compLibrary: CompLibrary)
src/cpu/schematics/SchematicLibrary.tsx:70
↓ 1 callers
Function
readLocalBuffersFromWasm
(wasmModel: IWasmGptModel, jsModel: IGptModelLink, writeIntersToGpu: boolean = false, writeWeightsToGpu: boole
src/llm/GptModelWasm.ts:245
↓ 1 callers
Function
readModelResultsBack
(model: IGpuGptModel)
src/llm/GptModel.ts:207
↓ 1 callers
Function
readString
(elfFile: Uint8Array, offset: number)
src/cpu/ElfParser.tsx:114
↓ 1 callers
Function
readToBufferTex
(name: string, t: TensorF32, tex: IBufferTex)
src/llm/GptModelWasm.ts:326
↓ 1 callers
Function
redo
()
src/cpu/EditorControls.tsx:26
↓ 1 callers
Function
redo
()
src/cpu/toolbars/CpuToolbars.tsx:52
↓ 1 callers
Method
registerHandler
(order: KeyboardOrder, handler: (ev: KeyboardEvent) => void, opts?: IKeyHandlerOptions)
src/utils/keyboard.ts:24
↓ 1 callers
Function
renderAllBlocks
(blockRender: IBlockRender, layout: IModelLayout, modelMtx: Mat4f, camPos: Vec3, lightPosArr: Float32Array, li
src/llm/render/blockRender.ts:355
↓ 1 callers
Function
renderAllBlocksInstanced
(blockRender: IBlockRender, layout: IModelLayout, modelMtx: Mat4f, camPos: Vec3)
src/llm/render/blockRender.ts:471
↓ 1 callers
Function
renderAllLines
(render: ILineRender, renderPhase: RenderPhase)
src/llm/render/lineRender.ts:379
← previous
next →
601–700 of 1,088, ranked by callers