MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 3 callersFunctionnearestDivisor
(size: number, start: number)
tfjs-core/src/util_base.ts:556
↓ 3 callersFunctionnextFrame
()
tfjs-vis/src/render/render_utils.ts:55
↓ 3 callersFunctionnextFrame
* Returns a promise that resolves when a requestAnimationFrame has completed. * * On Node.js this uses setImmediate instead of requestAnimationFrame
tfjs-core/src/browser_util.ts:37
↓ 3 callersMethodnextIteration
* Enter the next iteration of a loop, the iteration id of last context is * increased.
tfjs-converter/src/executor/execution_context.ts:143
↓ 3 callersMethodnextTensorId
()
tfjs-core/src/engine.ts:490
↓ 3 callersFunctionnmsParams
( node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext)
tfjs-converter/src/operations/executors/dynamic_executor.ts:29
↓ 3 callersFunctionnonMaxSuppressionImpl_
( boxes: TypedArray, scores: TypedArray, maxOutputSize: number, iouThreshold: number, scoreThreshold:
tfjs-core/src/backends/non_max_suppression_impl.ts:64
↓ 3 callersFunctionnonMaxSuppressionV3Impl
( boxes: TypedArray, scores: TypedArray, maxOutputSize: number, iouThreshold: number, scoreThreshold:
tfjs-core/src/backends/non_max_suppression_impl.ts:36
↓ 3 callersFunctionnonMaxSuppressionV4Impl
( boxes: TypedArray, scores: TypedArray, maxOutputSize: number, iouThreshold: number, scoreThreshold:
tfjs-core/src/backends/non_max_suppression_impl.ts:44
↓ 3 callersFunctionnonMaxSuppressionV5Impl
( boxes: TypedArray, scores: TypedArray, maxOutputSize: number, iouThreshold: number, scoreThreshold:
tfjs-core/src/backends/non_max_suppression_impl.ts:55
↓ 3 callersFunctionnormalizeFeatures
(row: number[][], featureStats: DatasetStatistics)
tfjs-data/demo/boston-housing/index.ts:79
↓ 3 callersMethodonTrainEnd
(logs?: Logs)
tfjs-layers/src/callbacks.ts:188
↓ 3 callersFunctiononeHot
( args: {inputs: OneHotInputs, backend: MathBackendCPU, attrs: OneHotAttrs})
tfjs-backend-cpu/src/kernels/OneHot.ts:23
↓ 3 callersFunctionoptimize_graph
Takes a Python Graph object and optimizes the graph. Args: graph: The frozen graph to optimize. skip_op_check: Bool whether to skip the op
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:132
↓ 3 callersFunctionparse3TupleParam
(param: number|[number, number, number])
tfjs-core/src/ops/conv_util.ts:405
↓ 3 callersFunctionparseDtypeParam
(value: string|tensorflow.DataType)
tfjs-converter/src/operations/operation_mapper.ts:482
↓ 3 callersFunctionparseResultStruct
( backend: BackendWasm, resOffset: number)
tfjs-backend-wasm/src/kernels/NonMaxSuppression_util.ts:31
↓ 3 callersMethodpoolingFunction
( inputs: Tensor, poolSize: [number, number], strides: [number, number], padding: PaddingMode, dat
tfjs-layers/src/layers/pooling.ts:247
↓ 3 callersFunctionprelu
(args?: PReLULayerArgs)
tfjs-layers/src/exports_layers.ts:172
↓ 3 callersFunctionprepData
()
tfjs-layers/src/engine/training_test.ts:2725
↓ 3 callersFunctionprepModel
()
tfjs-layers/src/engine/training_test.ts:2718
↓ 3 callersMethodprepareDataset
* Prepare dataset from provided url.
tfjs-data/demo/boston-housing/data.ts:64
↓ 3 callersFunctionprepareReleaseBuild
(phase: Phase, packageName: string)
scripts/release-util.ts:389
↓ 3 callersFunctionpreprocessConv2DInput
( x: Tensor, dataFormat: DataFormat)
tfjs-layers/src/layers/convolutional.ts:40
↓ 3 callersMethodprocessChildNodes
( node: Node, stack: NodeWithContexts[], context: ExecutionContext, tensorMap: NamedTensorsMap, ad
tfjs-converter/src/executor/graph_executor.ts:668
↓ 3 callersFunctionpublish
(pkg: string, registry: string, otp?: string, build = true)
scripts/publish-npm.ts:130
↓ 3 callersMethodreadMany
* Helper method to read multiple tensors from the specified indices.
tfjs-converter/src/executor/tensor_array.ts:103
↓ 3 callersFunctionreadSavedModelProto
(path: string)
tfjs-node/src/saved_model.ts:64
↓ 3 callersMethodreadSync
(dataId: DataId)
tfjs-backend-cpu/src/backend_cpu.ts:132
↓ 3 callersMethodrefill
* Refill the prefetch buffer. Returns only after the buffer is full, or * the upstream source is exhausted.
tfjs-data/src/iterators/lazy_iterator.ts:1116
↓ 3 callersFunctionreserve
( elementShape: number[], elementDtype: DataType, numElements: number, maxNumElements: number)
tfjs-converter/src/executor/tensor_list.ts:345
↓ 3 callersFunctionreshapeBias
* Reshapes bias tensor according to rank of x.
tfjs-layers/src/backend/tfjs_backend.ts:565
↓ 3 callersFunctionretry
(f: () => T, tries = 3, sleep=5_000)
scripts/publish-npm.ts:41
↓ 3 callersMethodscopedRun
(start: () => void, end: () => void, f: () => T)
tfjs-core/src/engine.ts:477
↓ 3 callersFunctionsetAssets
(newAssets: Assets)
tfjs-tfdf/src/register_tfdf_ops.ts:28
↓ 3 callersMethodsetMaxEntries
* Set the MaxEntries of the cache. If the maxEntries is decreased, reduce * entries in the cache.
tfjs-layers/src/utils/executor_utils.ts:63
↓ 3 callersMethodsetOutputPackedMatrixTexture
( outputPackedMatrixTexture: WebGLTexture, rows: number, columns: number)
tfjs-backend-webgl/src/gpgpu_context.ts:425
↓ 3 callersFunctionsetTabStatus
* Set the status for the given tab. The status can be 'WAITING', 'COMPLETE' or * 'ERROR'. * * @param {string} tabId The index element id of the ta
e2e/benchmarks/browserstack-benchmark/index.js:477
↓ 3 callersFunctionsetUpDatabase
(openRequest: IDBRequest)
tfjs-core/src/io/indexed_db.ts:73
↓ 3 callersFunctionsetupFakeWeightFiles
(fileBufferMap: {[filename: string]: Float32Array|Int32Array|ArrayBuffer})
tfjs-layers/src/models_test.ts:547
↓ 3 callersFunctionshiftMix
(val: Long)
tfjs-core/src/hash_util.ts:37
↓ 3 callersFunctionshouldFuse
(gradientDepth: number, activation: Activation)
tfjs-core/src/ops/fused_util.ts:80
↓ 3 callersMethodshuffleExcise
* Removes and returns a specific item in the buffer, and moves the last item * to the vacated slot. This is useful for implementing a shuffling st
tfjs-data/src/util/ring_buffer.ts:167
↓ 3 callersMethodslice
(start = 0, end = this.byteLength)
tfjs-core/src/io/composite_array_buffer.ts:101
↓ 3 callersFunctionsliceAlongLastAxis
( array: Tensor, start: number, size: number)
tfjs-layers/src/backend/tfjs_backend.ts:192
↓ 3 callersFunctionsoftsign
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:669
↓ 3 callersFunctionspaceToBatchND
(args: { inputs: SpaceToBatchNDInputs, backend: MathBackendCPU, attrs: SpaceToBatchNDAttrs })
tfjs-backend-cpu/src/kernels/SpaceToBatchND.ts:27
↓ 3 callersFunctionspatial2dPadding
( x: Tensor, padding?: [[number, number], [number, number]], dataFormat?: DataFormat)
tfjs-layers/src/layers/padding.ts:68
↓ 3 callersFunctionsquareAndAdd
(x: T)
tfjs-backend-webgl/src/webgl_custom_op_test.ts:61
↓ 3 callersMethodstandardizeUserData
( x: Tensor|Tensor[]|{[inputName: string]: Tensor}, y: Tensor|Tensor[]|{[inputName: string]: Tenso
tfjs-layers/src/engine/training.ts:1186
↓ 3 callersFunctionstringArraysHaveSameElements
* Compare if two unsorted arrays of string have the same elements. * @param arrayA * @param arrayB
tfjs-node/src/saved_model.ts:430
↓ 3 callersFunctionstringsEqual
(xs: string[], ys: string[])
tfjs-layers/src/utils/generic_utils.ts:338
↓ 3 callersFunctionsum
( args: {inputs: SumInputs, attrs: SumAttrs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Sum.ts:24
↓ 3 callersFunctionswap
( object: {[index: number]: T}, left: number, right: number)
tfjs-core/src/util_base.ts:99
↓ 3 callersFunctionsymbolicallyComputeStrides
( indicesArr: number[], variableName: string)
tfjs-backend-webgpu/src/shader_util.ts:19
↓ 3 callersMethodtensorDataSync
(tensorId: number)
tfjs-node/src/tfjs_binding.ts:45
↓ 3 callersFunctiontensorId
(x: TensorInfo)
tfjs-backend-wasm/src/kernels/DenseBincount.ts:55
↓ 3 callersFunctiontensorId
(x: TensorInfo)
tfjs-backend-wasm/src/kernels/EluGrad.ts:38
↓ 3 callersFunctiontensorId
(x: TensorInfo)
tfjs-backend-wasm/src/kernels/SearchSorted.ts:58
↓ 3 callersFunctiontensorId
(x: TensorInfo)
tfjs-backend-wasm/src/kernels/Bincount.ts:49
↓ 3 callersFunctiontestCreateTensorFromGPUBuffer
( dtype: tf.DataType, useDefaultShapeAndType = false, zeroCopy = false)
tfjs-backend-webgpu/src/backend_webgpu_test.ts:530
↓ 3 callersFunctiontestEpsilon
()
tfjs-core/src/test_util.ts:36
↓ 3 callersFunctiontoDataUri
(base64: string)
tfjs-react-native/integration_rn59/components/webcam/image_utils.ts:22
↓ 3 callersFunctiontoTypedArray
(a: TensorLike, dtype: DataType)
tfjs-core/src/util.ts:43
↓ 3 callersMethodtoggle
* Toggles the visor (closed vs open). * * @doc {heading: 'Visor & Surfaces', subheading: 'Visor Methods'}
tfjs-vis/src/visor.ts:204
↓ 3 callersMethodtoggleFullScreen
@doc {heading: 'Visor & Surfaces', subheading: 'Visor Methods'}
tfjs-vis/src/visor.ts:209
↓ 3 callersMethodtrackTensor
(a: Tensor, backend: KernelBackend)
tfjs-core/src/engine.ts:872
↓ 3 callersFunctiontupleValuesAreOne
(param: number|number[])
tfjs-core/src/ops/conv_util.ts:566
↓ 3 callersFunctionunique
(nodes: Node[])
tfjs-converter/src/executor/model_analysis.ts:114
↓ 3 callersFunctionwhereImpl
(condShape: number[], condVals: TypedArray)
tfjs-core/src/backends/where_impl.ts:24
↓ 3 callersFunctionwrite_artifacts
Writes weights and topology to the output_dir. If `topology` is Falsy (e.g., `None`), only emit weights to output_dir. Args: topology: tf.Gr
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:267
↓ 3 callersFunctionyarn
(args: string)
scripts/publish-npm.ts:142
↓ 2 callersMethodAddFilters
Adds more filters to the existing list of error-message filters.
tfjs-backend-wasm/tools/cpplint.py:919
↓ 2 callersFunctionFindStartOfExpressionInLine
Find position at the matching start of current expression. This is almost the reverse of FindEndOfExpressionInLine, but note that the input posit
tfjs-backend-wasm/tools/cpplint.py:1641
↓ 2 callersFunctionGetHeaderGuardCPPVariable
Returns the CPP variable that should be used as a header guard. Args: filename: The name of a C++ header file. Returns: The CPP variable
tfjs-backend-wasm/tools/cpplint.py:1809
↓ 2 callersFunctionGetLineWidth
Determines the width of the line in column positions. Args: line: A string, which may be a Unicode string. Returns: The width of the lin
tfjs-backend-wasm/tools/cpplint.py:4279
↓ 2 callersFunctionProcessHppHeadersOption
(val)
tfjs-backend-wasm/tools/cpplint.py:571
↓ 2 callersMethodResetSection
Reset section checking for preprocessor directive. Args: directive: preprocessor directive (e.g. "if", "else").
tfjs-backend-wasm/tools/cpplint.py:751
↓ 2 callersFunctionStripListPrefix
(lst, prefix)
tfjs-backend-wasm/tools/cpplint.py:1842
↓ 2 callersFunction_DropCommonSuffixes
Drops common suffixes like _test.cc or -inl.h from filename. For example: >>> _DropCommonSuffixes('foo/foo-inl.h') 'foo/foo' >>> _DropC
tfjs-backend-wasm/tools/cpplint.py:4439
↓ 2 callersFunction_IsSourceExtension
File extension (excluding dot) matches a source file extension.
tfjs-backend-wasm/tools/cpplint.py:692
↓ 2 callersFunction_SetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
tfjs-backend-wasm/tools/cpplint.py:986
↓ 2 callersFunction_VerboseLevel
Returns the module's verbosity setting.
tfjs-backend-wasm/tools/cpplint.py:981
↓ 2 callersFunction_check_version
Check version compatiility. Args: h5file: An h5file object. Raises: ValueError: if the KerasVersion of the HDF5 file is unsupported.
tfjs-converter/python/tensorflowjs/converters/keras_h5_conversion.py:118
↓ 2 callersFunction_convert_h5_group
Construct a weights group entry. Args: group: The HDF5 group data, possibly nested. Returns: An array of weight groups (see `write_weigh
tfjs-converter/python/tensorflowjs/converters/keras_h5_conversion.py:57
↓ 2 callersFunction_convert_tf_saved_model
Take a SavedModel or KerasModel and convert to Tensorflow.js graph model. Args: output_dir: string The name of the output directory. The direct
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:699
↓ 2 callersMethod_create_saved_model_v1
Create a TensorFlow SavedModel for testing.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:57
↓ 2 callersMethod_create_saved_model_with_control_flow
Test a basic model with control flow to inlined.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:274
↓ 2 callersMethod_create_saved_model_with_structured_outputs
(self)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:345
↓ 2 callersMethod_create_unsupported_saved_model
(self)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:306
↓ 2 callersFunction_deserialize_keras_model
Internal helper method for deserializing a Keras Model. Args: model_topology_json: content of the JSON containing model topology, in Kera
tfjs-converter/python/tensorflowjs/converters/keras_tfjs_loader.py:39
↓ 2 callersMethod_executeAsync
* Executes the inference for given input tensors in Async fashion. * @param inputs Tensor map for the model inputs, keyed by the input node * na
tfjs-converter/src/executor/graph_executor.ts:458
↓ 2 callersFunction_find_signature_def_name
(tensor, signature_map)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:474
↓ 2 callersFunction_freeze_saved_model_v2
(concrete_func, control_flow_v2=False)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:465
↓ 2 callersFunction_get_frozen_graph_ops
(frozen_graph)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:406
↓ 2 callersFunction_is_supported_activation
(node)
tfjs-converter/python/tensorflowjs/converters/fuse_depthwise_conv2d.py:26
↓ 2 callersFunction_run_grappler
(config, graph_def, graph, signature_def)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:123
↓ 2 callersFunctionaddDepsFrom
(record?: Record<string, string>)
link-package/build_deps.ts:130
↓ 2 callersFunctionaddGpuInfo
* Append GPU info to device name. * * @param result Individual result in a list of fulfilled promises
e2e/benchmarks/browserstack-benchmark/firestore.js:107
↓ 2 callersFunctionaddOpsToResults
(kernel: string)
tfjs/tools/custom_module/model_parser.ts:49
← previousnext →1,201–1,300 of 6,022, ranked by callers