MCPcopy Create free account

hub / github.com/bbycroft/llm-viz / functions

Functions1,088 in github.com/bbycroft/llm-viz

↓ 9 callersFunctioncleanup
(t: ITimeInfo, times: ITimeInfo[] = phaseState.times)
src/llm/walkthrough/WalkthroughTools.ts:51
↓ 9 callersFunctiondrawArrow
(state: IRenderState, start: Vec3, end: Vec3, width: number, normal: Vec3, color: Vec4, drawHead: boolean = tr
src/llm/components/Arrow.ts:254
↓ 9 callersFunctiondrawDataFlow
(state: IProgramState, blk: IBlkDef, destIdx: Vec3, pinIdx?: Vec3)
src/llm/components/DataFlow.ts:27
↓ 9 callersFunctiondrawDependences
(state: IProgramState, blk: IBlkDef, idx: Vec3)
src/llm/Interaction.ts:193
↓ 9 callersFunctiondrawSectionLabel
(state: IRenderState, text: string, tl: Vec3, br: Vec3, opts: ILabelOpts)
src/llm/components/SectionLabels.ts:122
↓ 9 callersFunctionevToModel
(ev: { clientX: number, clientY: number }, mtx: AffineMat2d)
src/cpu/CanvasEventHandler.tsx:636
↓ 9 callersFunctiongetCell
(arr: Float32Array, i: number, j: number, k: number)
src/fluidsim/FluidSimMain.tsx:109
↓ 9 callersFunctiongetOrAddToMap
(map: Map<K, V>, key: K, valueFn: () => V)
src/utils/data.ts:72
↓ 9 callersFunctionmakeRow
(children: INavLevel[])
src/llm/components/MovementControls.tsx:285
↓ 9 callersMethodmultiply
(...mats: AffineMat2d[])
src/utils/AffineMat2d.ts:89
↓ 9 callersMethodtoTransformParams
()
src/utils/AffineMat2d.ts:65
↓ 9 callersFunctionuseGlobalKeyboard
(order: KeyboardOrder, handler: (ev: KeyboardEvent) => void, opts?: IKeyHandlerOptions)
src/utils/keyboard.ts:57
↓ 9 callersFunctionwithVal
(x: IInsBitRep, value: number)
src/cpu/guide/InstructionDetail.tsx:163
↓ 8 callersFunctionaddSubBlockLocal
(iStart: number, iEnd: number, xOffset: number)
src/llm/Annotations.ts:195
↓ 8 callersFunctionc_str
(str: string, duration: number = 0.3, style: DimStyle = DimStyle.T)
src/llm/walkthrough/WalkthroughTools.ts:24
↓ 8 callersMethodcenter
()
src/utils/vector.ts:236
↓ 8 callersMethodcross
(a: Vec3, b: Vec3)
src/utils/vector.ts:64
↓ 8 callersFunctionensureFloatBufferSize
(localBuf: IFloatLocalBuffer, countEls: number)
src/utils/shader.ts:241
↓ 8 callersMethodfromArray
(a: ArrayLike<number>, offset: number = 0)
src/utils/vector.ts:73
↓ 8 callersFunctiongetCell0Clamped
(arr: Float32Array, i: number, j: number)
src/fluidsim/FluidSimMain.tsx:131
↓ 8 callersFunctiongetCompSubSchematic
(editorState: IEditorState, comp: IComp)
src/cpu/SubSchematics.tsx:91
↓ 8 callersFunctioniterWireGraphSegments
(graph: IWireGraph, cb: (node0: IWireGraphNode, node1: IWireGraphNode) => boolean | void)
src/cpu/Wire.tsx:383
↓ 8 callersFunctionlineY
(a: number)
src/cpu/comps/RiscvInsDecode.tsx:370
↓ 8 callersFunctionmakeButton
(action: MovementAction, icon: IconDefinition, isArrow: boolean = false)
src/llm/components/MovementControls.tsx:497
↓ 8 callersFunctionread16UintLe
(buffer: Uint8Array, offset: number)
src/cpu/ElfParser.tsx:203
↓ 8 callersMethodround_
()
src/utils/vector.ts:62
↓ 8 callersFunctionsetAluCtrl
(enable: boolean, isBranch: boolean, funct3: number, isSpecial: boolean)
src/cpu/comps/RiscvInsDecode.tsx:119
↓ 8 callersFunctiontoFract
(v: number)
src/llm/PhaseTimeline.tsx:18
↓ 7 callersFunctionbindFloatAttribs
(gl: WebGL2RenderingContext, buf: WebGLBuffer, opts: IBindOpts, attribs: IFloatAttrib[])
src/utils/shader.ts:167
↓ 7 callersFunctioncopyWeightBias
(prefix: string, weightType: TensorType, biasType: TensorType, idx: number = 0)
src/llm/GptModelWasm.ts:171
↓ 7 callersFunctioncreateFloatBuffer
(gl: WebGL2RenderingContext, target: number, buf: WebGLBuffer, capacityEls: number, strideBytes: number, share
src/utils/shader.ts:215
↓ 7 callersFunctiondrawLineRect
(render: IRenderState, tl: Vec3, br: Vec3, opts: ILineOpts)
src/llm/components/ModelCard.ts:234
↓ 7 callersFunctioneditSnapshot
(end: boolean, updateSnapshot: (element: IEditSnapshot, state: IEditorState) => IEditSnapshot)
src/cpu/Editor.tsx:105
↓ 7 callersFunctiongetBlockValueAtIdx
(blk: IBlkDef, blkIdx: Vec3)
src/llm/components/DataFlow.ts:190
↓ 7 callersFunctioninverseLerp
(edge0: number, edge1: number, t: number)
src/llm/walkthrough/Walkthrough04_SelfAttention.tsx:599
↓ 7 callersFunctionmakeArray
(length: number, val?: T)
src/utils/data.ts:3
↓ 7 callersFunctionmodifiersToString
(key: string, modifiers: Modifiers = Modifiers.None)
src/cpu/Keymap.tsx:25
↓ 7 callersFunctionnumMaxDp
(x: number, dp: number = 3)
src/utils/vector.ts:198
↓ 7 callersFunctionrefToString
(ref: IElRef)
src/cpu/Wire.tsx:144
↓ 7 callersFunctionresetFloatBufferMap
(bufMap: IFloatBuffer)
src/utils/shader.ts:282
↓ 7 callersFunctionuploadFloatBuffer
(gl: WebGL2RenderingContext, bufMap: IFloatBuffer)
src/utils/shader.ts:255
↓ 6 callersFunctionblockPos
(block: IBlkDef, pos: BlockPos)
src/llm/components/Arrow.ts:140
↓ 6 callersFunctiondrawLineSegs
(render: ILineRender, pts: Float32Array, opts: ILineOpts)
src/llm/render/lineRender.ts:273
↓ 6 callersFunctiondrawThread
(threadRender: IThreadRender, layout: IModelLayout, blk: IBlkDef, dim: Dim, x: number, y: number, cx: number,
src/llm/render/threadRender.ts:175
↓ 6 callersFunctioneventEndTime
(evt: ITimeInfo)
src/llm/walkthrough/WalkthroughTools.ts:105
↓ 6 callersFunctionmakeEditFunction
(setEditorState: StateSetter<IEditorState>, editCtx: IEditContext, comp: IComp<T>, updateFn: (value: A, prev:
src/cpu/comps/CompPort.tsx:174
↓ 6 callersMethodmid
(a: Vec3)
src/utils/vector.ts:57
↓ 6 callersFunctionmodelToScreen
(pt: Vec3, mtx: AffineMat2d)
src/cpu/CanvasEventHandler.tsx:645
↓ 6 callersMethodmulVec3
(a: Vec3)
src/utils/matrix.ts:390
↓ 6 callersMethodmulVec4
(a: Vec4)
src/utils/matrix.ts:57
↓ 6 callersFunctionrenderArrow
(to: Vec3, from: Vec3, key: string)
src/llm/components/TocDiagram.tsx:241
↓ 6 callersFunctionrotateAboutAffineInt
(r: number, center: Vec3)
src/cpu/comps/BinaryGates.tsx:37
↓ 6 callersMethodscale1
(x: number)
src/utils/AffineMat2d.ts:77
↓ 6 callersFunctionstartProcessBefore
(state: IProgramState, block: IBlkDef)
src/llm/walkthrough/Walkthrough00_Intro.tsx:236
↓ 6 callersMethodtoFloat32Array
()
src/utils/tensor.ts:144
↓ 6 callersFunctionvalidate
(name: string, phase: IRenderPhase)
src/llm/GptModel.ts:147
↓ 6 callersMethodview
(shape: number[])
src/utils/tensor.ts:59
↓ 6 callersFunctionwireUnlinkNodes
(node0: IWireGraphNode, node1: IWireGraphNode)
src/cpu/Wire.tsx:718
↓ 6 callersMethodwithAddAt
(i: number, v: number)
src/utils/vector.ts:101
↓ 6 callersMethodwithSetAt
(i: number, v: number)
src/utils/vector.ts:100
↓ 5 callersFunctionatTime
(start: number, duration?: number, wait?: number)
src/llm/walkthrough/WalkthroughTools.ts:38
↓ 5 callersFunctionbuildBitsMessage
(bitPattern: number[], bitColorOffsets: number[], color: string)
src/cpu/comps/RiscvInsDecode.tsx:495
↓ 5 callersFunctionclampToSignedWidth
(val: number, width: number, signed: boolean)
src/cpu/displayTools/HexValueEditor.tsx:138
↓ 5 callersFunctioncomputeSubLayoutMatrix
(comp: IComp, subSchematic: ISchematic)
src/cpu/SubSchematics.tsx:55
↓ 5 callersFunctioncopyFrom
(name: string, type: TensorType, idx: number = 0)
src/llm/GptModelWasm.ts:176
↓ 5 callersFunctioncopyWireGraph
(wire: IWireGraph)
src/cpu/Wire.tsx:360
↓ 5 callersFunctiondimExceptVector
(blk: IBlkDef, axis: Dim, disable: boolean)
src/llm/walkthrough/Walkthrough07_Mlp.tsx:110
↓ 5 callersFunctiondrawArrowResidSplit
(src: IBlkDef, dest: IBlkDef, width: number = 6)
src/llm/components/Arrow.ts:150
↓ 5 callersFunctiondrawRoundedRect
(state: IRenderState, tl: Vec3, br: Vec3, color: Vec4, mtx: Mat4f, radius: number)
src/llm/components/DataFlow.ts:317
↓ 5 callersFunctioneditComp
(editCtx: IEditContext, end: boolean, comp: IComp<A>, updateComp: (comp: IComp<A>) => IComp<A>, compEditArgs?:
src/cpu/Editor.tsx:35
↓ 5 callersFunctioneditSubSchematic
(editCtx: IEditContext, end: boolean, updateEditSchematic: (schematic: IEditSchematic, state: IEditorState, sn
src/cpu/Editor.tsx:58
↓ 5 callersFunctionensureElementBufferSize
(localBuf: IELementLocalBuffer, countVerts: number)
src/utils/shader.ts:320
↓ 5 callersMethodfromAxisAngle
(axis: Vec3, angleRad: number)
src/utils/matrix.ts:157
↓ 5 callersMethodg
(r: number, c: number)
src/utils/matrix.ts:24
↓ 5 callersFunctionhexWithOpacity
(hex: string, stop: number)
src/cpu/comps/SchematicComp.tsx:108
↓ 5 callersMethodlenSq
()
src/utils/vector.ts:47
↓ 5 callersFunctionprojectOntoVector
(x: Vec3, v: Vec3)
src/utils/vector.ts:370
↓ 5 callersFunctionresetExeModel
(exeModel: IExeSystem, opts: IResetOptions)
src/cpu/CpuExecution.tsx:525
↓ 5 callersFunctionsegKey
(id0: number, id1: number)
src/cpu/WireRender.tsx:26
↓ 5 callersFunctionsetHover
(isHover: boolean)
src/llm/components/CommentaryHelpers.tsx:14
↓ 5 callersFunctionsignExtend12Bit
(x: number)
src/cpu/comps/RiscvInsDecode.tsx:325
↓ 5 callersFunctionstepExecutionLatch
(exeModel: IExeSystem)
src/cpu/CpuExecution.tsx:516
↓ 5 callersMethodtranspose
()
src/utils/matrix.ts:397
↓ 5 callersFunctionuseSubscriptions
(subscription: Subscriptions | null)
src/utils/hooks.ts:102
↓ 5 callersFunctionuseViewLayout
()
src/cpu/Editor.tsx:197
↓ 5 callersFunctionwireLinkNodes
(node0: IWireGraphNode, node1: IWireGraphNode)
src/cpu/Wire.tsx:709
↓ 4 callersMethodaddLatchedPhase
(func: (comp: IExeComp<T>, args: IExeRunArgs) => void, inPorts: IExePort[], outPorts: IExePort[])
src/cpu/comps/CompBuilder.tsx:280
↓ 4 callersFunctionaddPrimitiveRestart
(render: ITriRender)
src/llm/render/triRender.ts:142
↓ 4 callersFunctioncameraToMatrixView
(camera: ICamera)
src/llm/Camera.ts:47
↓ 4 callersFunctioncellSizeAndColor
(dep: IBlkCellDep)
src/llm/components/DataFlow.ts:293
↓ 4 callersMethodcreate
(defId: string, cfg?: A | undefined)
src/cpu/comps/CompBuilder.tsx:144
↓ 4 callersFunctioncreateAddLayer
(builder: IWasmLayerBuilder)
src/llm/GptModelWasm.ts:50
↓ 4 callersFunctioncreateLinearLayer
(layerBuilder: ILayerBuilder, prefix: string, nIn: number, nOut: number, input: IBufferTex, residual?: IBuffer
src/llm/GptModel.ts:747
↓ 4 callersFunctioncreateLinearLayer
(builder: IWasmLayerBuilder, t: number, cIn: number, cOut: number)
src/llm/GptModelWasm.ts:67
↓ 4 callersFunctioncreateSharedContext
(disableLocalStorageLoad?: boolean)
src/cpu/library/SharedContext.tsx:27
↓ 4 callersFunctiondiffuseCell
(i: number, j: number, k: number, alpha: number, beta: number)
src/fluidsim/FluidSimMain.tsx:211
↓ 4 callersMethoddistSq
(a: Vec3)
src/utils/vector.ts:48
↓ 4 callersFunctiondot2
(g: [number, number], x: number, y: number)
src/fluidsim/PerlinNoise.ts:68
↓ 4 callersFunctiondrawSymbolBetweenBlocks
(args: IWalkthroughArgs, block1: IBlkDef, block2: IBlkDef, dim: Dim, symbol: string, opts: { color: Vec4, size
src/llm/walkthrough/Walkthrough04_SelfAttention.tsx:738
↓ 4 callersFunctionduplicateGrid
(layout: IModelLayout, blk: IBlkDef)
src/llm/Annotations.ts:136
← previousnext →101–200 of 1,088, ranked by callers