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
Method
next
()
tfjs-data/src/iterators/string_iterator.ts:68
↓ 1 callers
Method
nextDataId
()
tfjs-backend-cpu/src/backend_cpu.ts:43
↓ 1 callers
Method
nextDataId
()
tfjs-backend-webgl/src/backend_webgl.ts:109
↓ 1 callers
Method
nextState
(afterState: Promise<IteratorResult<O>>)
tfjs-data/src/iterators/lazy_iterator.ts:1030
↓ 1 callers
Method
nextValue
Returns next sample from a gamma distribution.
tfjs-core/src/ops/rand_util.ts:146
↓ 1 callers
Method
nextValue
()
tfjs-core/src/ops/rand_util.ts:214
↓ 1 callers
Method
nextVariableId
()
tfjs-core/src/engine.ts:495
↓ 1 callers
Function
noConversionNeeded
(a: TensorLike, dtype: DataType)
tfjs-core/src/util.ts:37
↓ 1 callers
Function
nodeHTTPRequest
( path: string, requestInit?: RequestInit, weightPathPrefix?: string)
tfjs-node/src/io/node_http.ts:28
↓ 1 callers
Function
node_name_from_input
Strips off ports and other decorations to get the underlying node name.
tfjs-converter/python/tensorflowjs/converters/graph_rewrite_util.py:72
↓ 1 callers
Function
normImpl
( x: Tensor, p: number|string, axis: number|number[] = null)
tfjs-core/src/ops/norm.ts:87
↓ 1 callers
Function
normalizePath
(p: string)
tfjs/tools/custom_module/cli.ts:103
↓ 1 callers
Function
numBytesForInternalFormat
( gl: WebGLRenderingContext, internalFormat: number)
tfjs-backend-webgl/src/texture_manager.ts:187
↓ 1 callers
Function
numMBBeforeWarning
()
tfjs-backend-webgl/src/backend_webgl.ts:95
↓ 1 callers
Function
numberCompare
(a: number, b: number)
tfjs-layers/src/utils/generic_utils.ts:305
↓ 1 callers
Method
onCameraLayout
(event: LayoutChangeEvent)
tfjs-react-native/src/camera/camera_stream.tsx:210
↓ 1 callers
Function
onesVariable
( shape: Shape, dtype?: DataType, name?: string)
tfjs-layers/src/variables.ts:191
↓ 1 callers
Function
openModal
(start, end)
tfjs-backend-webgpu/benchmarks/util.js:69
↓ 1 callers
Function
otsu
(histogram: Tensor1D, total: number)
tfjs-core/src/ops/image/threshold.ts:121
↓ 1 callers
Function
pack
( args: {inputs: PackInputs, backend: MathBackendCPU, attrs: PackAttrs})
tfjs-backend-cpu/src/kernels/Pack.ts:24
↓ 1 callers
Method
packTensor
(input: TensorInfo)
tfjs-backend-webgl/src/backend_webgl.ts:812
↓ 1 callers
Function
packXYSampleWeight
( x: NamedTensorMap, y?: Tensor, sampleWeight?: Tensor)
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_preprocessor.ts:75
↓ 1 callers
Function
packedReshape
( input: TensorInfo, afterShape: number[], backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernel_utils/reshape.ts:24
↓ 1 callers
Method
packedReshape
(input: TensorInfo, afterShape: number[])
tfjs-backend-webgl/src/backend_webgl.ts:820
↓ 1 callers
Method
packedUnaryOp
(x: TensorInfo, op: string, dtype: DataType)
tfjs-backend-webgl/src/backend_webgl.ts:757
↓ 1 callers
Function
padV2
(args: {inputs: PadV2Inputs, backend: MathBackendWebGL, attrs: PadV2Attrs})
tfjs-backend-webgl/src/kernels/PadV2.ts:26
↓ 1 callers
Function
parseHeaders
(rawHeaders: string)
tfjs-react-native/src/platform_react_native.ts:33
↓ 1 callers
Function
parseSliceParams
( x: TensorInfo, begin: number|number[], size?: number|number[])
tfjs-core/src/ops/slice_util.ts:379
↓ 1 callers
Function
parseTags
* Given a string separated with comma, validate and return tags as an array.
e2e/integration_tests/setup_test.ts:84
↓ 1 callers
Function
parseValue
(flagName: string, value: string)
tfjs-core/src/environment.ts:193
↓ 1 callers
Function
parseValue
* Converted a URL parameter to a typed value, such a boolean, number, string.
e2e/benchmarks/benchmark_util.js:645
↓ 1 callers
Function
parse_args
()
tfjs-converter/python/tensorflowjs/converters/generate_test_model.py:28
↓ 1 callers
Function
patchWechatWebAssembly
()
tfjs-backend-wasm/scripts/patch_wechat_webassembly.ts:24
↓ 1 callers
Function
play
(video: HTMLVideoElement)
tfjs-core/src/test_util.ts:216
↓ 1 callers
Method
pollFence
(fenceContext: FenceContext)
tfjs-backend-webgl/src/gpgpu_context.ts:588
↓ 1 callers
Method
pollItems
()
tfjs-backend-webgl/src/gpgpu_context.ts:596
↓ 1 callers
Function
prebenchmarkSetup
Sets up the local or remote environment for benchmarking.
e2e/benchmarks/browserstack-benchmark/app.js:527
↓ 1 callers
Method
predict
* Execute the inference for the input tensors. * * @param inputs The input tensors, when there is single input for the model, * inputs pa
tfjs-tflite/src/tflite_model.ts:83
↓ 1 callers
Method
predictAsync
* Execute the inference for the input tensors in async fashion, use this * method when your model contains control flow ops. * * @param input
tfjs-converter/src/executor/graph_model.ts:403
↓ 1 callers
Function
predictOp
( model, modelJson, dumpedJson, outputNodeName, backend)
e2e/benchmarks/local-benchmark/dump.js:144
↓ 1 callers
Method
predictStyleParameters
* This function returns style bottleneck features for * the given image. * * @param style Style image to get 100D bottleneck features for
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:64
↓ 1 callers
Function
prelu
(args: {inputs: PreluInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/Prelu.ts:27
↓ 1 callers
Function
prepareData
* Formats data to the internal format used by this chart.
tfjs-vis/src/render/histogram.ts:203
↓ 1 callers
Method
preprocess
(input: ImageInput, options: ObjectDetectionOptions)
tfjs-automl/src/object_detection.ts:100
↓ 1 callers
Method
preprocess
(input: ImageInput, options: ImageClassificationOptions)
tfjs-automl/src/img_classification.ts:57
↓ 1 callers
Method
previewUpdateFunc
* Helper function that can be used to update the GLView framebuffer. * * @param gl the open gl texture to render to * @param cameraText
tfjs-react-native/src/camera/camera_stream.tsx:317
↓ 1 callers
Function
printLayerSummary
* Prints a summary for a single Layer, without connectivity information. * * @param layer: Layer instance to print.
tfjs-layers/src/utils/layer_utils.ts:160
↓ 1 callers
Function
printLayerSummaryWithConnections
* Prints a summary for a single Layer, with connectivity information.
tfjs-layers/src/utils/layer_utils.ts:192
↓ 1 callers
Function
printPhase
(phases: Phase[], phaseId: number)
scripts/release-util.ts:274
↓ 1 callers
Function
printSummary
( model: Container, lineLength?: number, positions?: number[], // tslint:disable-next-line:no-any
tfjs-layers/src/utils/layer_utils.ts:30
↓ 1 callers
Function
processLayer
* Deserialize a layer, then call it on appropriate inputs. * @param layerData: layer config dict. * @throws ValueError: In case of improperl
tfjs-layers/src/engine/container.ts:1260
↓ 1 callers
Function
processNode
(layer: Layer, nodeData: TensorKeyWithArgsArray[])
tfjs-layers/src/engine/container.ts:1221
↓ 1 callers
Method
processStack
( inputNodes: Node[], stack: NodeWithContexts[], context: ExecutionContext, tensorMap: NamedTensor
tfjs-converter/src/executor/graph_executor.ts:607
↓ 1 callers
Function
processUrls
(urls, localBuild)
e2e/benchmarks/local-benchmark/loader.js:32
↓ 1 callers
Function
prod
( args: {inputs: ProdInputs, backend: MathBackendCPU, attrs: ProdAttrs})
tfjs-backend-cpu/src/kernels/Prod.ts:47
↓ 1 callers
Function
prodGradFn_
(x: Tensor, dy: Tensor, axis: number)
tfjs-core/src/gradients/Prod_grad.ts:28
↓ 1 callers
Function
prodImpl
( xShape: number[], xDtype: DataType, xVals: TypedArray, reductionAxes: number[])
tfjs-backend-cpu/src/kernels/Prod.ts:24
↓ 1 callers
Function
prodsGradFn_
(x: Tensor, dy: Tensor, axis: number[])
tfjs-core/src/gradients/Prod_grad.ts:46
↓ 1 callers
Method
produceCustomTFJSModule
* Writes out custom tfjs module(s) to disk.
tfjs/tools/custom_module/esm_module_provider.ts:34
↓ 1 callers
Method
produceStylized
* This function stylizes the content image given the bottleneck * features. It returns a tf.Tensor3D containing the stylized image. * * @para
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:81
↓ 1 callers
Function
profileModelInference
* Executes the predict function for `model` (`model.predict` for * tf.LayersModel and `model.executeAsync` for tf.GraphModel) and returns a * promis
e2e/benchmarks/benchmark_util.js:429
↓ 1 callers
Method
pump
()
tfjs-data/src/iterators/lazy_iterator.ts:889
↓ 1 callers
Method
pushAll
* Adds many items to the end of the buffer, in order.
tfjs-data/src/util/ring_buffer.ts:115
↓ 1 callers
Function
pushToFirestore
* Pushes all benchmark results to Firestore. * * @param benchmarkResults List of all benchmark results
e2e/benchmarks/browserstack-benchmark/app.js:340
↓ 1 callers
Function
raggedGatherImpl
( paramsNestedSplits: TypedArray[], paramsNestedSplitsShapes: number[][], paramsDenseValues: TypedArra
tfjs-backend-cpu/src/kernels/RaggedGather_impl.ts:193
↓ 1 callers
Function
raggedRangeImpl
( starts: TypedArray, startsShape: number[], startsDType: DataType, limits: TypedArray, limitsShape: n
tfjs-backend-cpu/src/kernels/RaggedRange_impl.ts:22
↓ 1 callers
Function
raggedTensorToTensorImpl
( shape: TypedArray, shapesShape: number[], values: TypedArray, valuesShape: number[], valuesDType: Da
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:468
↓ 1 callers
Method
rand8
()
tfjs-core/src/hash_util_test.ts:62
↓ 1 callers
Method
randomInt
(max: number)
tfjs-data/src/iterators/lazy_iterator.ts:1165
↓ 1 callers
Function
range
(args: {backend: MathBackendWebGL, attrs: RangeAttrs})
tfjs-backend-webgl/src/kernels/Range.ts:24
↓ 1 callers
Function
rangeImpl
( start: number, stop: number, step: number, dtype: 'float32'|'int32')
tfjs-backend-cpu/src/kernels/Range_impl.ts:20
↓ 1 callers
Method
read
* Get a snapshot of the Variable's value. * * The returned value is a snapshot of the Variable's value at the time of * the invocation. Futur
tfjs-layers/src/variables.ts:83
↓ 1 callers
Method
read
* Read the value at location index in the TensorArray. * @param index Number the index to read from.
tfjs-converter/src/executor/tensor_array.ts:74
↓ 1 callers
Function
readDataFromSubASnippet
(transposeA: boolean)
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:240
↓ 1 callers
Method
readFromChain
(lastRead: Promise<IteratorResult<T>>)
tfjs-data/src/iterators/lazy_iterator.ts:952
↓ 1 callers
Function
readImageAsJpeg
(path)
tfjs-backend-nodegl/demo/run_mobilenet_inference.js:32
↓ 1 callers
Function
readPixelsFromCanvas
( canvas: HTMLCanvasElement, contextType: string, width: number, height: number)
tfjs-core/src/ops/draw_test.ts:22
↓ 1 callers
Method
readSync
(dataId: object)
tfjs-backend-webgpu/src/backend_webgpu.ts:379
↓ 1 callers
Method
readSync
(dataId: DataId)
tfjs-core/src/engine.ts:1218
↓ 1 callers
Method
readSync
(dataId: DataId)
tfjs-node/src/nodejs_kernel_backend.ts:222
↓ 1 callers
Method
readSync
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:271
↓ 1 callers
Method
readSync
(dataId: DataId, start?: number, end?: number)
tfjs-backend-wasm/src/backend_wasm.ts:118
↓ 1 callers
Function
readVectorASnippet
(transpose: boolean)
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:417
↓ 1 callers
Function
recipientMap2Counts
(recipientMap: RecipientMap)
tfjs-layers/src/engine/executor.ts:440
↓ 1 callers
Method
recordAndSubmit
( program: webgpu_program.WebGPUProgram, output: TensorInfo, inputs: TensorInfo[], programDefinedU
tfjs-backend-webgpu/src/backend_webgpu.ts:901
↓ 1 callers
Method
refCount
(dataId: DataId)
tfjs-core/src/backends/backend.ts:43
↓ 1 callers
Function
registerGradient
(config: GradConfig)
tfjs-core/src/kernel_registry.ts:150
↓ 1 callers
Function
registerGradientConfigStr
(gradConfigId: string)
tfjs/tools/custom_module/custom_module.ts:124
↓ 1 callers
Function
registerKernelStr
(kernelConfigId: string)
tfjs/tools/custom_module/custom_module.ts:120
↓ 1 callers
Function
registerOptimizers
()
tfjs-core/src/optimizers/register_optimizers.ts:37
↓ 1 callers
Method
registerSurface
(name: string, tab: string, surface: SurfaceComponent)
tfjs-vis/src/components/visor.tsx:182
↓ 1 callers
Function
registerTestEnvs
()
tfjs-backend-webgl/src/backend_webgl_test_registry.ts:28
↓ 1 callers
Function
registerWebGLBackend
()
tfjs-react-native/src/platform_react_native.ts:192
↓ 1 callers
Function
regularNormalizeBatchInTraining
* Non-broadcasting batch normalization for use in training (not inference). * * The input is normalized to zero mean and unit variance along the *
tfjs-layers/src/layers/normalization.ts:89
↓ 1 callers
Method
releaseGPUData
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:693
↓ 1 callers
Method
releaseTexture
(texture: GPUTexture)
tfjs-backend-webgpu/src/texture_manager.ts:66
↓ 1 callers
Method
releaseTexture
( texture: Texture, shape: [number, number], logicalTexType: TextureUsage, isPacked: boolean)
tfjs-backend-webgl/src/texture_manager.ts:89
↓ 1 callers
Function
releaseWebsite
(args: any)
scripts/release-website.ts:31
↓ 1 callers
Function
removeBackend
(name: string)
tfjs-core/src/globals.ts:321
↓ 1 callers
Function
removeLoaderElement
* Remove the loader element under the tab page. * * @param {string} tabId
e2e/benchmarks/browserstack-benchmark/index.js:514
← previous
next →
2,601–2,700 of 6,022, ranked by callers