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
getSwitchedCoords
(newDim: number[])
tfjs-backend-webgl/src/transpose_gpu.ts:46
↓ 1 callers
Function
getTFDTypeForInputs
Returns the dtype number for a single or list of input Tensors.
tfjs-node/src/nodejs_kernel_backend.ts:767
↓ 1 callers
Function
getTFHubUrl
(modelUrl: string)
tfjs-converter/src/executor/graph_model.ts:703
↓ 1 callers
Method
getTabs
()
tfjs-vis/src/components/visor.tsx:176
↓ 1 callers
Method
getTensorsForGradient
* Returns a list of tensors to save for a given gradient calculation. * * @param kernelName name of kernel to look up gradient for. * @param
tfjs-core/src/engine.ts:763
↓ 1 callers
Function
getTestSet
(num)
tfjs-backend-webgpu/perf/tune.js:362
↓ 1 callers
Function
getTfjsDeps
* Get just the @tensorflow/ scoped deps of a tfjs package. * * @param packageName The package name (without @tensorflow/). * @returns The tfjs pack
link-package/build_deps.ts:148
↓ 1 callers
Function
getTopologicalSortAndRecipientCounts
* Sort the `SymbolicTensor`s topologically, for an array of fetches. * * This function calls getTopologicalSortAndRecipientCountsForOneFetch and *
tfjs-layers/src/engine/executor.ts:395
↓ 1 callers
Method
getTrainingConfig
()
tfjs-layers/src/engine/training.ts:1977
↓ 1 callers
Function
getTrendlinesHTML
(test, params, max, increment, xIncrement, i)
tfjs-backend-webgpu/benchmarks/util.js:116
↓ 1 callers
Function
getTypedArrayFromDType
( dtype: D, size: number)
tfjs-core/src/util_base.ts:434
↓ 1 callers
Function
getUndoAxesPermutation
(axes: number[])
tfjs-core/src/ops/axis_util.ts:97
↓ 1 callers
Function
getUniformInfoFromShape
( isPacked: boolean, shape: number[], texShape: number[])
tfjs-backend-webgl/src/shader_compiler.ts:1890
↓ 1 callers
Function
getUnpackedMatrixTextureShapeWidthHeight
( rows: number, columns: number)
tfjs-backend-webgl/src/tex_util.ts:104
↓ 1 callers
Function
getUsernameForCommit
(sha: string)
scripts/release_notes/util.ts:138
↓ 1 callers
Function
getValues
( paramsDenseValues: TypedArray, paramsDenseValuesShape: number[], paramsDenseValuesDType: DataType, v
tfjs-backend-cpu/src/kernels/RaggedGather_impl.ts:173
↓ 1 callers
Function
getWSnippet
(innerElementSize: number)
tfjs-backend-webgpu/src/conv_backprop_mm_webgpu.ts:25
↓ 1 callers
Function
getWSnippet
(innerElementSize: number)
tfjs-backend-webgpu/src/conv2d_mm_webgpu.ts:44
↓ 1 callers
Function
getWebGLDisjointQueryTimerVersion
(webGLVersion: number)
tfjs-backend-webgl/src/webgl_util.ts:538
↓ 1 callers
Function
getWebGLErrorMessage
( gl: WebGLRenderingContext, status: number)
tfjs-backend-webgl/src/webgl_util.ts:50
↓ 1 callers
Function
getWebGLMaxTextureSize
(webGLVersion: number)
tfjs-backend-webgl/src/webgl_util.ts:514
↓ 1 callers
Function
getWebGLRenderingContext
( webGLVersion: number, customCanvas?: HTMLCanvasElement|OffscreenCanvas)
tfjs-backend-webgl/src/canvas_util.ts:85
↓ 1 callers
Function
getWeightBytelength
(spec: WeightsManifestEntry, slice: (start: number, end: number) => ArrayBuffer)
tfjs-core/src/io/io_utils.ts:137
↓ 1 callers
Function
getWeightBytelengthAsync
( spec: WeightsManifestEntry, slice: (start: number, end: number) => Promise<ArrayBuffer> )
tfjs-core/src/io/io_utils.ts:160
↓ 1 callers
Method
getWidthCoordString
()
tfjs-backend-webgpu/src/depth_to_space_webgpu.ts:74
↓ 1 callers
Method
getWidthCoordString
()
tfjs-backend-webgl/src/depth_to_space_gpu.ts:62
↓ 1 callers
Function
getWorkgroupSizeString
(program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:191
↓ 1 callers
Function
getXSnippet
(innerElementSize: number)
tfjs-backend-webgpu/src/conv2d_mm_webgpu.ts:31
↓ 1 callers
Function
get_arg_parser
Create the argument parser for the converter binary.
tfjs-converter/python/tensorflowjs/converters/converter.py:725
↓ 1 callers
Function
get_cluster
Grappler optimization configuration for GPU.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:86
↓ 1 callers
Function
get_extra_requires
(path, add_all=True)
tfjs-converter/python/setup.py:28
↓ 1 callers
Function
guessOutputDType
* Guesses output dtype based on inputs. * * At present, just returns 'float32' for any input. * * @param inputTensors List of input tensors (or si
tfjs-layers/src/engine/topology.ts:1611
↓ 1 callers
Function
h5_merged_saved_model_to_tfjs_format
Load topology & weight values from HDF5 file and convert. The HDF5 file is one generated by Keras' save_model method or model.save() N.B.: 1)
tfjs-converter/python/tensorflowjs/converters/keras_h5_conversion.py:201
↓ 1 callers
Method
handleCameraCapture
()
tfjs-react-native/integration_rn59/components/webcam/webcam_demo.tsx:138
↓ 1 callers
Function
hashLen0to16
(s: Uint8Array, len = s.length)
tfjs-core/src/hash_util.ts:89
↓ 1 callers
Function
hashLen17to32
(s: Uint8Array, len = s.length)
tfjs-core/src/hash_util.ts:114
↓ 1 callers
Function
hashLen33to64
(s: Uint8Array, len = s.length)
tfjs-core/src/hash_util.ts:125
↓ 1 callers
Function
hideOrPresent
(event)
tfjs-backend-webgpu/perf/tune.js:287
↓ 1 callers
Function
imageByteArray
(image, numChannels)
tfjs-backend-nodegl/demo/run_mobilenet_inference.js:36
↓ 1 callers
Function
imageToInput
(image, numChannels)
tfjs-backend-nodegl/demo/run_mobilenet_inference.js:48
↓ 1 callers
Method
imageToTensor
(rawImageData: ArrayBuffer)
tfjs-react-native/integration_rn59/components/mobilenet_demo.tsx:81
↓ 1 callers
Method
import
* Replaces the contents of the table with the specified keys and values. * @param keys Keys to store in the hashtable. * @param values Values to
tfjs-converter/src/executor/hash_table.ts:76
↓ 1 callers
Method
incRef
(a: Tensor, backend: KernelBackend)
tfjs-core/src/engine.ts:905
↓ 1 callers
Method
infer
* Run inference. * * @return Whether the inference is successful or not.
tfjs-tflite/src/types/tflite_web_model_runner.ts:52
↓ 1 callers
Function
initData
()
tfjs-vis/demos/mnist_internals/index.js:28
↓ 1 callers
Function
initData
()
tfjs-vis/demos/mnist/index.js:28
↓ 1 callers
Function
initDefaultValueMap
* Query all tunable flags' default value and populate `state.flags` with them.
e2e/benchmarks/local-benchmark/index.js:179
↓ 1 callers
Function
initModel
()
tfjs-vis/demos/mnist_internals/index.js:35
↓ 1 callers
Function
initModel
()
tfjs-vis/demos/mnist/index.js:32
↓ 1 callers
Method
initializeBackendsAndReturnBest
()
tfjs-core/src/engine.ts:408
↓ 1 callers
Method
initializeTable
(self)
e2e/integration_tests/convert_predict.py:445
↓ 1 callers
Method
initializeTable
(self)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:139
↓ 1 callers
Function
initializeWriting
()
e2e/benchmarks/browserstack-benchmark/app.js:477
↓ 1 callers
Function
input_format_message
(detected_input_format)
tfjs-converter/python/tensorflowjs/converters/wizard.py:349
↓ 1 callers
Function
input_formats
(detected_format)
tfjs-converter/python/tensorflowjs/converters/wizard.py:365
↓ 1 callers
Function
input_path_message
Determine question for model's input path. Args: answer: Dict of user's answers to the questions
tfjs-converter/python/tensorflowjs/converters/wizard.py:129
↓ 1 callers
Function
insertAlignment
(uniformShader: string)
tfjs-backend-webgpu/src/webgpu_program.ts:829
↓ 1 callers
Function
int
(input: TensorInfo, backend: WebGPUBackend)
tfjs-backend-webgpu/src/kernel_utils/int.ts:23
↓ 1 callers
Function
internalFormatForPhysicalTexType
( physicalTexType: PhysicalTextureType, textureConfig: TextureConfig)
tfjs-backend-webgl/src/texture_manager.ts:235
↓ 1 callers
Function
intersectionOverUnion
(boxes: TypedArray, i: number, j: number)
tfjs-core/src/backends/non_max_suppression_impl.ts:164
↓ 1 callers
Function
isBoolean
(value: {})
tfjs-core/src/util_base.ts:524
↓ 1 callers
Function
isCapableOfRenderingToFloatTexture
(webGLVersion: number)
tfjs-backend-webgl/src/webgl_util.ts:576
↓ 1 callers
Function
isDownloadFloatTextureEnabled
(webGLVersion: number)
tfjs-backend-webgl/src/webgl_util.ts:607
↓ 1 callers
Function
isDynamicShape
(node: Node)
tfjs-converter/src/executor/model_analysis.ts:341
↓ 1 callers
Function
isExponentOf2
(size: number)
tfjs-backend-cpu/src/utils/fft_utils.ts:165
↓ 1 callers
Method
isFencePassed
()
tfjs-backend-webgl/src/gpgpu_context.ts:29
↓ 1 callers
Method
isFieldRelevant
(key: string)
tfjs-node/src/callbacks.ts:144
↓ 1 callers
Function
isGooglerUsername
(username: string)
scripts/release_notes/util.ts:39
↓ 1 callers
Function
isHashTable
(node: Node)
tfjs-converter/src/executor/model_analysis.ts:345
↓ 1 callers
Function
isImageBitmapFullySupported
()
tfjs-core/src/ops/browser.ts:183
↓ 1 callers
Function
isInteger
(x: number)
tfjs-layers/src/utils/math_utils.ts:29
↓ 1 callers
Function
isIterable
(obj: any)
tfjs-core/src/tensor_util.ts:85
↓ 1 callers
Function
isKerasSavedModelFormat
(weights: NamedTensorMap)
tfjs-layers/src/engine/container.ts:41
↓ 1 callers
Function
isLazyIteratorObject
(iterator: Dataset<T>| LazyIterator<T>)
tfjs-layers/src/engine/training_dataset.ts:528
↓ 1 callers
Function
isModelSequentialLike
(model: Container)
tfjs-layers/src/utils/layer_utils.ts:102
↓ 1 callers
Function
isNonEmptyPixels
(pixels: PixelData|ImageData|HTMLImageElement| HTMLCanvasElement|HTMLVideoElement|Im
tfjs-core/src/ops/browser.ts:189
↓ 1 callers
Function
isNumber
(value: {})
tfjs-core/src/util_base.ts:528
↓ 1 callers
Function
isPixelData
(pixels: PixelData|ImageData|HTMLImageElement| HTMLCanvasElement|HTMLVideoElement|
tfjs-core/src/ops/browser.ts:177
↓ 1 callers
Function
isPredefined
(node: Node|string)
tfjs-converter/src/executor/model_analysis.ts:233
↓ 1 callers
Function
isPrimitive
* Returns true if the given `value` is a primitive type. Otherwise returns * false. This is equivalant to node util.isPrimitive
tfjs-data/src/util/deep_map.ts:289
↓ 1 callers
Function
isSurface
(drawable: Drawable)
tfjs-vis/src/types.ts:98
↓ 1 callers
Function
isSurfaceInfo
(drawable: Drawable)
tfjs-vis/src/types.ts:91
↓ 1 callers
Function
isUsed
(node: Node|string)
tfjs-converter/src/executor/model_analysis.ts:111
↓ 1 callers
Method
isUsingGpuDevice
()
tfjs-node/src/tfjs_binding.ts:65
↓ 1 callers
Function
isWebGLFenceEnabled
(webGLVersion: number)
tfjs-backend-webgl/src/webgl_util.ts:699
↓ 1 callers
Function
isWebGPUSupported
()
tfjs-backend-webgpu/src/webgpu_util.ts:157
↓ 1 callers
Function
iteratorFromIncrementing
(start: number)
tfjs-data/src/iterators/lazy_iterator.ts:47
↓ 1 callers
Function
kurtosis
(values: TypedArray|number[])
tfjs-core/src/ops/rand_util.ts:262
↓ 1 callers
Function
layer
(container: Drawable, layer: Layer)
tfjs-vis/src/show/model.ts:99
↓ 1 callers
Function
linSpaceImpl
( start: number, stop: number, num: number)
tfjs-backend-cpu/src/kernels/LinSpace_impl.ts:20
↓ 1 callers
Function
linearRegressionModel
()
tfjs-data/demo/boston-housing/index.ts:93
↓ 1 callers
Method
load
()
tfjs-vis/demos/mnist_internals/data.js:44
↓ 1 callers
Method
load
()
tfjs-vis/demos/mnist/data.js:44
↓ 1 callers
Method
load
()
tfjs-layers/src/models_test.ts:1874
↓ 1 callers
Method
load
()
tfjs-core/src/io/passthrough.ts:27
↓ 1 callers
Method
load
()
tfjs-converter/demo/control_flow/loop_model.js:27
↓ 1 callers
Method
loadBinaryModel
()
tfjs-node/src/io/file_system.ts:133
↓ 1 callers
Method
loadBlazefaceModel
()
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:80
↓ 1 callers
Function
loadCustomBinary
()
tfjs-node/scripts/deps-constants.js:98
↓ 1 callers
Function
loadData
()
tfjs-vis/demos/mnist_internals/model.js:63
← previous
next →
2,401–2,500 of 6,022, ranked by callers