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
↓ 2 callers
Function
getModelKeys
(path: string)
tfjs-core/src/io/local_storage.ts:87
↓ 2 callers
Function
getModelPathFromKey
* Get model path from a local-storage key. * * E.g., 'tensorflowjs_models/my/model/1/info' --> 'my/model/1' * * @param key
tfjs-core/src/io/local_storage.ts:111
↓ 2 callers
Function
getNewVersion
( packageName: string, incrementVersion: (version: string) => string, ask = true)
scripts/release-tfjs.ts:71
↓ 2 callers
Function
getNextUniqueTensorId
()
tfjs-layers/src/backend/state.ts:22
↓ 2 callers
Method
getNumNGrams
(length: number, nGramWidth: number)
tfjs-backend-cpu/src/kernels/StringNGrams_impl.ts:53
↓ 2 callers
Function
getOrMakeEngine
()
tfjs-core/src/engine.ts:1289
↓ 2 callers
Function
getOutputScalarCoords
()
tfjs-backend-webgl/src/shader_compiler.ts:409
↓ 2 callers
Method
getOutputs
Gets model outputs.
tfjs-tflite/src/types/tflite_web_model_runner.ts:45
↓ 2 callers
Function
getPackedMatrixTextureShapeWidthHeight
( rows: number, columns: number)
tfjs-backend-webgl/src/tex_util.ts:153
↓ 2 callers
Function
getPackedSamplerFromInInfo
( inInfo: InputInfo, enableShapeUniforms: boolean)
tfjs-backend-webgl/src/shader_compiler.ts:179
↓ 2 callers
Method
getPadWidth
(nGramWidth: number)
tfjs-backend-cpu/src/kernels/StringNGrams_impl.ts:45
↓ 2 callers
Function
getPathToWasmBinary
* Returns the path of the WASM binary. * @param simdSupported whether SIMD is supported * @param threadsSupported whether multithreading is supporte
tfjs-backend-wasm/src/backend_wasm.ts:263
↓ 2 callers
Function
getPhysicalFromLogicalTextureType
( logicalTexType: TextureUsage, isPacked: boolean)
tfjs-backend-webgl/src/texture_manager.ts:269
↓ 2 callers
Function
getPlatformLibtensorflowUri
* Returns the libtensorflow hosted path of the current platform.
tfjs-node/scripts/install.js:88
↓ 2 callers
Function
getPreamble
()
tfjs/tools/custom_module/util.ts:53
↓ 2 callers
Method
getQueryTimerExtension
()
tfjs-backend-webgl/src/gpgpu_context.ts:474
↓ 2 callers
Method
getRowPartitionTensor
(dimension: number)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:48
↓ 2 callers
Method
getSchemes
()
tfjs-core/src/io/model_management.ts:81
↓ 2 callers
Function
getScopedTensorName
(tensorName: string)
tfjs-layers/src/common.ts:73
↓ 2 callers
Method
getSegmentationList
()
tfjs-tflite/src/types/image_segmenter.ts:42
↓ 2 callers
Method
getShapeFromTFLiteTensorInfo
(info: TFLiteWebModelRunnerTensorInfo)
tfjs-tflite/src/tflite_model.ts:300
↓ 2 callers
Function
getSignatureDefEntryFromMetaGraphInfo
( savedModelInfo: MetaGraph[], tags: string[], signature: string)
tfjs-node/src/saved_model.ts:175
↓ 2 callers
Method
getSortedBackends
()
tfjs-core/src/engine.ts:397
↓ 2 callers
Function
getStartHeaderString
( useGlobalIndex: boolean, program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:170
↓ 2 callers
Function
getSwatchBackground
* @license * Copyright 2020 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th
tfjs-backend-webgpu/benchmarks/util.js:18
↓ 2 callers
Function
getSwitchedCoords
(newDim: number[])
tfjs-backend-webgpu/src/transpose_webgpu.ts:68
↓ 2 callers
Function
getTagFromVersion
(version: string)
scripts/release-util.ts:601
↓ 2 callers
Function
getTensorDetail
(tensor: tf.Tensor)
e2e/scripts/build-graph-model-golden-data.ts:47
↓ 2 callers
Function
getTensorDetails
(tensors: tf.Tensor|tf.Tensor[]| tf.NamedTensorMap)
e2e/scripts/build-graph-model-golden-data.ts:56
↓ 2 callers
Method
getTensorFromAudioDataArray
(freqData: Float32Array, shape: number[])
tfjs-data/src/iterators/microphone_iterator.ts:227
↓ 2 callers
Method
getTensorInfos
(firstTensorType: TFLiteDataType = 'int32')
tfjs-tflite/src/tflite_model_test.ts:72
↓ 2 callers
Function
getTensorsForCurrentContext
( name: string, tensorsMap: NamedTensorsMap, context: ExecutionContext)
tfjs-converter/src/operations/executors/utils.ts:97
↓ 2 callers
Function
getTextureConfig
( // tslint:disable-next-line:no-any gl: WebGLRenderingContext, textureHalfFloatExtension?: any)
tfjs-backend-webgl/src/tex_util.ts:183
↓ 2 callers
Function
getTextureKey
( width: number, height: number, format: GPUTextureFormat, usage: GPUTextureUsageFlags)
tfjs-backend-webgpu/src/texture_manager.ts:128
↓ 2 callers
Method
getTextureManager
()
tfjs-backend-webgl/src/backend_webgl.ts:1036
↓ 2 callers
Method
getTopKClasses
(logits, topK)
tfjs-converter/demo/mobilenet/mobilenet.js:60
↓ 2 callers
Function
getUniformLocations
( gpgpu: GPGPUContext, program: GPGPUProgram, webGLProgram: WebGLProgram)
tfjs-backend-webgl/src/gpgpu_math.ts:143
↓ 2 callers
Method
getUniformLocations
()
tfjs-backend-webgl/src/backend_webgl.ts:1278
↓ 2 callers
Method
getUserCode
()
tfjs-backend-webgpu/src/cum_webgpu.ts:53
↓ 2 callers
Function
getValues
( history: HistoryLike, metric: string, metricIndex: number)
tfjs-vis/src/show/history.ts:195
↓ 2 callers
Method
getValuesFromTexture
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:508
↓ 2 callers
Function
getVecChannels
(name: string, rank: number)
tfjs-backend-webgl/src/packing_util.ts:18
↓ 2 callers
Function
getVersion
(packageJsonPath: string)
scripts/release-util.ts:583
↓ 2 callers
Function
getVersions
(pkg: string)
scripts/publish-npm.ts:269
↓ 2 callers
Function
getWeightSpecs
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/io_utils.ts:630
↓ 2 callers
Method
getWeightUrls
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/http.ts:210
↓ 2 callers
Function
get_tfjs_model_type
(model_file)
tfjs-converter/python/tensorflowjs/converters/wizard.py:70
↓ 2 callers
Function
gradForMinAndMax
( dy: T, y: T, xOrig: Tensor, origAxes: number[])
tfjs-core/src/gradients/min_max_grad_util.ts:28
↓ 2 callers
Function
handleClickTrigger
( trigger: HTMLElement, tfliteModel: tflite.TFLiteModel)
tfjs-tflite/demo/src/script.ts:89
↓ 2 callers
Function
http
(path: string, loadOptions?: LoadOptions)
tfjs-core/src/io/http.ts:362
↓ 2 callers
Method
idToToken
* Convert an integer id to a string token.
tfjs-layers/src/layers/nlp/tokenizers.ts:312
↓ 2 callers
Function
identityPoolTest
(pool: typeof tf.avgPool)
tfjs-core/src/ops/identity_pool_test.ts:26
↓ 2 callers
Function
imageToTensor
(img: ImageInput)
tfjs-automl/src/util.ts:21
↓ 2 callers
Function
initPlot
(plot: HistoryPlotData, name: string)
tfjs-vis/src/show/history.ts:180
↓ 2 callers
Function
initVisor
()
e2e/benchmarks/browserstack-benchmark/index.js:359
↓ 2 callers
Method
interpretAxes
(shape1: Shape, shape2: Shape)
tfjs-layers/src/layers/merge.ts:1024
↓ 2 callers
Function
isArrayItemInputOrOutputName
* Test whether a value in an array is the name of a LayersModel or Layer. * @param key The key name that the value is found under. Note that the key
tfjs-layers/src/utils/serialization_utils.ts:31
↓ 2 callers
Function
isDatasetObject
( dataset: [ TensorOrArrayOrMap, TensorOrArrayOrMap ]|[TensorOrArrayOrMap, Tenso
tfjs-layers/src/engine/training_dataset.ts:517
↓ 2 callers
Function
isFlatDispatch
(program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:778
↓ 2 callers
Function
isFlatDispatchLayout
(program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:843
↓ 2 callers
Function
isFloat
(num: number)
tfjs-core/src/browser_util_test.ts:21
↓ 2 callers
Method
isFull
()
tfjs-data/src/util/growing_ring_buffer.ts:31
↓ 2 callers
Function
isHTTPScheme
(url: string)
tfjs-core/src/io/http.ts:264
↓ 2 callers
Function
isInt
(a: number)
tfjs-core/src/util_base.ts:237
↓ 2 callers
Method
isQueryAvailable
(query: WebGLQuery, queryTimerVersion: number)
tfjs-backend-webgl/src/gpgpu_context.ts:558
↓ 2 callers
Function
isReshapeFree
(shape1: number[], shape2: number[])
tfjs-backend-webgl/src/webgl_util.ts:476
↓ 2 callers
Function
isTensorDetail
(x: any)
e2e/integration_tests/graph_model_golden_tests.ts:153
↓ 2 callers
Function
isTensorInList
(tensor: Tensor, tensorList: Tensor[])
tfjs-core/src/tensor_util.ts:38
↓ 2 callers
Function
isTestStep
(id: string)
scripts/generate_cloudbuild.ts:217
↓ 2 callers
Function
isTypedArrayBrowser
(a: unknown)
tfjs-core/src/platforms/is_typed_array_browser.ts:18
↓ 2 callers
Method
isValidTruncated
Returns true if less than 2-standard-deviations from the mean.
tfjs-core/src/ops/rand_util.ts:110
↓ 2 callers
Function
isWebGLData
(values: unknown)
tfjs-core/src/types.ts:205
↓ 2 callers
Function
isWebGLVersionEnabled
(webGLVersion: 1|2)
tfjs-backend-webgl/src/webgl_util.ts:563
↓ 2 callers
Function
isWebGPUData
(values: unknown)
tfjs-core/src/types.ts:209
↓ 2 callers
Function
kernelFunc
({backend})
tfjs-core/src/kernel_registry_test.ts:125
↓ 2 callers
Function
kernelNameToVariableName
(kernelName: string)
tfjs/tools/custom_module/util.ts:26
↓ 2 callers
Function
loadImage
(imagePath)
e2e/benchmarks/model_config.js:551
↓ 2 callers
Function
loadModelByUrlWithState
* Load a graph model or a a model composed of Layer objects and record the * model type (GraphModel or LayersModel) at `state.modelType`, given a URL
e2e/benchmarks/model_config.js:615
↓ 2 callers
Method
loadModelJSON
()
tfjs-core/src/io/http.ts:138
↓ 2 callers
Method
loadWeights
( weightsManifest: tf.io.WeightsManifestConfig, path: string)
tfjs-node/src/io/file_system.ts:184
↓ 2 callers
Function
loadWeightsAsArrayBuffer
( fetchURLs: string[], loadOptions?: LoadOptions)
tfjs-core/src/io/weights_loader.ts:38
↓ 2 callers
Method
loadWithWeightMap
(artifacts: io.ModelArtifacts, weightMap: NamedTensorMap)
tfjs-converter/src/executor/graph_model.ts:194
↓ 2 callers
Function
load_graph
Loads GraphDef. Returns Python Graph object. Args: graph_filename: string File name for the frozen graph.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:70
↓ 2 callers
Method
logKernelProfile
( name: string, result: Tensor, vals: TypedArray, timeMs: number|{error: string}, inputs: NamedTen
tfjs-core/src/profiler.ts:112
↓ 2 callers
Method
logKernelProfile
( name: string, result: Tensor, vals: TypedArray, timeMs: number)
tfjs-core/src/profiler_test.ts:46
↓ 2 callers
Method
logMetrics
(logs: Logs, prefix: string, step: number)
tfjs-node/src/callbacks.ts:277
↓ 2 callers
Function
main
()
e2e/custom_module/universal_sentence_encoder/app.js:21
↓ 2 callers
Function
makeComplexComponentTensorInfo
( complexTensor: TensorInfo, complexPart: TensorInfo)
tfjs-backend-webgpu/src/kernels/ComplexAbs.ts:26
↓ 2 callers
Function
makeComplexComponentTensorInfo
( complexTensor: TensorInfo, complexPart: TensorInfo)
tfjs-backend-webgl/src/kernels/ComplexAbs.ts:26
↓ 2 callers
Function
makeOnesTypedArray
( size: number, dtype: D)
tfjs-core/src/util_base.ts:637
↓ 2 callers
Method
makeOutput
( values: backend_util.BackendValues, shape: number[], dtype: DataType)
tfjs-backend-cpu/src/backend_cpu.ts:163
↓ 2 callers
Function
makeRollupConfig
({ globals = {}, external = [], leave_as_require = [], plugins = [], terser = false, es5 = false,
tools/make_rollup_config.ts:48
↓ 2 callers
Function
makeShape
(shape: number[]|TypedArray, isPartial: boolean)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:450
↓ 2 callers
Function
makeStepId
(id: string, packageName: string)
scripts/generate_cloudbuild.ts:221
↓ 2 callers
Method
makeVariable
( initialValue: Tensor, trainable?: boolean, name?: string, dtype?: DataType)
tfjs-core/src/tensor.ts:180
↓ 2 callers
Function
makeZerosTypedArray
( size: number, dtype: D)
tfjs-core/src/util_base.ts:646
↓ 2 callers
Method
mapArgToTensorInfo
( arg: tensorflow.OpDef.IArgDef, nameMap?: {[key: string]: string})
tfjs-converter/src/operations/operation_mapper.ts:426
↓ 2 callers
Function
mapCoord
( outCoord: number, len: number, mode: 'constant'|'reflect'|'wrap'|'nearest')
tfjs-backend-cpu/src/kernels/Transform.ts:124
↓ 2 callers
Method
mapInputs
(inputs: NamedTensorMap)
tfjs-converter/src/executor/graph_executor.ts:730
↓ 2 callers
Method
mapNode
(node: tensorflow.INodeDef)
tfjs-converter/src/operations/operation_mapper.ts:179
← previous
next →
1,501–1,600 of 6,022, ranked by callers