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
↓ 3 callers
Method
decode
(dataId: DataId, customTexShape?: [number, number])
tfjs-backend-webgl/src/backend_webgl.ts:843
↓ 3 callers
Method
decodePng
(contents: Uint8Array, channels: number)
tfjs-node/src/nodejs_kernel_backend.ts:366
↓ 3 callers
Function
deepMapInternal
* @param seen: A Map of known object mappings (i.e., memoized results of * `mapFn()`) * @param containedIn: An set containing objects on the refer
tfjs-data/src/util/deep_map.ts:62
↓ 3 callers
Method
deleteProgram
(program: GPGPUContextProgram)
tfjs-backend-webgl/src/gpgpu_context.ts:362
↓ 3 callers
Function
depthwiseConv2d
( x: Tensor, depthwiseKernel: Tensor, strides: [number, number] = [1, 1], padding = 'valid', dataForma
tfjs-layers/src/layers/convolutional_depthwise.ts:45
↓ 3 callers
Function
deserializeActivation
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/activations.ts:312
↓ 3 callers
Function
deserializeConstraint
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/constraints.ts:239
↓ 3 callers
Function
deserializeRegularizer
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/regularizers.ts:124
↓ 3 callers
Function
detectGLCapabilities
(gl: WebGL2RenderingContext)
tfjs-react-native/src/camera/camera.ts:54
↓ 3 callers
Function
detect_saved_model
(input_path)
tfjs-converter/python/tensorflowjs/converters/wizard.py:80
↓ 3 callers
Method
detokenize
(inputs: Tensor[])
tfjs-layers/src/layers/nlp/tokenizers_test.ts:36
↓ 3 callers
Function
dispatch_keras_h5_to_tfjs_layers_model_conversion
Converts a Keras HDF5 saved-model file to TensorFlow.js format. Auto-detects saved_model versus weights-only and generates the correct json in ei
tfjs-converter/python/tensorflowjs/converters/converter.py:42
↓ 3 callers
Method
disposeData
* Decrease the RefCount on the dataId and dispose the memory if the dataId * has 0 refCount. If there are pending read on the data, the disposal wo
tfjs-backend-webgl/src/backend_webgl.ts:652
↓ 3 callers
Function
disposeTensorsInLogs
(logs: UnresolvedLogs)
tfjs-layers/src/logs.ts:59
↓ 3 callers
Method
disposeVariables
()
tfjs-core/src/engine.ts:945
↓ 3 callers
Function
downloadValuesFromTensorContainer
* Downloads the values from the `tensorContainer` from any `tf.Tensor`s found * within the `tensorContainer`. Returns a promise of `TypedArray` or *
e2e/benchmarks/benchmark_util.js:354
↓ 3 callers
Function
encodeStrings
(a: string[])
tfjs-core/src/util_test.ts:210
↓ 3 callers
Function
executeOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/arithmetic_executor.ts:29
↓ 3 callers
Function
executeOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/ragged_executor.ts:29
↓ 3 callers
Method
exitFrame
* Exit the current frame, the last context is removed from the current * context list.
tfjs-converter/src/executor/execution_context.ts:129
↓ 3 callers
Function
expandDims
(args: { inputs: ExpandDimsInputs, backend: MathBackendCPU, attrs: ExpandDimsAttrs })
tfjs-backend-cpu/src/kernels/ExpandDims.ts:23
↓ 3 callers
Function
expandShapeToKeepDim
( shape: number[], axes: number[])
tfjs-core/src/ops/axis_util.ts:62
↓ 3 callers
Function
expectArrayBuffersEqual
( actual: ArrayBuffer, expected: ArrayBuffer)
tfjs-core/src/test_util.ts:159
↓ 3 callers
Function
expectArraysPredicate
( actual: TensorLike, expected: TensorLike, predicate: (a: {}, b: {}) => boolean)
tfjs-core/src/test_util.ts:41
↓ 3 callers
Function
expectTensorToEqualGolden
( tensor: tfc.Tensor, golden: TensorDetail)
e2e/integration_tests/graph_model_golden_tests.ts:117
↓ 3 callers
Function
expectTensorsToEqualGoldens
( tensors: tfc.Tensor|tfc.Tensor[]|tfc.NamedTensorMap, goldens: TensorDetail|TensorDetail[]|Record<str
e2e/integration_tests/graph_model_golden_tests.ts:129
↓ 3 callers
Function
extract_const_nodes
Takes a list of nodes and extract the weights. Return weight manifest object. Args: nodes: list of tf.NodeDef TensorFlow NodeDef proto object
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:213
↓ 3 callers
Function
extract_weights
Takes a Python GraphDef object and extract the weights. Args: graph_def: tf.GraphDef TensorFlow GraphDef proto object, which represents t
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:243
↓ 3 callers
Function
fetch
( path: string, init?: RequestInit, options?: tf.io.RequestDetails )
tfjs-react-native/src/platform_react_native.ts:73
↓ 3 callers
Function
findDeps
(packages: Iterable<string>)
scripts/graph_utils.ts:133
↓ 3 callers
Function
formatShape
(shape: number[])
tfjs-vis/src/show/model.ts:193
↓ 3 callers
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:842
↓ 3 callers
Function
generateCloudbuild
(packages: Iterable<string>, nightly = false, print = true)
scripts/generate_cloudbuild.ts:64
↓ 3 callers
Method
get
(flagName: string)
tfjs-core/src/environment.ts:96
↓ 3 callers
Function
getBinaryOpString
( type: BinaryOpType, useVec4?: boolean)
tfjs-backend-webgpu/src/binary_op_util.ts:165
↓ 3 callers
Function
getBoolArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: boolean[])
tfjs-converter/src/operations/operation_mapper.ts:602
↓ 3 callers
Function
getBoolParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: boolean)
tfjs-converter/src/operations/operation_mapper.ts:466
↓ 3 callers
Function
getCartesianProductOfValues
(...arrayOfValues: PossibleValues)
tfjs-layers/src/utils/generic_utils.ts:541
↓ 3 callers
Method
getConfig
()
tfjs-layers/src/layers/wrappers.ts:561
↓ 3 callers
Method
getConfig
()
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_backbone.ts:202
↓ 3 callers
Function
getCustomConverterOpsModule
( ops: string[], moduleProvider: ImportProvider)
tfjs/tools/custom_module/custom_module.ts:77
↓ 3 callers
Function
getDefaultNumThreads
()
tfjs-tflite/src/tflite_task_library_client/common.ts:74
↓ 3 callers
Method
getDisplayName
()
tfjs-tflite/src/types/common.ts:29
↓ 3 callers
Function
getDtypeArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: DataType[])
tfjs-converter/src/operations/operation_mapper.ts:532
↓ 3 callers
Function
getDtypeParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: DataType)
tfjs-converter/src/operations/operation_mapper.ts:522
↓ 3 callers
Function
getFusedBiasGradient
( bias: Tensor, dyActivation: Tensor)
tfjs-core/src/ops/fused_util.ts:47
↓ 3 callers
Function
getFusedDyActivation
( dy: Tensor, y: Tensor, activation: Activation)
tfjs-core/src/ops/fused_util.ts:34
↓ 3 callers
Function
getGlobal
(key: string, init: () => T)
tfjs-core/src/global_util.ts:60
↓ 3 callers
Method
getHeight
()
tfjs-tflite/src/types/object_detector.ts:50
↓ 3 callers
Function
getIndexedDBFactory
()
tfjs-core/src/io/indexed_db.ts:52
↓ 3 callers
Method
getInitialState
(inputs: Tensor)
tfjs-layers/src/layers/recurrent.ts:770
↓ 3 callers
Method
getInstance
()
tfjs-core/src/io/model_management.ts:46
↓ 3 callers
Function
getNumberParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number)
tfjs-converter/src/operations/operation_mapper.ts:473
↓ 3 callers
Function
getNumericArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number[])
tfjs-converter/src/operations/operation_mapper.ts:565
↓ 3 callers
Function
getOneBenchmarkResult
* Gets the benchmark result of a singular browser-device pairing. * * If benchmarking produces an error, the given browser-device pairing is * retr
e2e/benchmarks/browserstack-benchmark/app.js:242
↓ 3 callers
Function
getOps
( // tslint:disable-next-line: no-any modelJson: io.ModelArtifacts, kernelToOp: any)
tfjs/tools/custom_module/model_parser.ts:44
↓ 3 callers
Function
getPackages
(releaseUnits: ReleaseUnit[])
scripts/release-util.ts:529
↓ 3 callers
Method
getProfilingResults
* Gets per-node profiling results. * * This is only useful when TFLiteWebModelRunnerOptions.enableProfiling is * set to true.
tfjs-tflite/src/types/tflite_web_model_runner.ts:60
↓ 3 callers
Method
getQueryTimerExtensionWebGL2
()
tfjs-backend-webgl/src/gpgpu_context.ts:490
↓ 3 callers
Function
getRowHTML
(row: Element)
tfjs-vis/src/render/table_test.ts:20
↓ 3 callers
Method
getRowPartitionTypeByDimension
(dimension: number)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:39
↓ 3 callers
Method
getSampleRate
()
tfjs-data/src/iterators/microphone_iterator.ts:216
↓ 3 callers
Function
getStringArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: string[], keepCase = false)
tfjs-converter/src/operations/operation_mapper.ts:578
↓ 3 callers
Function
getStringParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: string, keepCase = false)
tfjs-converter/src/operations/operation_mapper.ts:456
↓ 3 callers
Function
getTensorShapeArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number[][])
tfjs-converter/src/operations/operation_mapper.ts:590
↓ 3 callers
Function
getTensorShapeParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def?: number[])
tfjs-converter/src/operations/operation_mapper.ts:555
↓ 3 callers
Method
getTracks
()
tfjs-data/src/util/test_utils.ts:122
↓ 3 callers
Method
getUserDefinedMetadata
* Get user-defined metadata. * * The metadata is supplied via one of the two routes: * 1. By calling `setUserDefinedMetadata()`. * 2.
tfjs-layers/src/engine/training.ts:2192
↓ 3 callers
Method
getWidth
()
tfjs-tflite/src/types/object_detector.ts:53
↓ 3 callers
Function
gpt2KernelInitializer
(stddev = 0.02)
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_backbone.ts:37
↓ 3 callers
Function
hardSigmoid
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:697
↓ 3 callers
Function
identity
(args: {inputs: IdentityInputs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/Identity.ts:23
↓ 3 callers
Function
ifft
(args: {inputs: IFFTInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/IFFT.ts:24
↓ 3 callers
Function
imag
(args: {inputs: ImagInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Imag.ts:23
↓ 3 callers
Function
imag
(args: {inputs: ImagInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Imag.ts:23
↓ 3 callers
Function
inclusiveRange
(start: number, end: number)
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:26
↓ 3 callers
Function
indexedDBRouter
(url: string|string[])
tfjs-core/src/io/indexed_db.ts:230
↓ 3 callers
Function
inferDtype
(values: TensorLike|WebGLData|WebGPUData)
tfjs-core/src/util_base.ts:532
↓ 3 callers
Function
init
()
tfjs-backend-wasm/src/backend_wasm.ts:295
↓ 3 callers
Function
isArrayOfShapes
(x: Shape|Shape[])
tfjs-layers/src/utils/types_utils.ts:21
↓ 3 callers
Method
isFull
* Reports whether the buffer is full. * @returns true if the number of items in the buffer equals its capacity, and * false otherwise.
tfjs-data/src/util/ring_buffer.ts:88
↓ 3 callers
Method
isIntel
()
tfjs-backend-webgpu/src/adapter_info.ts:42
↓ 3 callers
Function
isPromise
(object: any)
tfjs-core/src/util_base.ts:739
↓ 3 callers
Function
isRegisteredKernelInvocation
( kernelInvocation: RegisteredKernelInvocation<I>| CustomGradKernelInvocation<T, I>)
tfjs-core/src/engine.ts:104
↓ 3 callers
Method
isTapeOn
()
tfjs-core/src/engine.ts:1000
↓ 3 callers
Method
isUnknown
(dim: number)
tfjs-layers/src/layers/core.ts:470
↓ 3 callers
Function
iteratorFromConcatenated
( baseIterators: LazyIterator<LazyIterator<T>>, baseErrorHandler?: (e: Error) => boolean)
tfjs-data/src/iterators/lazy_iterator.ts:83
↓ 3 callers
Function
killVerdaccio
()
scripts/release-util.ts:660
↓ 3 callers
Function
loadModelGolden
(goldenFilename: string)
e2e/integration_tests/graph_model_golden_tests.ts:104
↓ 3 callers
Function
localStorageRouter
(url: string|string[])
tfjs-core/src/io/local_storage.ts:309
↓ 3 callers
Method
log
()
tfjs-backend-webgl/src/texture_manager.ts:132
↓ 3 callers
Function
makeKey
(kernelName: string, backendName: string)
tfjs-core/src/kernel_registry.ts:206
↓ 3 callers
Function
makeReleaseDir
(dir: string)
scripts/release-util.ts:283
↓ 3 callers
Method
makeTensorFromDataId
* Internal method used by backends. Makes a new tensor * that is a wrapper around an existing data id. It doesn't create * a new data id, only i
tfjs-core/src/engine.ts:835
↓ 3 callers
Method
makeTestFunction
* Create a function which, when invoked with an array of `tf.Tensor`s as a * batch of inputs, returns the prespecified loss and metrics of the mode
tfjs-layers/src/engine/training.ts:1389
↓ 3 callers
Method
makeTrainFunction
* Creates a function that performs the following actions: * * 1. computes the losses * 2. sums them to get the total loss * 3. call the op
tfjs-layers/src/engine/training.ts:1298
↓ 3 callers
Function
matMulReadWriteFnSource
( hasBias: boolean, activation: backend_util.Activation, transposeA: boolean, transposeB: boolean, fit
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:66
↓ 3 callers
Function
mergeElementShape
( elementShapeA: number|number[], elementShapeB: number|number[])
tfjs-converter/src/executor/tensor_utils.ts:87
↓ 3 callers
Method
mergeFunction
(inputs: Tensor[])
tfjs-layers/src/layers/merge.ts:269
↓ 3 callers
Method
names
* Get all the SymbolicTensor available in this FeedDict.
tfjs-layers/src/engine/executor.ts:128
← previous
next →
1,101–1,200 of 6,022, ranked by callers