MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 3 callersMethoddecode
(dataId: DataId, customTexShape?: [number, number])
tfjs-backend-webgl/src/backend_webgl.ts:843
↓ 3 callersMethoddecodePng
(contents: Uint8Array, channels: number)
tfjs-node/src/nodejs_kernel_backend.ts:366
↓ 3 callersFunctiondeepMapInternal
* @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 callersMethoddeleteProgram
(program: GPGPUContextProgram)
tfjs-backend-webgl/src/gpgpu_context.ts:362
↓ 3 callersFunctiondepthwiseConv2d
( x: Tensor, depthwiseKernel: Tensor, strides: [number, number] = [1, 1], padding = 'valid', dataForma
tfjs-layers/src/layers/convolutional_depthwise.ts:45
↓ 3 callersFunctiondeserializeActivation
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/activations.ts:312
↓ 3 callersFunctiondeserializeConstraint
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/constraints.ts:239
↓ 3 callersFunctiondeserializeRegularizer
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/regularizers.ts:124
↓ 3 callersFunctiondetectGLCapabilities
(gl: WebGL2RenderingContext)
tfjs-react-native/src/camera/camera.ts:54
↓ 3 callersFunctiondetect_saved_model
(input_path)
tfjs-converter/python/tensorflowjs/converters/wizard.py:80
↓ 3 callersMethoddetokenize
(inputs: Tensor[])
tfjs-layers/src/layers/nlp/tokenizers_test.ts:36
↓ 3 callersFunctiondispatch_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 callersMethoddisposeData
* 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 callersFunctiondisposeTensorsInLogs
(logs: UnresolvedLogs)
tfjs-layers/src/logs.ts:59
↓ 3 callersMethoddisposeVariables
()
tfjs-core/src/engine.ts:945
↓ 3 callersFunctiondownloadValuesFromTensorContainer
* 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 callersFunctionencodeStrings
(a: string[])
tfjs-core/src/util_test.ts:210
↓ 3 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/arithmetic_executor.ts:29
↓ 3 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/ragged_executor.ts:29
↓ 3 callersMethodexitFrame
* Exit the current frame, the last context is removed from the current * context list.
tfjs-converter/src/executor/execution_context.ts:129
↓ 3 callersFunctionexpandDims
(args: { inputs: ExpandDimsInputs, backend: MathBackendCPU, attrs: ExpandDimsAttrs })
tfjs-backend-cpu/src/kernels/ExpandDims.ts:23
↓ 3 callersFunctionexpandShapeToKeepDim
( shape: number[], axes: number[])
tfjs-core/src/ops/axis_util.ts:62
↓ 3 callersFunctionexpectArrayBuffersEqual
( actual: ArrayBuffer, expected: ArrayBuffer)
tfjs-core/src/test_util.ts:159
↓ 3 callersFunctionexpectArraysPredicate
( actual: TensorLike, expected: TensorLike, predicate: (a: {}, b: {}) => boolean)
tfjs-core/src/test_util.ts:41
↓ 3 callersFunctionexpectTensorToEqualGolden
( tensor: tfc.Tensor, golden: TensorDetail)
e2e/integration_tests/graph_model_golden_tests.ts:117
↓ 3 callersFunctionexpectTensorsToEqualGoldens
( tensors: tfc.Tensor|tfc.Tensor[]|tfc.NamedTensorMap, goldens: TensorDetail|TensorDetail[]|Record<str
e2e/integration_tests/graph_model_golden_tests.ts:129
↓ 3 callersFunctionextract_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 callersFunctionextract_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 callersFunctionfetch
( path: string, init?: RequestInit, options?: tf.io.RequestDetails )
tfjs-react-native/src/platform_react_native.ts:73
↓ 3 callersFunctionfindDeps
(packages: Iterable<string>)
scripts/graph_utils.ts:133
↓ 3 callersFunctionformatShape
(shape: number[])
tfjs-vis/src/show/model.ts:193
↓ 3 callersMethodfromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:842
↓ 3 callersFunctiongenerateCloudbuild
(packages: Iterable<string>, nightly = false, print = true)
scripts/generate_cloudbuild.ts:64
↓ 3 callersMethodget
(flagName: string)
tfjs-core/src/environment.ts:96
↓ 3 callersFunctiongetBinaryOpString
( type: BinaryOpType, useVec4?: boolean)
tfjs-backend-webgpu/src/binary_op_util.ts:165
↓ 3 callersFunctiongetBoolArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: boolean[])
tfjs-converter/src/operations/operation_mapper.ts:602
↓ 3 callersFunctiongetBoolParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: boolean)
tfjs-converter/src/operations/operation_mapper.ts:466
↓ 3 callersFunctiongetCartesianProductOfValues
(...arrayOfValues: PossibleValues)
tfjs-layers/src/utils/generic_utils.ts:541
↓ 3 callersMethodgetConfig
()
tfjs-layers/src/layers/wrappers.ts:561
↓ 3 callersMethodgetConfig
()
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_backbone.ts:202
↓ 3 callersFunctiongetCustomConverterOpsModule
( ops: string[], moduleProvider: ImportProvider)
tfjs/tools/custom_module/custom_module.ts:77
↓ 3 callersFunctiongetDefaultNumThreads
()
tfjs-tflite/src/tflite_task_library_client/common.ts:74
↓ 3 callersMethodgetDisplayName
()
tfjs-tflite/src/types/common.ts:29
↓ 3 callersFunctiongetDtypeArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: DataType[])
tfjs-converter/src/operations/operation_mapper.ts:532
↓ 3 callersFunctiongetDtypeParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: DataType)
tfjs-converter/src/operations/operation_mapper.ts:522
↓ 3 callersFunctiongetFusedBiasGradient
( bias: Tensor, dyActivation: Tensor)
tfjs-core/src/ops/fused_util.ts:47
↓ 3 callersFunctiongetFusedDyActivation
( dy: Tensor, y: Tensor, activation: Activation)
tfjs-core/src/ops/fused_util.ts:34
↓ 3 callersFunctiongetGlobal
(key: string, init: () => T)
tfjs-core/src/global_util.ts:60
↓ 3 callersMethodgetHeight
()
tfjs-tflite/src/types/object_detector.ts:50
↓ 3 callersFunctiongetIndexedDBFactory
()
tfjs-core/src/io/indexed_db.ts:52
↓ 3 callersMethodgetInitialState
(inputs: Tensor)
tfjs-layers/src/layers/recurrent.ts:770
↓ 3 callersMethodgetInstance
()
tfjs-core/src/io/model_management.ts:46
↓ 3 callersFunctiongetNumberParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number)
tfjs-converter/src/operations/operation_mapper.ts:473
↓ 3 callersFunctiongetNumericArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number[])
tfjs-converter/src/operations/operation_mapper.ts:565
↓ 3 callersFunctiongetOneBenchmarkResult
* 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 callersFunctiongetOps
( // tslint:disable-next-line: no-any modelJson: io.ModelArtifacts, kernelToOp: any)
tfjs/tools/custom_module/model_parser.ts:44
↓ 3 callersFunctiongetPackages
(releaseUnits: ReleaseUnit[])
scripts/release-util.ts:529
↓ 3 callersMethodgetProfilingResults
* 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 callersMethodgetQueryTimerExtensionWebGL2
()
tfjs-backend-webgl/src/gpgpu_context.ts:490
↓ 3 callersFunctiongetRowHTML
(row: Element)
tfjs-vis/src/render/table_test.ts:20
↓ 3 callersMethodgetRowPartitionTypeByDimension
(dimension: number)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:39
↓ 3 callersMethodgetSampleRate
()
tfjs-data/src/iterators/microphone_iterator.ts:216
↓ 3 callersFunctiongetStringArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: string[], keepCase = false)
tfjs-converter/src/operations/operation_mapper.ts:578
↓ 3 callersFunctiongetStringParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: string, keepCase = false)
tfjs-converter/src/operations/operation_mapper.ts:456
↓ 3 callersFunctiongetTensorShapeArrayParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: number[][])
tfjs-converter/src/operations/operation_mapper.ts:590
↓ 3 callersFunctiongetTensorShapeParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def?: number[])
tfjs-converter/src/operations/operation_mapper.ts:555
↓ 3 callersMethodgetTracks
()
tfjs-data/src/util/test_utils.ts:122
↓ 3 callersMethodgetUserDefinedMetadata
* 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 callersMethodgetWidth
()
tfjs-tflite/src/types/object_detector.ts:53
↓ 3 callersFunctiongpt2KernelInitializer
(stddev = 0.02)
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_backbone.ts:37
↓ 3 callersFunctionhardSigmoid
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:697
↓ 3 callersFunctionidentity
(args: {inputs: IdentityInputs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/Identity.ts:23
↓ 3 callersFunctionifft
(args: {inputs: IFFTInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/IFFT.ts:24
↓ 3 callersFunctionimag
(args: {inputs: ImagInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Imag.ts:23
↓ 3 callersFunctionimag
(args: {inputs: ImagInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Imag.ts:23
↓ 3 callersFunctioninclusiveRange
(start: number, end: number)
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:26
↓ 3 callersFunctionindexedDBRouter
(url: string|string[])
tfjs-core/src/io/indexed_db.ts:230
↓ 3 callersFunctioninferDtype
(values: TensorLike|WebGLData|WebGPUData)
tfjs-core/src/util_base.ts:532
↓ 3 callersFunctioninit
()
tfjs-backend-wasm/src/backend_wasm.ts:295
↓ 3 callersFunctionisArrayOfShapes
(x: Shape|Shape[])
tfjs-layers/src/utils/types_utils.ts:21
↓ 3 callersMethodisFull
* 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 callersMethodisIntel
()
tfjs-backend-webgpu/src/adapter_info.ts:42
↓ 3 callersFunctionisPromise
(object: any)
tfjs-core/src/util_base.ts:739
↓ 3 callersFunctionisRegisteredKernelInvocation
( kernelInvocation: RegisteredKernelInvocation<I>| CustomGradKernelInvocation<T, I>)
tfjs-core/src/engine.ts:104
↓ 3 callersMethodisTapeOn
()
tfjs-core/src/engine.ts:1000
↓ 3 callersMethodisUnknown
(dim: number)
tfjs-layers/src/layers/core.ts:470
↓ 3 callersFunctioniteratorFromConcatenated
( baseIterators: LazyIterator<LazyIterator<T>>, baseErrorHandler?: (e: Error) => boolean)
tfjs-data/src/iterators/lazy_iterator.ts:83
↓ 3 callersFunctionkillVerdaccio
()
scripts/release-util.ts:660
↓ 3 callersFunctionloadModelGolden
(goldenFilename: string)
e2e/integration_tests/graph_model_golden_tests.ts:104
↓ 3 callersFunctionlocalStorageRouter
(url: string|string[])
tfjs-core/src/io/local_storage.ts:309
↓ 3 callersMethodlog
()
tfjs-backend-webgl/src/texture_manager.ts:132
↓ 3 callersFunctionmakeKey
(kernelName: string, backendName: string)
tfjs-core/src/kernel_registry.ts:206
↓ 3 callersFunctionmakeReleaseDir
(dir: string)
scripts/release-util.ts:283
↓ 3 callersMethodmakeTensorFromDataId
* 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 callersMethodmakeTestFunction
* 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 callersMethodmakeTrainFunction
* 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 callersFunctionmatMulReadWriteFnSource
( hasBias: boolean, activation: backend_util.Activation, transposeA: boolean, transposeB: boolean, fit
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:66
↓ 3 callersFunctionmergeElementShape
( elementShapeA: number|number[], elementShapeB: number|number[])
tfjs-converter/src/executor/tensor_utils.ts:87
↓ 3 callersMethodmergeFunction
(inputs: Tensor[])
tfjs-layers/src/layers/merge.ts:269
↓ 3 callersMethodnames
* Get all the SymbolicTensor available in this FeedDict.
tfjs-layers/src/engine/executor.ts:128
← previousnext →1,101–1,200 of 6,022, ranked by callers