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
removeOneSizeDims
( shape: number[], perm: number[])
tfjs-backend-wasm/src/kernels/Transpose.ts:89
↓ 1 callers
Method
render
()
tfjs-vis/src/components/tabs.tsx:76
↓ 1 callers
Method
renderCameraCapture
()
tfjs-react-native/integration_rn59/components/webcam/webcam_demo.tsx:188
↓ 1 callers
Method
renderContent
()
tfjs-react-native/integration_rn59/App.tsx:170
↓ 1 callers
Method
renderContentImagePreview
()
tfjs-react-native/integration_rn59/components/webcam/webcam_demo.tsx:106
↓ 1 callers
Method
renderDemoScreen
()
tfjs-react-native/integration_rn59/App.tsx:135
↓ 1 callers
Method
renderDiagnosticScreen
()
tfjs-react-native/integration_rn59/App.tsx:129
↓ 1 callers
Method
renderFaces
()
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:186
↓ 1 callers
Method
renderLoadingTF
()
tfjs-react-native/integration_rn59/App.tsx:162
↓ 1 callers
Method
renderPose
()
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:144
↓ 1 callers
Method
renderPrediction
()
tfjs-react-native/integration_rn59/components/mobilenet_demo.tsx:98
↓ 1 callers
Method
renderRealtimeDemo
()
tfjs-react-native/integration_rn59/App.tsx:156
↓ 1 callers
Method
renderResults
()
tfjs-react-native/integration_rn59/components/webcam/webcam_demo.tsx:233
↓ 1 callers
Function
renderStats
( stats: HistogramStats, container: HTMLElement, opts: {fontSize: number})
tfjs-vis/src/render/histogram.ts:138
↓ 1 callers
Method
renderStyleImagePreview
()
tfjs-react-native/integration_rn59/components/webcam/webcam_demo.tsx:85
↓ 1 callers
Method
renderTestFailure
(failure: FailedTestInfo, key: number)
tfjs-react-native/integration_rn59/components/tfjs_unit_test_runner.tsx:193
↓ 1 callers
Method
renderTestScreen
()
tfjs-react-native/integration_rn59/App.tsx:144
↓ 1 callers
Function
renderToGLView
( gl: WebGL2RenderingContext, texture: WebGLTexture, size: Size, flipHorizontal = true, rotation: Rota
tfjs-react-native/src/camera/camera.ts:240
↓ 1 callers
Function
renderVisor
( domNode: HTMLElement, surfaceList: Map<string, SurfaceInfoStrict>)
tfjs-vis/src/visor.ts:60
↓ 1 callers
Method
renderWebcamDemo
()
tfjs-react-native/integration_rn59/App.tsx:150
↓ 1 callers
Function
reportBenchmarkResult
(benchmarkResult)
e2e/benchmarks/browserstack-benchmark/index.js:452
↓ 1 callers
Function
reportError
(e: string|Error)
tfjs-core/scripts/test_snippets/util.ts:130
↓ 1 callers
Function
requiredSpaceToBatchPaddings
( inputShape: [number, number], blockShape: [number, number], basePadding: number[][])
tfjs-core/src/ops/pool.ts:133
↓ 1 callers
Function
reshapeDispatch
(device: GPUDevice, program: webgpu_program.WebGPUProgram)
tfjs-backend-webgpu/src/backend_webgpu.ts:72
↓ 1 callers
Function
resize
()
tfjs-backend-webgpu/benchmarks/main.js:44
↓ 1 callers
Method
resize
* Update the size of the list. * @param size the new size of the list.
tfjs-converter/src/executor/tensor_list.ts:178
↓ 1 callers
Function
resizeImage
( imageUrl: string, width: number)
tfjs-react-native/integration_rn59/components/webcam/image_utils.ts:26
↓ 1 callers
Function
resizeNearestNeighbor
(args: { inputs: ResizeNearestNeighborInputs, backend: MathBackendCPU, attrs: ResizeNearestNeighborAttrs
tfjs-backend-cpu/src/kernels/ResizeNearestNeighbor.ts:23
↓ 1 callers
Function
resizeProgram
( gl: WebGL2RenderingContext, sourceDims: Dimensions, targetDims: Dimensions, alignCorners: boolean,
tfjs-react-native/src/camera/camera_webgl_util.ts:333
↓ 1 callers
Method
retrieveSymbolicTensors
* Retrieve the model's internal symbolic tensors from symbolic-tensor names.
tfjs-layers/src/engine/training.ts:982
↓ 1 callers
Function
revertAddonName
(orig)
tfjs-node/scripts/install.js:79
↓ 1 callers
Function
rightPad
(a: string, size: number)
tfjs-core/src/util_base.ts:283
↓ 1 callers
Function
run
(path)
tfjs-backend-nodegl/demo/run_mobilenet_inference.js:55
↓ 1 callers
Function
run
* Symlink or move libtensorflow for building the binding.
tfjs-node/scripts/deps-stage.js:87
↓ 1 callers
Function
run
* Ensures libtensorflow requirements are met for building the binding.
tfjs-node/scripts/install.js:204
↓ 1 callers
Function
run
()
tfjs-automl/demo/object_detection/index.js:24
↓ 1 callers
Function
run
()
tfjs-automl/demo/img_classification/index.js:24
↓ 1 callers
Function
run
()
tfjs-backend-wasm/starter/parcel/index.js:18
↓ 1 callers
Function
run
()
tfjs-backend-wasm/starter/webpack/src/index.js:24
↓ 1 callers
Function
run
(dryrun)
tfjs-converter/python/tensorflowjs/converters/wizard.py:400
↓ 1 callers
Function
run
(outputFilePath: string)
tfjs-converter/scripts/kernels_to_ops.ts:140
↓ 1 callers
Function
runFirestore
* Initializes Firebase, signs in with secret credentials, and accesses the * Firestore collection of results. * * @param firebaseConfig A configura
e2e/benchmarks/browserstack-benchmark/firestore.js:28
↓ 1 callers
Function
runGradientConv3DTestCase
( batch: number, inDepth: number, inHeight: number, inWidth: number, inChannels: number, outChannels:
tfjs-core/src/ops/conv3d_test.ts:75
↓ 1 callers
Function
runResizeProgram
( gl: WebGL2RenderingContext, inputTexture: WebGLTexture, inputDims: Dimensions, outputDims: Dimension
tfjs-react-native/src/camera/camera_webgl_util.ts:178
↓ 1 callers
Function
runServer
()
e2e/benchmarks/browserstack-benchmark/app.js:53
↓ 1 callers
Function
runVerdaccio
()
scripts/release-util.ts:620
↓ 1 callers
Function
sanitizeOptions
(options: ObjectDetectionOptions)
tfjs-automl/src/object_detection.ts:112
↓ 1 callers
Function
sanitizeOptions
(options: ImageClassificationOptions)
tfjs-automl/src/img_classification.ts:74
↓ 1 callers
Method
save
(modelArtifacts: ModelArtifacts)
tfjs-core/src/io/passthrough.ts:36
↓ 1 callers
Function
saveObjectsToFile
(jsonObjects, prefix)
e2e/benchmarks/local-benchmark/dump.js:81
↓ 1 callers
Method
saveTensorsForBackwardMode
* Saves tensors used in forward mode for use in backward mode. * * @param tensors the list of tensors to save.
tfjs-core/src/engine.ts:751
↓ 1 callers
Function
scaleTo01
(min: number, max: number)
tfjs-data/src/statistics.ts:73
↓ 1 callers
Function
scale_after_normalization
(node)
tfjs-converter/python/tensorflowjs/converters/fold_batch_norms.py:269
↓ 1 callers
Function
search
(sortedArray: T[], compare: (t: T) => number)
tfjs-core/src/io/composite_array_buffer.ts:208
↓ 1 callers
Function
searchSortedImpl
( sortedInputs: TypedArray, values: TypedArray, batchSize: number, numInputs: number, numValues: numbe
tfjs-backend-cpu/src/kernels/SearchSorted_impl.ts:50
↓ 1 callers
Function
segOpCompute
(x: TensorInfo, segOpType: 'unsortedSegmentSum', segmentIds: TensorInfo, dtype: DataType, numSegments:
tfjs-backend-webgl/src/kernels/UnsortedSegmentSum.ts:60
↓ 1 callers
Function
select
* Partitions array where all elements smaller than the (k+1) smallest element * are found to the left of it, and all larger to the right of it. * Ba
tfjs-backend-cpu/src/kernels/TopK_impl.ts:43
↓ 1 callers
Function
selectPackages
({ message = "Select packages", selected = async (_pkg: string) => false, modifyName = async (name: stri
scripts/release-util.ts:543
↓ 1 callers
Function
sendChatMsg
(build, msg)
scripts/cloud_funcs/send_email/index.js:48
↓ 1 callers
Function
separableConv2d
(args: SeparableConvLayerArgs)
tfjs-layers/src/exports_layers.ts:366
↓ 1 callers
Function
sequential
(config?: SequentialArgs)
tfjs-layers/src/exports.ts:134
↓ 1 callers
Method
serialNext
()
tfjs-data/src/iterators/lazy_iterator.ts:553
↓ 1 callers
Method
serialNext
()
tfjs-data/src/iterators/lazy_iterator.ts:647
↓ 1 callers
Method
serialNext
()
tfjs-data/src/iterators/lazy_iterator.ts:688
↓ 1 callers
Method
serialNext
()
tfjs-data/src/iterators/lazy_iterator.ts:762
↓ 1 callers
Method
serialNext
()
tfjs-data/src/iterators/lazy_iterator.ts:1173
↓ 1 callers
Function
serializeTensors
* Benchmark results contain tensors that are represented as nested arrays. * Nested arrays are not supported on Firestore, so they are serialized *
e2e/benchmarks/browserstack-benchmark/firestore.js:129
↓ 1 callers
Method
set
(flagName: string, value: FlagValue)
tfjs-core/src/environment.ts:132
↓ 1 callers
Function
setDeprecationWarningFn
(fn: (msg: string) => void)
tfjs-core/src/tensor.ts:237
↓ 1 callers
Function
setDifference
* For sets `a` and `b`, compute the set difference `a \ b` * * The set difference of `a` and `b`, denoted `a \ b`, is the set containing all * elem
scripts/publish-npm.ts:67
↓ 1 callers
Function
setEnvFlagsFromUrlParameters
* Set flags from URL. URL should be in the format: * ?tfjsflags=FLAG1:1,FLAG2:true.
e2e/benchmarks/benchmark_util.js:626
↓ 1 callers
Function
setEnvironmentGlobal
(environment: Environment)
tfjs-core/src/environment.ts:217
↓ 1 callers
Function
setEpsilon
(e: number)
tfjs-layers/src/backend/common.ts:30
↓ 1 callers
Method
setInputMatrixTexture
( inputMatrixTexture: WebGLTexture, uniformLocation: WebGLUniformLocation, textureUnit: number)
tfjs-backend-webgl/src/gpgpu_context.ts:411
↓ 1 callers
Method
setLearningRate
* Sets the learning rate of the optimizer.
tfjs-core/src/optimizers/sgd_optimizer.ts:68
↓ 1 callers
Method
setMaxResults
(value: number)
tfjs-tflite/src/types/object_detector.ts:23
↓ 1 callers
Method
setMaxResults
(value: number)
tfjs-tflite/src/types/image_classifier.ts:23
↓ 1 callers
Method
setMaxSeqLen
(value: number)
tfjs-tflite/src/types/bert_nl_classifier.ts:22
↓ 1 callers
Function
setOpHandler
(handler: OpHandler)
tfjs-core/src/tensor.ts:229
↓ 1 callers
Method
setOutput
( raggedRank: number, outputIndex: number[], outputTensor: TypedArray, outputShape: number[])
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:352
↓ 1 callers
Method
setOutputMatrixWriteRegion
( startRow: number, numRows: number, startColumn: number, numColumns: number)
tfjs-backend-webgl/src/gpgpu_context.ts:433
↓ 1 callers
Method
setOutputMatrixWriteRegionDriver
( x: number, y: number, width: number, height: number)
tfjs-backend-webgl/src/gpgpu_context.ts:670
↓ 1 callers
Function
setOutputSnippet
( outShape: number[], outBufferType: DataType, component: number)
tfjs-backend-webgpu/src/webgpu_program.ts:791
↓ 1 callers
Method
setOutputType
(value: OutputType)
tfjs-tflite/src/types/image_segmenter.ts:30
↓ 1 callers
Function
setPackageJsonFile
()
tfjs-node/scripts/install.js:64
↓ 1 callers
Method
setScoreThreshold
(value: number)
tfjs-tflite/src/types/object_detector.ts:27
↓ 1 callers
Method
setScoreThreshold
(value: number)
tfjs-tflite/src/types/image_classifier.ts:27
↓ 1 callers
Function
setTensorTracker
(fn: () => TensorTracker)
tfjs-core/src/tensor.ts:220
↓ 1 callers
Method
setUp
(self)
tfjs-converter/python/test_pip_package.py:207
↓ 1 callers
Function
setupBenchmarkEnv
* Supplement the browser configurations and create `browsers.json` and * `benchmark_parameters.json` configuration files for karma. * * @param {{br
e2e/benchmarks/browserstack-benchmark/app.js:88
↓ 1 callers
Function
setupCachedWasmPaths
()
tfjs-backend-wasm/src/test_util.ts:50
↓ 1 callers
Function
setupCam
()
tfjs-tflite/demo/src/script.ts:68
↓ 1 callers
Function
setupFakeAudioStream
()
tfjs-data/src/util/test_utils.ts:93
↓ 1 callers
Function
setupGlobals
()
tfjs-react-native/src/platform_react_native.ts:188
↓ 1 callers
Function
setupHelpMessage
Set up --help menu for file description and available optional commands
e2e/benchmarks/browserstack-benchmark/app.js:360
↓ 1 callers
Function
setupListeners
()
tfjs-vis/demos/mnist_internals/index.js:67
↓ 1 callers
Function
setupListeners
()
tfjs-vis/demos/mnist/index.js:36
↓ 1 callers
Method
setupRegisteredKernels
()
tfjs-core/src/engine.ts:295
↓ 1 callers
Function
setupTestFilters
* Run Jasmine tests only for allowlisted tags.
e2e/integration_tests/setup_test.ts:110
↓ 1 callers
Function
shallowSlice
( x: TensorInfo, begin: number[], size: number[], backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernels/Slice.ts:25
← previous
next →
2,701–2,800 of 6,022, ranked by callers