MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 2 callersFunctiondescribeMathGPU
(testName: string, tests: () => void)
tfjs-layers/src/utils/test_utils.ts:127
↓ 2 callersFunctiondeserializeInitializer
( config: serialization.ConfigDict, customObjects: serialization.ConfigDict = {})
tfjs-layers/src/initializers.ts:623
↓ 2 callersMethoddetokenize
(inputs: Tensor[])
tfjs-layers/src/layers/nlp/tokenizers.ts:565
↓ 2 callersFunctiondiff
(fileOrDirName)
scripts/find_packages_with_diff.js:116
↓ 2 callersFunctiondispatch_keras_h5_to_tfjs_graph_model_conversion
Convert a keras HDF5-format model to tfjs GraphModel artifacts. Args: h5_path: Path to the HDF5-format file that contains the model saved fr
tfjs-converter/python/tensorflowjs/converters/converter.py:188
↓ 2 callersFunctiondispatch_tensorflowjs_to_keras_h5_conversion
Converts a TensorFlow.js Layers model format to Keras H5. Args: config_json_path: Path to the JSON file that includes the model's topolog
tfjs-converter/python/tensorflowjs/converters/converter.py:296
↓ 2 callersMethoddispose
()
tfjs-core/src/backends/backend.ts:153
↓ 2 callersMethoddispose
(keepIds: Set<number>)
tfjs-converter/src/executor/execution_context.ts:179
↓ 2 callersMethoddispose
()
tfjs-converter/demo/mobilenet/mobilenet.js:37
↓ 2 callersMethoddisposeIntermediateTensors
()
tfjs-converter/src/executor/graph_executor.ts:425
↓ 2 callersMethoddisposeRegisteredKernels
(backendName: string)
tfjs-core/src/engine.ts:304
↓ 2 callersMethoddisposeTensor
(t: Tensor)
tfjs-core/src/tensor.ts:184
↓ 2 callersFunctiondotify
(x: string[], y: string[])
tfjs-backend-webgl/src/shader_compiler_util.ts:94
↓ 2 callersMethoddownloadMatrixDriver
( texture: WebGLTexture, downloadAndDecode: () => Float32Array)
tfjs-backend-webgl/src/gpgpu_context.ts:645
↓ 2 callersFunctiondrawTextureProgram
( gl: WebGL2RenderingContext, flipHorizontal: boolean, flipVertical: boolean, rotation: Rotation)
tfjs-react-native/src/camera/camera_webgl_util.ts:308
↓ 2 callersFunctiondrawTunableBrowserSummaryTable
* Create a tunable browser list table that can be used to remove browsers. * * This table is shown before benchmarking. * * @param {string} summar
e2e/benchmarks/browserstack-benchmark/index.js:297
↓ 2 callersFunctioneles
(selector: string)
tfjs-tflite/demo/src/script.ts:148
↓ 2 callersFunctionencodeImage
( image: Tensor3D, backendEncodeImage: (imageData: Uint8Array) => Tensor)
tfjs-node/src/image.ts:253
↓ 2 callersFunctionencodeInt32ArrayAsInt64
(value: Int32Array)
tfjs-node/src/int64_tensors.ts:90
↓ 2 callersMethodendQuery
()
tfjs-backend-webgl/src/gpgpu_context.ts:513
↓ 2 callersFunctionenqueueWeightsForFetchingFn
()
tfjs-core/src/io/weights_loader.ts:187
↓ 2 callersFunctionensureDir
* Ensures a directory exists, creates as needed.
tfjs-node/scripts/install.js:119
↓ 2 callersFunctionensureTensorsRank2OrHigher
(tensors: Tensor|Tensor[])
tfjs-layers/src/engine/training_tensors.ts:250
↓ 2 callersMethodensureTrainWriterCreated
()
tfjs-node/src/callbacks.ts:301
↓ 2 callersMethodensureValWriterCreated
()
tfjs-node/src/callbacks.ts:305
↓ 2 callersFunctionescape
(input: string)
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:271
↓ 2 callersMethodeuclideanNorm
( this: T, axis?: number|number[], keepDims?: boolean)
tfjs-core/src/public/chained_ops/euclidean_norm.ts:24
↓ 2 callersMethodevaluate
* Returns the loss value & metrics values for the model in test mode. * * Loss and metrics are specified during `compile()`, which needs to happ
tfjs-layers/src/models.ts:718
↓ 2 callersMethodevaluateFlag
(flagName: string)
tfjs-core/src/environment.ts:143
↓ 2 callersMethodexecuteEncodeImageOp
( name: string, opAttrs: TFEOpAttr[], imageData: Uint8Array, imageShape: number[])
tfjs-node/src/nodejs_kernel_backend.ts:389
↓ 2 callersMethodexpand
* Doubles the capacity of the buffer.
tfjs-data/src/util/growing_ring_buffer.ts:52
↓ 2 callersFunctionexpandDims
(args: { inputs: ExpandDimsInputs, attrs: ExpandDimsAttrs, backend: WebGPUBackend })
tfjs-backend-webgpu/src/kernels/ExpandDims.ts:23
↓ 2 callersFunctionexpandDims
(args: { inputs: ExpandDimsInputs, attrs: ExpandDimsAttrs, backend: MathBackendWebGL })
tfjs-backend-webgl/src/kernels/ExpandDims.ts:23
↓ 2 callersFunctionexpandDims
(args: { inputs: ExpandDimsInputs, attrs: ExpandDimsAttrs, backend: BackendWasm })
tfjs-backend-wasm/src/kernels/ExpandDims.ts:23
↓ 2 callersFunctionfetch
(s: Uint8Array, offset: number, numBytes: number)
tfjs-core/src/hash_util.ts:41
↓ 2 callersFunctionfetch32
(s: Uint8Array, offset: number)
tfjs-core/src/hash_util.ts:50
↓ 2 callersFunctionfetchFunc
(path: string)
tfjs-data/src/iterators/url_chunk_iterator_test.ts:24
↓ 2 callersFunctionfetchImage
(url: string)
tfjs-automl/src/test_util.ts:18
↓ 2 callersFunctionfft
(args: {inputs: FFTInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/FFT.ts:24
↓ 2 callersFunctionfftBatch
( input: TensorInfo, inverse: boolean, cpuBackend: MathBackendCPU)
tfjs-backend-cpu/src/utils/fft_utils.ts:35
↓ 2 callersFunctionfftImpl
( x: TensorInfo, inverse: boolean, backend: WebGPUBackend)
tfjs-backend-webgpu/src/kernels/FFT_impl.ts:26
↓ 2 callersFunctionfftImpl
( x: TensorInfo, inverse: boolean, backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernels/FFT_impl.ts:26
↓ 2 callersFunctionfill
(args: {backend: MathBackendCPU, attrs: FillAttrs})
tfjs-backend-cpu/src/kernels/Fill.ts:22
↓ 2 callersFunctionfinalizeWriting
()
e2e/benchmarks/browserstack-benchmark/app.js:512
↓ 2 callersFunctionfindSubgraph
(node: string, graph: Graph, subnodes = new Set())
scripts/graph_utils.ts:116
↓ 2 callersMethodfixUnknownDimension
* Finds and replaces a missing dimension in output shape. * * This is a near direct port of the internal Numpy function * `_fix_unknown_dimen
tfjs-layers/src/layers/core.ts:488
↓ 2 callersMethodflattenQueue
(queue: Float32Array[])
tfjs-data/src/iterators/microphone_iterator.ts:220
↓ 2 callersFunctionflattenTensorOrArrayOrMap
( inputOrOutput: string, names: string[], values: TensorOrArrayOrMap)
tfjs-layers/src/engine/training_dataset.ts:262
↓ 2 callersMethodformatLogsAsMetricsContent
(logs: Logs, maxMetricsLength?: number)
tfjs-node/src/callbacks.ts:125
↓ 2 callersFunctionformat_nodes
(nodes)
tfjs-converter/python/tensorflowjs/converters/wizard.py:325
↓ 2 callersFunctionfullDefinedShape
(elementShape: number|number[])
tfjs-converter/src/executor/tensor_utils.ts:53
↓ 2 callersFunctionfunc
( f: () => IteratorResult<T>| Promise<IteratorResult<T>>)
tfjs-data/src/readers.ts:135
↓ 2 callersFunctionfusedConvAndDepthWiseParams
( node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext)
tfjs-converter/src/operations/executors/convolution_executor.ts:28
↓ 2 callersMethodgenerateCurrentContextIds
()
tfjs-converter/src/executor/execution_context.ts:91
↓ 2 callersFunctiongenerateInput
* Generates a random input for `model`, based on `model.inputs`. For * tf.GraphModel, `NamedTensorMap` input will be returned; otherwise, * `Tensor[
e2e/benchmarks/benchmark_util.js:40
↓ 2 callersFunctiongenerateRandomTensorContainer
(shape: Shape|{[name: string]: Shape})
tfjs-layers/src/engine/dataset_fakes.ts:73
↓ 2 callersFunctiongetBackendPath
(backend: SupportedBackend)
tfjs/tools/custom_module/esm_module_provider.ts:161
↓ 2 callersMethodgetBoolean
(value: string)
tfjs-data/src/datasets/csv_dataset.ts:283
↓ 2 callersFunctiongetBroadcastDims
( inShape: number[], outShape: number[])
tfjs-core/src/ops/broadcast_util.ts:27
↓ 2 callersFunctiongetBrowserBundleConfigOptions
( config, name, fileName, preamble, visualize, ci, terserExtraOptions = {})
rollup.config.helpers.js:31
↓ 2 callersFunctiongetBufferKey
(size: number, usage: GPUBufferUsageFlags)
tfjs-backend-webgpu/src/buffer_manager.ts:120
↓ 2 callersFunctiongetBytes
Helper method to get the bytes from a typed array.
tfjs-core/src/tensor_test.ts:2335
↓ 2 callersFunctiongetBytesPerElement
(format: GPUTextureFormat)
tfjs-backend-webgpu/src/texture_manager.ts:134
↓ 2 callersFunctiongetCellValue
(tr, idx)
tfjs-backend-webgpu/perf/tune.js:342
↓ 2 callersMethodgetClassesList
()
tfjs-tflite/src/types/object_detector.ts:45
↓ 2 callersMethodgetClassificationsList
()
tfjs-tflite/src/types/image_classifier.ts:39
↓ 2 callersMethodgetConfig
()
tfjs-layers/src/layers/noise.ts:168
↓ 2 callersMethodgetConfig
()
tfjs-layers/src/layers/nlp/multihead_attention.ts:412
↓ 2 callersFunctiongetCoords
(rank: number, name: string, op: CumOpType)
tfjs-backend-webgpu/src/cum_webgpu.ts:91
↓ 2 callersFunctiongetCoords
(rank: number, name: string, op: CumOpType)
tfjs-backend-webgl/src/cum_gpu.ts:68
↓ 2 callersMethodgetDataInfo
* Returns internal information for the specific data bucket. Used in unit * tests.
tfjs-backend-webgl/src/backend_webgl.ts:725
↓ 2 callersMethodgetDedupedMetricsNames
()
tfjs-layers/src/engine/training.ts:1271
↓ 2 callersMethodgetDetectionsList
()
tfjs-tflite/src/types/object_detector.ts:39
↓ 2 callersFunctiongetElidedAxes
(numElidedAxes: number, ellipsisInsertionIndex: number)
tfjs-core/src/ops/slice_util.ts:160
↓ 2 callersFunctiongetExpectedOutputs
()
tfjs-layers/src/models_test.ts:1936
↓ 2 callersFunctiongetFinalCoord
(rank: number, name: string, op: CumOpType)
tfjs-backend-webgpu/src/cum_webgpu.ts:105
↓ 2 callersFunctiongetFinalCoord
(rank: number, name: string, op: CumOpType)
tfjs-backend-webgl/src/cum_gpu.ts:82
↓ 2 callersMethodgetFrozenTensorIds
(tensorMap: NamedTensorsMap)
tfjs-converter/src/executor/graph_executor.ts:320
↓ 2 callersFunctiongetFuncParam
( attrs: {[key: string]: tensorflow.IAttrValue}, name: string, def: string)
tfjs-converter/src/operations/operation_mapper.ts:512
↓ 2 callersMethodgetGPGPUContext
()
tfjs-backend-webgl/src/backend_webgl.ts:745
↓ 2 callersFunctiongetGlobalNamespace
()
tfjs-core/src/global_util.ts:24
↓ 2 callersFunctiongetGradient
(kernelName: string)
tfjs-core/src/kernel_registry.ts:98
↓ 2 callersFunctiongetGraphModelGoldenDataFilename
(modelName: string)
e2e/scripts/build-graph-model-golden-data.ts:73
↓ 2 callersMethodgetHandlers
( url: string|string[], handlerType: 'save'|'load', loadOptions?: LoadOptions)
tfjs-core/src/io/router_registry.ts:87
↓ 2 callersMethodgetHashTableHandleByName
* Get the table handle by node name. * @param name Op node name that creates the `HashTable`. This name is also * used in the inputs list of
tfjs-converter/src/executor/resource_manager.ts:47
↓ 2 callersFunctiongetInputs
()
tfjs-layers/src/models_test.ts:1932
↓ 2 callersFunctiongetInputs
()
tfjs-backend-webgpu/src/kernels/TopK.ts:99
↓ 2 callersFunctiongetInputs
()
tfjs-backend-webgl/src/kernels/TopK.ts:122
↓ 2 callersMethodgetInputs
Gets model inputs.
tfjs-tflite/src/types/tflite_web_model_runner.ts:42
↓ 2 callersFunctiongetInternalFormatForFloat16MatrixTexture
( textureConfig: TextureConfig)
tfjs-backend-webgl/src/gpgpu_util.ts:103
↓ 2 callersFunctiongetInternalFormatForFloat16PackedMatrixTexture
( textureConfig: TextureConfig)
tfjs-backend-webgl/src/gpgpu_util.ts:150
↓ 2 callersFunctiongetInternalFormatForFloat32MatrixTexture
( textureConfig: TextureConfig)
tfjs-backend-webgl/src/gpgpu_util.ts:87
↓ 2 callersFunctiongetInternalFormatForPackedMatrixTexture
( textureConfig: TextureConfig)
tfjs-backend-webgl/src/gpgpu_util.ts:135
↓ 2 callersFunctiongetInternalFormatForUnsignedBytesMatrixTexture
( textureConfig: TextureConfig)
tfjs-backend-webgl/src/gpgpu_util.ts:119
↓ 2 callersFunctiongetKeyFromTextureShape
( shapeRowsCol: [number, number], physicalTexType: PhysicalTextureType, isPacked: boolean)
tfjs-backend-webgl/src/texture_manager.ts:283
↓ 2 callersFunctiongetLocalVersion
(pkg: string)
scripts/release-util.ts:588
↓ 2 callersMethodgetMaxEntries
* Get the MaxEntries of the cache.
tfjs-layers/src/utils/executor_utils.ts:55
↓ 2 callersMethodgetMemoryOffset
(dataId: DataId)
tfjs-backend-wasm/src/backend_wasm.ts:182
↓ 2 callersFunctiongetModelArtifactsForJSON
( modelJSON: ModelJSON, loadWeights: (weightsManifest: WeightsManifestConfig) => Promise<[ /* we
tfjs-core/src/io/io_utils.ts:582
↓ 2 callersFunctiongetModelJSONForModelArtifacts
( artifacts: ModelArtifacts, manifest: WeightsManifestConfig)
tfjs-core/src/io/io_utils.ts:495
← previousnext →1,401–1,500 of 6,022, ranked by callers