Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs
/ functions
Functions
6,022 in github.com/tensorflow/tfjs
⨍
Functions
6,022
◇
Types & classes
1,932
↳
Endpoints
2
↓ 1 callers
Function
loadData
()
tfjs-vis/demos/mnist/model.js:63
↓ 1 callers
Method
loadData
* Downloads, converts and shuffles the data.
tfjs-data/demo/boston-housing/data.ts:46
↓ 1 callers
Function
loadDataAndNormalize
()
tfjs-data/demo/boston-housing/index.ts:49
↓ 1 callers
Method
loadJSONModel
()
tfjs-node/src/io/file_system.ts:166
↓ 1 callers
Function
loadLayersModelFromIOHandler
( handler: io.IOHandler, customObjects?: serialization.ConfigDict, options?: io.LoadOptions)
tfjs-layers/src/models.ts:282
↓ 1 callers
Method
loadLocalAsset
(weightsAssets: Asset[])
tfjs-react-native/src/bundle_resource_io.ts:85
↓ 1 callers
Function
loadModelByUrl
(modelUrl, loadOptions = {})
e2e/benchmarks/model_config.js:660
↓ 1 callers
Method
loadPosenetModel
()
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:69
↓ 1 callers
Method
loadSavedModelMetaGraph
(path: string, tags: string)
tfjs-node/src/nodejs_kernel_backend.ts:455
↓ 1 callers
Function
loadScript
(url)
e2e/benchmarks/local-benchmark/loader.js:19
↓ 1 callers
Method
loadStream
()
tfjs-core/src/io/http.ts:197
↓ 1 callers
Method
loadStreaming
(artifacts: io.ModelArtifacts)
tfjs-converter/src/executor/graph_model.ts:183
↓ 1 callers
Method
loadStyleModel
()
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:36
↓ 1 callers
Function
loadTFDFModel
( modelUrl: string|TFDFLoadHandler, options: io.LoadOptions = {}, tfio = io)
tfjs-tfdf/src/tfdf_model.ts:164
↓ 1 callers
Method
loadTrainingConfig
(trainingConfig: TrainingConfig)
tfjs-layers/src/engine/training.ts:1991
↓ 1 callers
Method
loadTransformerModel
()
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:43
↓ 1 callers
Method
loadViaHttp
(weightsAssets: Asset[])
tfjs-react-native/src/bundle_resource_io.ts:64
↓ 1 callers
Function
loadWeights
( manifest: WeightsManifestConfig, filePathPrefix = '', weightNames?: string[], requestInit?: RequestIni
tfjs-core/src/io/weights_loader.ts:117
↓ 1 callers
Method
loadWeights
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/browser_files.ts:177
↓ 1 callers
Method
loadWeights
* Load weights binary files from a local path. * * @param weightsManifest Config file that has * information of locations of the weight b
tfjs-inference/src/file_handler.ts:105
↓ 1 callers
Method
loadWeightsFile
(path: string, file: File)
tfjs-core/src/io/browser_files.ts:197
↓ 1 callers
Function
load_and_initialize_hub_module
Loads graph of a TF-Hub module and initializes it into a session. Args: module_path: string Path to TF-Hub module. signature: string Signat
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:996
↓ 1 callers
Function
logShaderSourceAndInfoLog
( shaderSource: string, shaderInfoLog: string)
tfjs-backend-webgl/src/webgl_util.ts:112
↓ 1 callers
Method
logWeights
(step: number)
tfjs-node/src/callbacks.ts:295
↓ 1 callers
Function
lowerBound
(array: TypedArray, value: number)
tfjs-backend-cpu/src/kernels/SearchSorted_impl.ts:20
↓ 1 callers
Function
main
* Build bazel dependencies for the packages specified by the repeated argument * tfjs_package. If the package is a Bazel package, also build the pack
link-package/build_deps.ts:58
↓ 1 callers
Function
main
()
scripts/publish-pypi.ts:27
↓ 1 callers
Function
main
()
scripts/tag-tfjs-release.ts:34
↓ 1 callers
Function
main
(args)
scripts/run_flaky.js:20
↓ 1 callers
Function
main
()
scripts/release-tfjs.ts:116
↓ 1 callers
Function
main
(args)
scripts/start_local_debugger_server.js:30
↓ 1 callers
Function
main
()
scripts/run_flaky_test_helper.js:20
↓ 1 callers
Function
main
()
scripts/update-tfjs-lockfiles.ts:40
↓ 1 callers
Function
main
()
scripts/publish-npm.ts:223
↓ 1 callers
Function
main
()
scripts/release.ts:44
↓ 1 callers
Function
main
()
tfjs-core/scripts/touch_modular_op_files.ts:58
↓ 1 callers
Function
main
* The entry point of tfjs inference api.
tfjs-inference/src/index.ts:60
↓ 1 callers
Function
main
()
e2e/integration_tests/convert_predict.py:494
↓ 1 callers
Function
main
()
e2e/integration_tests/metadata.py:96
↓ 1 callers
Function
main
()
e2e/integration_tests/create_save_predict.py:80
↓ 1 callers
Function
main
(modelUrl)
e2e/custom_module/dense_model/app.js:20
↓ 1 callers
Function
main
()
e2e/custom_module/blazeface/app.js:41
↓ 1 callers
Function
main
(argv)
tfjs-converter/python/tensorflowjs/converters/wizard.py:650
↓ 1 callers
Function
main
(argv)
tfjs-converter/python/tensorflowjs/converters/converter.py:962
↓ 1 callers
Function
makeCallbackFor
(callbackName: string)
tfjs-vis/src/show/history.ts:263
↓ 1 callers
Method
makeDataElement
(line: string)
tfjs-data/src/datasets/csv_dataset.ts:209
↓ 1 callers
Function
makeMatMulReduceSource
(workgroupSizeX: number)
tfjs-backend-webgpu/src/matmul_reduce_webgpu.ts:25
↓ 1 callers
Function
makeMatMulSmallOutputSizeSource
( workgroupSize: [number, number, number])
tfjs-backend-webgpu/src/matmul_small_output_size_webgpu.ts:23
↓ 1 callers
Method
makeOutput
( shape: number[], dtype: DataType, values?: BackendValues)
tfjs-backend-webgl/src/backend_webgl.ts:801
↓ 1 callers
Method
makeOutputDense
* Builds the output projection matrix. * * @param freeDims Number of free dimensions for einsum equation building. * @param commonKwargs Comm
tfjs-layers/src/layers/nlp/multihead_attention.ts:564
↓ 1 callers
Function
makeShader
( inputInfo: InputInfo[], outputData: {dtype: DataType, shape: number[]}, program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:198
↓ 1 callers
Function
makeSplits
( indices: TypedArray, indicesShape: number[], paramsNestedSplits: TypedArray[], numParamsDenseValues:
tfjs-backend-cpu/src/kernels/RaggedGather_impl.ts:63
↓ 1 callers
Method
makeTensor
* Internal method used by public APIs for tensor creation. Makes a new * tensor with the provided shape, dtype and values. It always * creates a
tfjs-core/src/engine.ts:803
↓ 1 callers
Function
makeTmpDir
* Create a temporary directory for writing files to. * @return {string} The absolute path of the tmp dir.
tfjs-inference/src/file_handler_test.ts:30
↓ 1 callers
Method
makeUniforms
(programUniform: ProgramUniform)
tfjs-backend-webgpu/src/backend_webgpu.ts:782
↓ 1 callers
Function
makeVectorMatrixProductSource
( workgroupSize: [number, number, number], transposeA = false)
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:432
↓ 1 callers
Function
mapActivationToFusedKernel
(activationName: string)
tfjs-layers/src/utils/generic_utils.ts:510
↓ 1 callers
Method
mapArgsToSignature
(functionDef: tensorflow.IFunctionDef)
tfjs-converter/src/operations/operation_mapper.ts:407
↓ 1 callers
Function
mapCoordConstant
(outCoord: number, len: number)
tfjs-backend-cpu/src/kernels/Transform.ts:192
↓ 1 callers
Function
mapCoordNearest
(outCoord: number, len: number)
tfjs-backend-cpu/src/kernels/Transform.ts:196
↓ 1 callers
Function
mapCoordReflect
(outCoord: number, len: number)
tfjs-backend-cpu/src/kernels/Transform.ts:140
↓ 1 callers
Function
mapCoordWrap
(outCoord: number, len: number)
tfjs-backend-cpu/src/kernels/Transform.ts:169
↓ 1 callers
Function
mapFiles
* Map a function on all files and directories under a path. * * @param rootPath The path where the function will be mapped. * @param mapFn The func
link-package/build_deps.ts:227
↓ 1 callers
Method
mapFunction
(functionDef: tensorflow.IFunctionDef)
tfjs-converter/src/operations/operation_mapper.ts:339
↓ 1 callers
Function
matmulBatchTest
(programType: MatMulProgramType)
tfjs-backend-webgpu/src/matmul_test.ts:1560
↓ 1 callers
Function
matmulTest
(programType: MatMulProgramType)
tfjs-backend-webgpu/src/matmul_test.ts:27
↓ 1 callers
Function
max
( args: {inputs: MaxInputs, backend: MathBackendCPU, attrs: MaxAttrs})
tfjs-backend-cpu/src/kernels/Max.ts:28
↓ 1 callers
Function
max
( args: {inputs: MaxInputs, backend: WebGPUBackend, attrs: MaxAttrs})
tfjs-backend-webgpu/src/kernels/Max.ts:23
↓ 1 callers
Function
max
( args: {inputs: MaxInputs, backend: MathBackendWebGL, attrs: MaxAttrs})
tfjs-backend-webgl/src/kernels/Max.ts:27
↓ 1 callers
Function
maxImpl
( aVals: TypedArray, reduceSize: number, outShape: number[], dtype: DataType)
tfjs-backend-cpu/src/kernels/Max_impl.ts:20
↓ 1 callers
Function
maxImpl
( x: TensorInfo, reduceShape: number[], outShape: number[], backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernels/Max_impl.ts:24
↓ 1 callers
Function
maxPool3dPositions
( xBuf: TensorBuffer<Rank, DataType>, convInfo: backend_util.Conv3DInfo)
tfjs-backend-cpu/src/utils/pool_utils.ts:263
↓ 1 callers
Function
maxPoolGrad
(args: { inputs: MaxPoolGradInputs, backend: MathBackendCPU, attrs: MaxPoolGradAttrs })
tfjs-backend-cpu/src/kernels/MaxPoolGrad.ts:23
↓ 1 callers
Function
maxPoolWithArgmaxImpl
( xValues: TypedArray, xShape: number[], dtype: DataType, includeBatchInIndex: boolean, convInfo: back
tfjs-backend-cpu/src/kernels/MaxPoolWithArgmax_impl.ts:20
↓ 1 callers
Function
maxPoolWithArgmaxImpl
( x: TensorInfo, includeBatchInIndex: boolean, convInfo: backend_util.Conv2DInfo, backend: MathBac
tfjs-backend-webgl/src/kernels/MaxPoolWithArgmax_impl.ts:23
↓ 1 callers
Method
maybeReadHeaderLine
()
tfjs-data/src/datasets/csv_dataset.ts:127
↓ 1 callers
Function
maybeStripScheme
(key: string)
tfjs-core/src/io/indexed_db.ts:265
↓ 1 callers
Function
maybeStripScheme
(key: string)
tfjs-core/src/io/local_storage.ts:119
↓ 1 callers
Method
maybeWait
(epoch: number, batch: number, logs: UnresolvedLogs)
tfjs-layers/src/base_callbacks.ts:403
↓ 1 callers
Function
mean
(array: number[]|Float32Array)
tfjs-layers/src/utils/math_utils.ts:115
↓ 1 callers
Function
mean
( args: {inputs: MeanInputs, attrs: MeanAttrs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Mean.ts:23
↓ 1 callers
Function
meanImpl
( x: TensorInfo, reduceShape: number[], outShape: number[], backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernels/Mean_impl.ts:24
↓ 1 callers
Function
memoize
(f: (arg: I) => Promise<O>)
scripts/release-util.ts:610
↓ 1 callers
Function
mirrorPad
(args: { inputs: MirrorPadInputs, backend: MathBackendCPU, attrs: MirrorPadAttrs })
tfjs-backend-cpu/src/kernels/MirrorPad.ts:23
↓ 1 callers
Function
modelSummary
(container: Drawable, model: LayersModel)
tfjs-vis/src/show/model.ts:55
↓ 1 callers
Function
modifyName
(pkg)
scripts/publish-npm.ts:323
↓ 1 callers
Method
move
( dataId: DataId, values: backend_util.BackendValues, shape: number[], dtype: DataType, refCount:
tfjs-node/src/nodejs_kernel_backend.ts:269
↓ 1 callers
Method
move
( dataId: DataId, values: backend_util.BackendValues|null, shape: number[], dtype: DataType, refCo
tfjs-backend-wasm/src/backend_wasm.ts:81
↓ 1 callers
Method
moveData
* To be called by backends whenever they see a dataId that they don't own. * Upon calling this method, the mover will fetch the tensor from another
tfjs-core/src/backends/backend.ts:85
↓ 1 callers
Function
moveDepsLib
* Moves the deps library path to the destination path.
tfjs-node/scripts/deps-stage.js:76
↓ 1 callers
Function
multiLayerPerceptronRegressionModel
()
tfjs-data/demo/boston-housing/index.ts:106
↓ 1 callers
Function
naiveMerge
(xs: TensorContainer[])
tfjs-data/src/iterators/lazy_iterator_test.ts:471
↓ 1 callers
Function
nearestInterpolation
( imageVals: TypedArray, imageHeight: number, imageWidth: number, batchStride: number, rowStride: numb
tfjs-backend-cpu/src/kernels/Transform.ts:212
↓ 1 callers
Method
needToResize
()
tfjs-data/src/iterators/webcam_iterator.ts:173
↓ 1 callers
Function
negImpl
(xVals: TypedArray, xShape: number[], xDtype: DataType)
tfjs-backend-cpu/src/kernels/Neg.ts:24
↓ 1 callers
Method
newFrame
(id: number, frameName: string)
tfjs-converter/src/executor/execution_context.ts:56
↓ 1 callers
Method
next
()
tfjs-data/src/iterators/lazy_iterator_test.ts:36
↓ 1 callers
Method
next
()
tfjs-data/src/iterators/webcam_iterator.ts:148
↓ 1 callers
Method
next
()
tfjs-data/src/iterators/microphone_iterator.ts:136
↓ 1 callers
Method
next
()
tfjs-data/src/iterators/byte_chunk_iterator.ts:61
← previous
next →
2,501–2,600 of 6,022, ranked by callers