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
createTensorFromGPUData
( values: WebGLData|WebGPUData, shape: number[], dtype: DataType)
tfjs-core/src/backends/backend.ts:137
↓ 1 callers
Function
createTwoLayerDenseModelAndData
(useBias = false)
tfjs-layers/src/engine/training_test.ts:589
↓ 1 callers
Method
createUnsignedBytesMatrixTexture
(rows: number, columns: number)
tfjs-backend-webgl/src/gpgpu_context.ts:208
↓ 1 callers
Function
createVideoElement
(source: HTMLSourceElement)
tfjs-core/src/test_util.ts:195
↓ 1 callers
Function
cropAndResize
(args: { inputs: CropAndResizeInputs, backend: MathBackendCPU, attrs: CropAndResizeAttrs })
tfjs-backend-cpu/src/kernels/CropAndResize.ts:22
↓ 1 callers
Function
currentNameScopePrefix
* Get the current namescope as a flat, concatenated string.
tfjs-layers/src/common.ts:60
↓ 1 callers
Function
customInclude
()
tfjs-core/src/setup_test.ts:34
↓ 1 callers
Method
data
* Asynchronously downloads the values from the `tf.Tensor`. Returns a * promise of `TypedArray` that resolves when the computation has finished.
tfjs-core/src/tensor.ts:350
↓ 1 callers
Method
debug
()
tfjs-backend-webgl/src/gpgpu_context.ts:164
↓ 1 callers
Method
debugValidate
()
tfjs-backend-webgl/src/gpgpu_context.ts:446
↓ 1 callers
Function
decodeBase64
(text: string)
tfjs-converter/src/operations/operation_mapper.ts:437
↓ 1 callers
Function
decodeBmp
(contents: Uint8Array, channels = 0)
tfjs-node/src/image.ts:110
↓ 1 callers
Function
decodeGif
(contents: Uint8Array)
tfjs-node/src/image.ts:126
↓ 1 callers
Method
decodeGif
(contents: Uint8Array)
tfjs-node/src/nodejs_kernel_backend.ts:383
↓ 1 callers
Function
decodeJpeg
( contents: Uint8Array, channels = 0, ratio = 1, fancyUpscaling = true, tryRecoverTruncated = false, a
tfjs-node/src/image.ts:57
↓ 1 callers
Function
decodeModelAndOptimizerWeights
( weightData: io.WeightData, specs: io.WeightsManifestEntry[])
tfjs-layers/src/models.ts:344
↓ 1 callers
Function
decodeParam
( params: {[key: string]: string}, name: string, value?: string)
tfjs-core/src/environment.ts:188
↓ 1 callers
Function
decodePng
( contents: Uint8Array, channels = 0, dtype = 'int32')
tfjs-node/src/image.ts:86
↓ 1 callers
Function
decodeStrings
Private test util for decoding array of strings in utf-8.
tfjs-backend-cpu/src/backend_cpu_test.ts:28
↓ 1 callers
Function
decodeStrings
(bytes: Uint8Array[])
tfjs-backend-webgl/src/backend_webgl_test.ts:32
↓ 1 callers
Function
decodeWeights
( weightData: WeightData, specs: WeightsManifestEntry[])
tfjs-core/src/io/io_utils.ts:119
↓ 1 callers
Function
decodeWeightsStream
( weightStream: ReadableStream<ArrayBuffer>, specs: WeightsManifestEntry[])
tfjs-core/src/io/io_utils.ts:316
↓ 1 callers
Function
decode_weights
Load weight values from buffer(s) according to a weights manifest. Args: weights_manifest: A TensorFlow.js-format weights manifest (a JSON arra
tfjs-converter/python/tensorflowjs/read_weights.py:126
↓ 1 callers
Function
deepAssertShapeConsistency
( val: TensorLike, shape: number[], indices: number[])
tfjs-core/src/tensor_util_env.ts:57
↓ 1 callers
Function
deepClone
(container: T)
tfjs-data/src/util/deep_clone.ts:22
↓ 1 callers
Function
deepZipInternal
* @param containedIn: An set containing objects on the reference path currently * being processed (used to detect cycles).
tfjs-data/src/util/deep_map.ts:142
↓ 1 callers
Function
define_transform_graph_func
Check if the TransformGraph is available to be imported, this package is available in g3 but not in oss version of TensorFlow.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:882
↓ 1 callers
Function
deprecationWarn
(msg: string)
tfjs-core/src/globals.ts:62
↓ 1 callers
Function
depthToSpace
(args: { inputs: DepthToSpaceInputs, backend: MathBackendCPU, attrs: DepthToSpaceAttrs })
tfjs-backend-cpu/src/kernels/DepthToSpace.ts:22
↓ 1 callers
Function
depthwiseConv2dNative
(args: { inputs: DepthwiseConv2dNativeInputs, backend: MathBackendCPU, attrs: DepthwiseConv2dNativeAttrs
tfjs-backend-cpu/src/kernels/DepthwiseConv2dNative.ts:23
↓ 1 callers
Function
depthwiseConv2dNativeBackpropFilterImpl
( x: TensorInfo, dy: TensorInfo, convInfo: backend_util.Conv2DInfo, backend: NodeJSKernelBackend)
tfjs-node/src/kernels/DepthwiseConv2dNativeBackpropFilter.ts:39
↓ 1 callers
Function
depthwiseConv2dNativeBackpropInputImpl
( dy: TensorInfo, filter: TensorInfo, convInfo: backend_util.Conv2DInfo, backend: NodeJSKernelBackend)
tfjs-node/src/kernels/DepthwiseConv2dNativeBackpropInput.ts:41
↓ 1 callers
Function
describeMathWebGL2
(testName: string, tests: () => void)
tfjs-layers/src/utils/test_utils.ts:139
↓ 1 callers
Function
describeNodeEnvs
(testName: string, tests: () => void)
tfjs-data/src/util/test_utils.ts:84
↓ 1 callers
Function
detect_input_format
Determine the input format from model's input path or file. Args: input_path: string of the input model path returns: string: detected inp
tfjs-converter/python/tensorflowjs/converters/wizard.py:91
↓ 1 callers
Method
disconnect
()
tfjs-data/src/util/test_utils.ts:156
↓ 1 callers
Function
dispatch_keras_keras_to_tfjs_layers_model_conversion
Converts a Keras v3 .keras file to TensorFlow.js format. Args: v3_path: path to an .keras file containing keras model data as a `str`. outp
tfjs-converter/python/tensorflowjs/converters/converter.py:105
↓ 1 callers
Function
dispatch_keras_saved_model_to_tensorflowjs_conversion
Converts keras model saved in the SavedModel format to tfjs format. Note that the SavedModel format exists in keras, but not in keras-team/tf_ker
tfjs-converter/python/tensorflowjs/converters/converter.py:249
↓ 1 callers
Function
dispatch_tensorflowjs_to_keras_keras_conversion
Converts a TensorFlow.js Layers model format to Keras V3 format. Args: config_json_path: Path to the JSON file that includes the model's
tfjs-converter/python/tensorflowjs/converters/converter.py:333
↓ 1 callers
Function
dispatch_tensorflowjs_to_keras_saved_model_conversion
Converts a TensorFlow.js Layers model format to a tf_keras SavedModel. Args: config_json_path: Path to the JSON file that includes the model's
tfjs-converter/python/tensorflowjs/converters/converter.py:370
↓ 1 callers
Function
dispatch_tensorflowjs_to_tensorflowjs_conversion
Converts a Keras Model from tensorflowjs format to H5. Args: config_json_path: Path to the JSON file that includes the model's topology a
tfjs-converter/python/tensorflowjs/converters/converter.py:405
↓ 1 callers
Function
dispatch_tfjs_layers_model_to_tfjs_graph_conversion
Converts a TensorFlow.js Layers Model to TensorFlow.js Graph Model. This conversion often benefits speed of inference, due to the graph optimizat
tfjs-converter/python/tensorflowjs/converters/converter.py:463
↓ 1 callers
Method
dispose
()
tfjs-backend-wasm/src/backend_wasm.ts:186
↓ 1 callers
Method
disposeData
* Dispose the memory if the dataId has 0 refCount. Return true if the memory * is released or memory is not managed in this backend, false if memor
tfjs-backend-cpu/src/backend_cpu.ts:176
↓ 1 callers
Method
disposeIntermediateTensors
* Dispose intermediate tensors for model debugging mode (flag * KEEP_INTERMEDIATE_TENSORS is true). * * @doc {heading: 'Models', subheading:
tfjs-converter/src/executor/graph_model.ts:563
↓ 1 callers
Method
disposeMasks
Dispose all mask Tensors held by this object.
tfjs-layers/src/engine/executor.ts:179
↓ 1 callers
Method
disposeTensor
(a: Tensor)
tfjs-core/src/engine.ts:917
↓ 1 callers
Method
disposeVariable
(v: Variable)
tfjs-core/src/engine.ts:952
↓ 1 callers
Method
disposeVariable
(v: Variable)
tfjs-core/src/tensor.ts:185
↓ 1 callers
Function
dot
(args: DotLayerArgs)
tfjs-layers/src/exports_layers.ts:849
↓ 1 callers
Function
downcaseFirstChar
(str: string)
tfjs-core/scripts/touch_modular_op_files.ts:83
↓ 1 callers
Method
downloadByteEncodedFloatMatrixFromOutputTexture
( texture: WebGLTexture, rows: number, columns: number)
tfjs-backend-webgl/src/gpgpu_context.ts:252
↓ 1 callers
Function
downloadLibtensorflow
* Downloads libtensorflow and notifies via a callback when unpacked.
tfjs-node/scripts/install.js:138
↓ 1 callers
Function
downloadTextureData
( gl: WebGL2RenderingContext, texture: WebGLTexture, dims: Dimensions)
tfjs-react-native/src/camera/camera_webgl_util.ts:59
↓ 1 callers
Function
drawBenchmarkParameterTable
(tabId)
e2e/benchmarks/browserstack-benchmark/index.js:626
↓ 1 callers
Function
drawBenchmarkResultSummaryTable
(benchmarkResult)
e2e/benchmarks/browserstack-benchmark/index.js:522
↓ 1 callers
Function
drawBoxes
(predictions)
tfjs-automl/demo/object_detection/index.js:41
↓ 1 callers
Function
drawBrowserSettingTable
(tabId, browserConf)
e2e/benchmarks/browserstack-benchmark/index.js:609
↓ 1 callers
Function
drawInferenceTimeLineChart
(benchmarkResult)
e2e/benchmarks/browserstack-benchmark/index.js:560
↓ 1 callers
Function
drawTable
(webgpu_kernels, webgl_kernels, rowNum)
tfjs-backend-webgpu/perf/tune.js:216
↓ 1 callers
Function
drawTexture
( gl: WebGL2RenderingContext, texture: WebGLTexture, dims: {width: number, height: number}, flipHorizo
tfjs-react-native/src/camera/camera_webgl_util.ts:151
↓ 1 callers
Function
drawUntunableBrowserSummaryTable
* Create a untunable browser list table, including tab ids. The tab id will be * used in the following charts under this summary tab. * * This tabl
e2e/benchmarks/browserstack-benchmark/index.js:339
↓ 1 callers
Function
eitherStridesOrDilationsAreOne
( strides: number|number[], dilations: number|number[])
tfjs-core/src/ops/conv_util.ts:571
↓ 1 callers
Function
elu
(x: Tensor, alpha = 1)
tfjs-layers/src/backend/tfjs_backend.ts:651
↓ 1 callers
Function
enclosingPowerOfTwo
(value: number)
tfjs-core/src/ops/signal_ops_util.ts:21
↓ 1 callers
Function
endFirebaseInstance
* Deletes the Firebase instance, which allows the Node.js process to finish.
e2e/benchmarks/browserstack-benchmark/firestore.js:46
↓ 1 callers
Method
endTape
()
tfjs-core/src/engine.ts:1046
↓ 1 callers
Method
endTimer
(query: WebGLQuery|CPUTimerQuery)
tfjs-backend-webgl/src/backend_webgl.ts:623
↓ 1 callers
Function
evaluateDataset
( // Type `model` as `any` here to avoid circular dependency w/ // training.ts. // tslint:disable-
tfjs-layers/src/engine/training_dataset.ts:533
↓ 1 callers
Method
evaluateDataset
* Evaluate model using a dataset object. * * Note: Unlike `evaluate()`, this method is asynchronous (`async`). * * @param dataset A datase
tfjs-layers/src/models.ts:750
↓ 1 callers
Method
execute
* Executes inference for the model for given input tensors. * @param inputs tensor, tensor array or tensor map of the inputs for the * model, ke
tfjs-converter/src/executor/graph_model.ts:507
↓ 1 callers
Method
executeInitializerGraph
()
tfjs-converter/src/executor/graph_model.ts:453
↓ 1 callers
Method
executeInitializerGraphAsync
()
tfjs-converter/src/executor/graph_model.ts:465
↓ 1 callers
Method
executeProgram
()
tfjs-backend-webgl/src/gpgpu_context.ts:453
↓ 1 callers
Function
executeTests
( testName: string, tests: (env: TestEnv) => void, testEnv: TestEnv)
tfjs-core/src/jasmine_util.ts:258
↓ 1 callers
Method
executeWithControlFlow
* When there are control flow nodes in the graph, the graph execution use * ExecutionContext to keep track of the frames and loop iterators. * @
tfjs-converter/src/executor/graph_executor.ts:540
↓ 1 callers
Function
expectArraysClose
(actual, expected, epsilon, key)
e2e/benchmarks/local-benchmark/util.js:167
↓ 1 callers
Function
expectArraysPredicateFuzzy
(actual, expected, predicate, errorRate)
e2e/benchmarks/local-benchmark/util.js:134
↓ 1 callers
Function
expectObjectsClose
(actual, expected, epsilon = -1)
e2e/benchmarks/local-benchmark/util.js:126
↓ 1 callers
Function
expectObjectsPredicate
(actual, expected, epsilon, predicate)
e2e/benchmarks/local-benchmark/util.js:98
↓ 1 callers
Function
exportBidirectionalLSTMModel
(exportPath)
e2e/integration_tests/create_save_predict.js:164
↓ 1 callers
Function
exportCNNModel
(exportPath)
e2e/integration_tests/create_save_predict.js:91
↓ 1 callers
Function
exportDepthwiseCNNModel
(exportPath)
e2e/integration_tests/create_save_predict.js:122
↓ 1 callers
Function
exportFunctionalMergeModel
(exportPath)
e2e/integration_tests/create_save_predict.js:203
↓ 1 callers
Function
exportGRUModel
(exportPath)
e2e/integration_tests/create_save_predict.js:154
↓ 1 callers
Function
exportMLPModel
(exportPath)
e2e/integration_tests/create_save_predict.js:76
↓ 1 callers
Function
exportOneDimensionalModel
(exportPath)
e2e/integration_tests/create_save_predict.js:189
↓ 1 callers
Function
exportSimpleRNNModel
(exportPath)
e2e/integration_tests/create_save_predict.js:144
↓ 1 callers
Function
exportTimeDistributedLSTMModel
(exportPath)
e2e/integration_tests/create_save_predict.js:176
↓ 1 callers
Function
fakeResponse
(body: string|TypedArrays|ArrayBuffer, contentType: string, path: string)
tfjs-core/src/io/http_test.ts:66
↓ 1 callers
Function
falseNegatives
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/metrics.ts:46
↓ 1 callers
Function
falsePositives
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/metrics.ts:54
↓ 1 callers
Function
fetchAndUnzipTfjsDebuggerBundle
(version)
scripts/start_local_debugger_server.js:63
↓ 1 callers
Function
fftImpl
( input: TensorInfo, inverse: boolean, cpuBackend: MathBackendCPU)
tfjs-backend-cpu/src/utils/fft_utils.ts:97
↓ 1 callers
Function
fftRadix2
( realVals: Float32Array, imagVals: Float32Array, size: number, inverse: boolean, cpuBackend: Math
tfjs-backend-cpu/src/utils/fft_utils.ts:170
↓ 1 callers
Function
fill
(args: {attrs: FillAttrs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/Fill.ts:23
↓ 1 callers
Function
fillValues
( values: DataValues, value: string|number, dtype: DataType)
tfjs-backend-cpu/src/kernels/Fill.ts:40
↓ 1 callers
Function
filterAsync
* Filter a list with an async filter function
scripts/release-util.ts:518
↓ 1 callers
Function
filterPackages
(filter: (pkg: string) => Promise<boolean>, releaseUnits = RELEASE_UNITS)
scripts/release-util.ts:538
↓ 1 callers
Function
filterPredefinedReachableNodes
* This is a helper function of `getNodesInTopologicalOrder`. * Returns ordered nodes reachable by at least one predefined node. * This can help us f
tfjs-converter/src/executor/model_analysis.ts:183
← previous
next →
2,101–2,200 of 6,022, ranked by callers