MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 4 callersFunctioncheckPadOnDimRoundingMode
( opDesc: string, pad: 'valid'|'same'|number|ExplicitPadding, dimRoundingMode?: 'floor'|'round'|'ceil'
tfjs-core/src/ops/conv_util.ts:614
↓ 4 callersFunctioncheckoutReleaseBranch
( releaseBranch: string, git_protocol: string, dir: string)
scripts/release-util.ts:432
↓ 4 callersFunctioncomparePair
(a: Pair, b: Pair)
tfjs-backend-cpu/src/kernels/TopK_impl.ts:27
↓ 4 callersFunctioncomputeDatasetStatistics
( dataset: Dataset<TabularRecord>, sampleSize?: number, shuffleWindowSize?: number)
tfjs-data/src/statistics.ts:106
↓ 4 callersFunctionconcatenateArrayBuffers
(buffers: ArrayBuffer[] | ArrayBuffer)
tfjs-core/src/io/io_utils.ts:464
↓ 4 callersFunctionconfig
({plugins = [], output = {}})
tfjs-automl/rollup.config.mjs:40
↓ 4 callersFunctionconv2d
(args: ConvLayerArgs)
tfjs-layers/src/exports_layers.ts:268
↓ 4 callersFunctionconv2dWithBiasActivation
( x: Tensor, kernel: Tensor, bias: Tensor, strides = [1, 1], padding = 'valid', dataFormat?: DataForma
tfjs-layers/src/layers/convolutional.ts:176
↓ 4 callersMethodconvertAndCacheOnCPU
(dataId: DataId, float32Values?: Float32Array)
tfjs-backend-webgl/src/backend_webgl.ts:1192
↓ 4 callersMethodcopy
* Get a new TensorList containing a copy of the underlying tensor container.
tfjs-converter/src/executor/tensor_list.ts:76
↓ 4 callersFunctioncreateAltsForUnsplittableTokens
( unsplittableTokens: string[])
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:176
↓ 4 callersFunctioncreateLayerAndTensors
()
tfjs-layers/src/layers/wrappers_test.ts:563
↓ 4 callersFunctioncreateModelForTest
()
tfjs-node/src/tensorboard_test.ts:230
↓ 4 callersMethodcreateOutputTensor
(metadata: TensorMetadata)
tfjs-node/src/nodejs_kernel_backend.ts:72
↓ 4 callersFunctioncreatePR
( devBranchName: string, releaseBranch: string, message: string)
scripts/release-util.ts:448
↓ 4 callersMethodcreateReductionOpAttrs
(tensor: TensorInfo, keepDims = false)
tfjs-node/src/nodejs_kernel_backend.ts:154
↓ 4 callersMethoddispose
* Releases the memory used by the weight tensors.
tfjs-converter/src/executor/graph_executor.ts:698
↓ 4 callersMethoddivNoNan
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/div_no_nan.ts:24
↓ 4 callersFunctiondoesNotExistHandler
(name: string)
tfjs-node/src/io/file_system.ts:29
↓ 4 callersMethoddownloadMatrixFromPackedTexture
( texture: WebGLTexture, physicalRows: number, physicalCols: number)
tfjs-backend-webgl/src/gpgpu_context.ts:322
↓ 4 callersFunctionele
(selector: string)
tfjs-tflite/demo/src/script.ts:144
↓ 4 callersMethodencodeJpeg
( imageData: Uint8Array, imageShape: number[], format: ''|'grayscale'|'rgb', quality: number, prog
tfjs-node/src/nodejs_kernel_backend.ts:404
↓ 4 callersMethodencodePng
(imageData: Uint8Array, imageShape: number[], compression: number)
tfjs-node/src/nodejs_kernel_backend.ts:442
↓ 4 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/sparse_executor.ts:29
↓ 4 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/image_executor.ts:29
↓ 4 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/logical_executor.ts:29
↓ 4 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/string_executor.ts:29
↓ 4 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/spectral_executor.ts:29
↓ 4 callersFunctionf
()
tfjs-layers/src/utils/generic_utils_test.ts:263
↓ 4 callersFunctionf2
(...args: Array<{}>)
tfjs-layers/src/utils/generic_utils.ts:492
↓ 4 callersFunctionfill
(args: {backend: MathBackendWebGL, attrs: FillAttrs})
tfjs-backend-webgl/src/kernels/Fill.ts:23
↓ 4 callersFunctionfitCallbacks
( container: Drawable, metrics: string[], opts: FitCallbackOptions = {})
tfjs-vis/src/show/history.ts:254
↓ 4 callersMethodfitDataset
* Trains the model using a dataset object. * * ```js * const xArray = [ * [1, 1, 1, 1, 1, 1, 1, 1, 1], * [1, 1, 1, 1, 1, 1, 1, 1, 1
tfjs-layers/src/models.ts:964
↓ 4 callersFunctionforceHalfFloat
()
tfjs-backend-webgl/src/webgl.ts:35
↓ 4 callersFunctionformatForFirestore
* This functions calls other formatting functions on a benchmark result so that * every Firestore entry is compatable and contains desired informatio
e2e/benchmarks/browserstack-benchmark/firestore.js:80
↓ 4 callersMethodfromConfig
( cls: serialization.SerializableConstructor<T>, config: serialization.ConfigDict )
tfjs-layers/src/layers/nlp/models/task.ts:90
↓ 4 callersFunctiongather
( reference: Tensor, indices: number[]|Tensor1D, axis?: number)
tfjs-layers/src/backend/tfjs_backend.ts:516
↓ 4 callersFunctiongenerateInputFromDef
* Generates a random input for input definition. * * ```js * const input = generateInput(inputDefs); * * console.log(`Generated input: ${Object.v
e2e/benchmarks/benchmark_util.js:80
↓ 4 callersFunctiongetAvgKernelTime
(kernels)
tfjs-backend-webgpu/perf/tune.js:395
↓ 4 callersFunctiongetBatchDim
(shape: number[], dimsToSkip = 2)
tfjs-backend-webgl/src/webgl_util.ts:349
↓ 4 callersFunctiongetBinaryCache
(webGLVersion: number)
tfjs-backend-webgl/src/backend_webgl.ts:78
↓ 4 callersMethodgetBufferData
(buffer: GPUBuffer)
tfjs-backend-webgpu/src/backend_webgpu.ts:338
↓ 4 callersMethodgetCommonKwargsForSublayer
()
tfjs-layers/src/layers/nlp/multihead_attention.ts:531
↓ 4 callersMethodgetConfig
()
tfjs-layers/src/layers/nlp/modeling/position_embedding.ts:103
↓ 4 callersMethodgetConfig
()
tfjs-layers/src/layers/nlp/models/task.ts:84
↓ 4 callersFunctiongetCoordsFromIndexSnippet
(shape: number[], name = '')
tfjs-backend-webgpu/src/webgpu_program.ts:450
↓ 4 callersMethodgetDTypeInteger
(dtype: DataType)
tfjs-node/src/nodejs_kernel_backend.ts:50
↓ 4 callersFunctiongetFileSizeBytes
(filename)
scripts/bundle-size-util.js:18
↓ 4 callersMethodgetInstance
()
tfjs-core/src/io/router_registry.ts:35
↓ 4 callersFunctiongetKernel
( kernelName: string, backendName: string)
tfjs-core/src/kernel_registry.ts:88
↓ 4 callersFunctiongetKernelsForBackend
(backendName: string)
tfjs-core/src/kernel_registry.ts:102
↓ 4 callersMethodgetManager
(scheme: string)
tfjs-core/src/io/model_management.ts:73
↓ 4 callersFunctiongetModelArtifactsInfoForJSON
(modelArtifacts: ModelArtifacts)
tfjs-core/src/io/io_utils.ts:602
↓ 4 callersFunctiongetNodeNameWithContextId
(name: string, contextId?: string)
tfjs-converter/src/operations/executors/utils.ts:121
↓ 4 callersMethodgetNumFreeTextures
()
tfjs-backend-webgpu/src/texture_manager.ts:102
↓ 4 callersMethodgetNumUsedTextures
()
tfjs-backend-webgpu/src/texture_manager.ts:98
↓ 4 callersFunctiongetOutputShape
( outputRank: number, knownLastDims: number[] )
tfjs-layers/src/layers/nlp/multihead_attention.ts:136
↓ 4 callersFunctiongetPadding
( node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext)
tfjs-converter/src/operations/executors/utils.ts:161
↓ 4 callersMethodgetQueryTimerExtensionWebGL1
()
tfjs-backend-webgl/src/gpgpu_context.ts:494
↓ 4 callersFunctiongetReleaseBranch
(name: string)
scripts/release-util.ts:407
↓ 4 callersFunctiongetRowsCols
(shape: number[])
tfjs-backend-webgl/src/webgl_util.ts:353
↓ 4 callersFunctiongetShapeForBatchMatMul
( shape: number[], isChannelsLast: boolean)
tfjs-backend-webgpu/src/kernels/Conv2D_impl.ts:46
↓ 4 callersFunctiongetShapeForBatchMatMul
( shape: number[], isChannelsLast: boolean)
tfjs-backend-webgl/src/kernels/Conv2D_impl.ts:55
↓ 4 callersFunctiongetSourceInputs
( tensor: SymbolicTensor, layer?: Layer, nodeIndex?: number)
tfjs-layers/src/engine/topology.ts:1627
↓ 4 callersFunctiongetTopologicalSortAndRecipientCountsForOneFetch
( fetch: SymbolicTensor, feedDict: FeedDict)
tfjs-layers/src/engine/executor.ts:459
↓ 4 callersFunctionhttpRouter
(url: string, loadOptions?: LoadOptions)
tfjs-core/src/io/http.ts:269
↓ 4 callersMethodinit
()
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:31
↓ 4 callersMethodinitializeBackend
* Initializes a backend by looking up the backend name in the factory * registry and calling the factory method. Returns a boolean representing
tfjs-core/src/engine.ts:319
↓ 4 callersMethodinputConv
(x: Tensor, w: Tensor, b?: Tensor, padding?: PaddingMode)
tfjs-layers/src/layers/convolutional_recurrent.ts:534
↓ 4 callersMethodisEmpty
* Reports whether the buffer is empty. * @returns true if the number of items in the buffer equals zero, and * false otherwise.
tfjs-data/src/util/ring_buffer.ts:97
↓ 4 callersFunctionisEven
(n: number)
tfjs-backend-webgl/src/webgl_util.ts:468
↓ 4 callersFunctionisFloat
(n: number)
tfjs-core/src/ops/rand_test.ts:141
↓ 4 callersFunctionis_saved_model
Check if the input path contains saved model. Args: input_format: input model format. Returns: bool: whether this is for a saved model con
tfjs-converter/python/tensorflowjs/converters/wizard.py:238
↓ 4 callersFunctioniteratorFromConcatenatedFunction
( iteratorFunc: () => IteratorResult<LazyIterator<T>>, count: number, baseErrorHandler?: (e: Error) =>
tfjs-data/src/iterators/lazy_iterator.ts:105
↓ 4 callersFunctionklElement
(actual: number, predicted: number)
tfjs-layers/src/losses_test.ts:335
↓ 4 callersFunctionl2Normalize
(x: Tensor, axis?: number)
tfjs-layers/src/losses.ts:25
↓ 4 callersFunctionleakyRelu
(args: { inputs: LeakyReluInputs, backend: MathBackendCPU, attrs: LeakyReluAttrs })
tfjs-backend-cpu/src/kernels/LeakyRelu.ts:23
↓ 4 callersFunctionless
(currVal: number, prevVal: number)
tfjs-layers/src/callbacks.ts:89
↓ 4 callersFunctionmakeMatMulPackedSource
( workPerThread: number[], workgroupSize: [number, number, number], transposeA = false, tileInner = 32
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:248
↓ 4 callersFunctionmakeMatMulPackedVec4Source
( workPerThread: number[], workgroupSize: [number, number, number], transposeA = false, tileInner = 32
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:140
↓ 4 callersFunctionmap
* Maps this dataset through a 1-to-1 transform. * * ```js * const a = tf.data.array([1, 2, 3]).map(x => x*x); * await a.forEachAsync(e =>
tfjs-data/src/dataset.ts:265
↓ 4 callersFunctionmatchAll
(str: string, regexp: RegExp)
tfjs-layers/src/layers/nlp/match_all_polyfill.ts:19
↓ 4 callersFunctionmax
(args: {backend: BackendWasm, inputs: MaxInputs, attrs: MaxAttrs})
tfjs-backend-wasm/src/kernels/Max.ts:37
↓ 4 callersFunctionmin
(args: {backend: BackendWasm, inputs: MinInputs, attrs: MinAttrs})
tfjs-backend-wasm/src/kernels/Min.ts:37
↓ 4 callersFunctionnodeFileSystemRouter
(url: string|string[])
tfjs-node/src/io/file_system.ts:227
↓ 4 callersFunctionparallelCompilationCommon
(webGPUBackend: WebGPUBackend)
tfjs-backend-webgpu/src/backend_webgpu_test.ts:353
↓ 4 callersFunctionparseAndEvaluateSnippets
(tf: any)
tfjs-core/scripts/test_snippets/util.ts:39
↓ 4 callersFunctionparseURL
* Helper method for parsing a URL string into a scheme and a path. * * @param url E.g., 'localstorage://my-model' * @returns A dictionary with two
tfjs-core/src/io/model_management.ts:94
↓ 4 callersFunctionparseUrl
(url: string)
tfjs-core/src/io/http.ts:255
↓ 4 callersFunctionpoissonElement
(actual: number, predicted: number)
tfjs-layers/src/losses_test.ts:354
↓ 4 callersMethodpop
* Removes and returns the last item in the buffer.
tfjs-data/src/util/ring_buffer.ts:124
↓ 4 callersMethodprint
(x: T, verbose: boolean)
tfjs-core/src/tensor.ts:199
↓ 4 callersFunctionprintRow
( fields: string[], positions: number[], // tslint:disable-next-line:no-any printFn: (message?: an
tfjs-layers/src/utils/layer_utils.ts:139
↓ 4 callersFunctionreal
(args: {inputs: RealInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Real.ts:23
↓ 4 callersFunctionreal
(args: {inputs: RealInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Real.ts:23
↓ 4 callersMethodrecurrentConv
(x: Tensor, w: Tensor)
tfjs-layers/src/layers/convolutional_recurrent.ts:548
↓ 4 callersFunctionremix
()
tfjs-core/src/hash_util_test.ts:119
↓ 4 callersFunctionremoveStringsFromInputs
( inputs: Tensor[], stringToRemove: string)
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:160
↓ 4 callersFunctionrun
(command: string)
scripts/publish-npm.ts:138
↓ 4 callersMethodrunSavedModel
( savedModelId: number, inputTensorIds: number[], inputOpNames: string, outputOpNames: string)
tfjs-node/src/tfjs_binding.ts:59
← previousnext →901–1,000 of 6,022, ranked by callers