MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 2 callersFunctiongetModelKeys
(path: string)
tfjs-core/src/io/local_storage.ts:87
↓ 2 callersFunctiongetModelPathFromKey
* Get model path from a local-storage key. * * E.g., 'tensorflowjs_models/my/model/1/info' --> 'my/model/1' * * @param key
tfjs-core/src/io/local_storage.ts:111
↓ 2 callersFunctiongetNewVersion
( packageName: string, incrementVersion: (version: string) => string, ask = true)
scripts/release-tfjs.ts:71
↓ 2 callersFunctiongetNextUniqueTensorId
()
tfjs-layers/src/backend/state.ts:22
↓ 2 callersMethodgetNumNGrams
(length: number, nGramWidth: number)
tfjs-backend-cpu/src/kernels/StringNGrams_impl.ts:53
↓ 2 callersFunctiongetOrMakeEngine
()
tfjs-core/src/engine.ts:1289
↓ 2 callersFunctiongetOutputScalarCoords
()
tfjs-backend-webgl/src/shader_compiler.ts:409
↓ 2 callersMethodgetOutputs
Gets model outputs.
tfjs-tflite/src/types/tflite_web_model_runner.ts:45
↓ 2 callersFunctiongetPackedMatrixTextureShapeWidthHeight
( rows: number, columns: number)
tfjs-backend-webgl/src/tex_util.ts:153
↓ 2 callersFunctiongetPackedSamplerFromInInfo
( inInfo: InputInfo, enableShapeUniforms: boolean)
tfjs-backend-webgl/src/shader_compiler.ts:179
↓ 2 callersMethodgetPadWidth
(nGramWidth: number)
tfjs-backend-cpu/src/kernels/StringNGrams_impl.ts:45
↓ 2 callersFunctiongetPathToWasmBinary
* Returns the path of the WASM binary. * @param simdSupported whether SIMD is supported * @param threadsSupported whether multithreading is supporte
tfjs-backend-wasm/src/backend_wasm.ts:263
↓ 2 callersFunctiongetPhysicalFromLogicalTextureType
( logicalTexType: TextureUsage, isPacked: boolean)
tfjs-backend-webgl/src/texture_manager.ts:269
↓ 2 callersFunctiongetPlatformLibtensorflowUri
* Returns the libtensorflow hosted path of the current platform.
tfjs-node/scripts/install.js:88
↓ 2 callersFunctiongetPreamble
()
tfjs/tools/custom_module/util.ts:53
↓ 2 callersMethodgetQueryTimerExtension
()
tfjs-backend-webgl/src/gpgpu_context.ts:474
↓ 2 callersMethodgetRowPartitionTensor
(dimension: number)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:48
↓ 2 callersMethodgetSchemes
()
tfjs-core/src/io/model_management.ts:81
↓ 2 callersFunctiongetScopedTensorName
(tensorName: string)
tfjs-layers/src/common.ts:73
↓ 2 callersMethodgetSegmentationList
()
tfjs-tflite/src/types/image_segmenter.ts:42
↓ 2 callersMethodgetShapeFromTFLiteTensorInfo
(info: TFLiteWebModelRunnerTensorInfo)
tfjs-tflite/src/tflite_model.ts:300
↓ 2 callersFunctiongetSignatureDefEntryFromMetaGraphInfo
( savedModelInfo: MetaGraph[], tags: string[], signature: string)
tfjs-node/src/saved_model.ts:175
↓ 2 callersMethodgetSortedBackends
()
tfjs-core/src/engine.ts:397
↓ 2 callersFunctiongetStartHeaderString
( useGlobalIndex: boolean, program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:170
↓ 2 callersFunctiongetSwatchBackground
* @license * Copyright 2020 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th
tfjs-backend-webgpu/benchmarks/util.js:18
↓ 2 callersFunctiongetSwitchedCoords
(newDim: number[])
tfjs-backend-webgpu/src/transpose_webgpu.ts:68
↓ 2 callersFunctiongetTagFromVersion
(version: string)
scripts/release-util.ts:601
↓ 2 callersFunctiongetTensorDetail
(tensor: tf.Tensor)
e2e/scripts/build-graph-model-golden-data.ts:47
↓ 2 callersFunctiongetTensorDetails
(tensors: tf.Tensor|tf.Tensor[]| tf.NamedTensorMap)
e2e/scripts/build-graph-model-golden-data.ts:56
↓ 2 callersMethodgetTensorFromAudioDataArray
(freqData: Float32Array, shape: number[])
tfjs-data/src/iterators/microphone_iterator.ts:227
↓ 2 callersMethodgetTensorInfos
(firstTensorType: TFLiteDataType = 'int32')
tfjs-tflite/src/tflite_model_test.ts:72
↓ 2 callersFunctiongetTensorsForCurrentContext
( name: string, tensorsMap: NamedTensorsMap, context: ExecutionContext)
tfjs-converter/src/operations/executors/utils.ts:97
↓ 2 callersFunctiongetTextureConfig
( // tslint:disable-next-line:no-any gl: WebGLRenderingContext, textureHalfFloatExtension?: any)
tfjs-backend-webgl/src/tex_util.ts:183
↓ 2 callersFunctiongetTextureKey
( width: number, height: number, format: GPUTextureFormat, usage: GPUTextureUsageFlags)
tfjs-backend-webgpu/src/texture_manager.ts:128
↓ 2 callersMethodgetTextureManager
()
tfjs-backend-webgl/src/backend_webgl.ts:1036
↓ 2 callersMethodgetTopKClasses
(logits, topK)
tfjs-converter/demo/mobilenet/mobilenet.js:60
↓ 2 callersFunctiongetUniformLocations
( gpgpu: GPGPUContext, program: GPGPUProgram, webGLProgram: WebGLProgram)
tfjs-backend-webgl/src/gpgpu_math.ts:143
↓ 2 callersMethodgetUniformLocations
()
tfjs-backend-webgl/src/backend_webgl.ts:1278
↓ 2 callersMethodgetUserCode
()
tfjs-backend-webgpu/src/cum_webgpu.ts:53
↓ 2 callersFunctiongetValues
( history: HistoryLike, metric: string, metricIndex: number)
tfjs-vis/src/show/history.ts:195
↓ 2 callersMethodgetValuesFromTexture
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:508
↓ 2 callersFunctiongetVecChannels
(name: string, rank: number)
tfjs-backend-webgl/src/packing_util.ts:18
↓ 2 callersFunctiongetVersion
(packageJsonPath: string)
scripts/release-util.ts:583
↓ 2 callersFunctiongetVersions
(pkg: string)
scripts/publish-npm.ts:269
↓ 2 callersFunctiongetWeightSpecs
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/io_utils.ts:630
↓ 2 callersMethodgetWeightUrls
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/http.ts:210
↓ 2 callersFunctionget_tfjs_model_type
(model_file)
tfjs-converter/python/tensorflowjs/converters/wizard.py:70
↓ 2 callersFunctiongradForMinAndMax
( dy: T, y: T, xOrig: Tensor, origAxes: number[])
tfjs-core/src/gradients/min_max_grad_util.ts:28
↓ 2 callersFunctionhandleClickTrigger
( trigger: HTMLElement, tfliteModel: tflite.TFLiteModel)
tfjs-tflite/demo/src/script.ts:89
↓ 2 callersFunctionhttp
(path: string, loadOptions?: LoadOptions)
tfjs-core/src/io/http.ts:362
↓ 2 callersMethodidToToken
* Convert an integer id to a string token.
tfjs-layers/src/layers/nlp/tokenizers.ts:312
↓ 2 callersFunctionidentityPoolTest
(pool: typeof tf.avgPool)
tfjs-core/src/ops/identity_pool_test.ts:26
↓ 2 callersFunctionimageToTensor
(img: ImageInput)
tfjs-automl/src/util.ts:21
↓ 2 callersFunctioninitPlot
(plot: HistoryPlotData, name: string)
tfjs-vis/src/show/history.ts:180
↓ 2 callersFunctioninitVisor
()
e2e/benchmarks/browserstack-benchmark/index.js:359
↓ 2 callersMethodinterpretAxes
(shape1: Shape, shape2: Shape)
tfjs-layers/src/layers/merge.ts:1024
↓ 2 callersFunctionisArrayItemInputOrOutputName
* Test whether a value in an array is the name of a LayersModel or Layer. * @param key The key name that the value is found under. Note that the key
tfjs-layers/src/utils/serialization_utils.ts:31
↓ 2 callersFunctionisDatasetObject
( dataset: [ TensorOrArrayOrMap, TensorOrArrayOrMap ]|[TensorOrArrayOrMap, Tenso
tfjs-layers/src/engine/training_dataset.ts:517
↓ 2 callersFunctionisFlatDispatch
(program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:778
↓ 2 callersFunctionisFlatDispatchLayout
(program: WebGPUProgram)
tfjs-backend-webgpu/src/webgpu_program.ts:843
↓ 2 callersFunctionisFloat
(num: number)
tfjs-core/src/browser_util_test.ts:21
↓ 2 callersMethodisFull
()
tfjs-data/src/util/growing_ring_buffer.ts:31
↓ 2 callersFunctionisHTTPScheme
(url: string)
tfjs-core/src/io/http.ts:264
↓ 2 callersFunctionisInt
(a: number)
tfjs-core/src/util_base.ts:237
↓ 2 callersMethodisQueryAvailable
(query: WebGLQuery, queryTimerVersion: number)
tfjs-backend-webgl/src/gpgpu_context.ts:558
↓ 2 callersFunctionisReshapeFree
(shape1: number[], shape2: number[])
tfjs-backend-webgl/src/webgl_util.ts:476
↓ 2 callersFunctionisTensorDetail
(x: any)
e2e/integration_tests/graph_model_golden_tests.ts:153
↓ 2 callersFunctionisTensorInList
(tensor: Tensor, tensorList: Tensor[])
tfjs-core/src/tensor_util.ts:38
↓ 2 callersFunctionisTestStep
(id: string)
scripts/generate_cloudbuild.ts:217
↓ 2 callersFunctionisTypedArrayBrowser
(a: unknown)
tfjs-core/src/platforms/is_typed_array_browser.ts:18
↓ 2 callersMethodisValidTruncated
Returns true if less than 2-standard-deviations from the mean.
tfjs-core/src/ops/rand_util.ts:110
↓ 2 callersFunctionisWebGLData
(values: unknown)
tfjs-core/src/types.ts:205
↓ 2 callersFunctionisWebGLVersionEnabled
(webGLVersion: 1|2)
tfjs-backend-webgl/src/webgl_util.ts:563
↓ 2 callersFunctionisWebGPUData
(values: unknown)
tfjs-core/src/types.ts:209
↓ 2 callersFunctionkernelFunc
({backend})
tfjs-core/src/kernel_registry_test.ts:125
↓ 2 callersFunctionkernelNameToVariableName
(kernelName: string)
tfjs/tools/custom_module/util.ts:26
↓ 2 callersFunctionloadImage
(imagePath)
e2e/benchmarks/model_config.js:551
↓ 2 callersFunctionloadModelByUrlWithState
* Load a graph model or a a model composed of Layer objects and record the * model type (GraphModel or LayersModel) at `state.modelType`, given a URL
e2e/benchmarks/model_config.js:615
↓ 2 callersMethodloadModelJSON
()
tfjs-core/src/io/http.ts:138
↓ 2 callersMethodloadWeights
( weightsManifest: tf.io.WeightsManifestConfig, path: string)
tfjs-node/src/io/file_system.ts:184
↓ 2 callersFunctionloadWeightsAsArrayBuffer
( fetchURLs: string[], loadOptions?: LoadOptions)
tfjs-core/src/io/weights_loader.ts:38
↓ 2 callersMethodloadWithWeightMap
(artifacts: io.ModelArtifacts, weightMap: NamedTensorMap)
tfjs-converter/src/executor/graph_model.ts:194
↓ 2 callersFunctionload_graph
Loads GraphDef. Returns Python Graph object. Args: graph_filename: string File name for the frozen graph.
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py:70
↓ 2 callersMethodlogKernelProfile
( name: string, result: Tensor, vals: TypedArray, timeMs: number|{error: string}, inputs: NamedTen
tfjs-core/src/profiler.ts:112
↓ 2 callersMethodlogKernelProfile
( name: string, result: Tensor, vals: TypedArray, timeMs: number)
tfjs-core/src/profiler_test.ts:46
↓ 2 callersMethodlogMetrics
(logs: Logs, prefix: string, step: number)
tfjs-node/src/callbacks.ts:277
↓ 2 callersFunctionmain
()
e2e/custom_module/universal_sentence_encoder/app.js:21
↓ 2 callersFunctionmakeComplexComponentTensorInfo
( complexTensor: TensorInfo, complexPart: TensorInfo)
tfjs-backend-webgpu/src/kernels/ComplexAbs.ts:26
↓ 2 callersFunctionmakeComplexComponentTensorInfo
( complexTensor: TensorInfo, complexPart: TensorInfo)
tfjs-backend-webgl/src/kernels/ComplexAbs.ts:26
↓ 2 callersFunctionmakeOnesTypedArray
( size: number, dtype: D)
tfjs-core/src/util_base.ts:637
↓ 2 callersMethodmakeOutput
( values: backend_util.BackendValues, shape: number[], dtype: DataType)
tfjs-backend-cpu/src/backend_cpu.ts:163
↓ 2 callersFunctionmakeRollupConfig
({ globals = {}, external = [], leave_as_require = [], plugins = [], terser = false, es5 = false,
tools/make_rollup_config.ts:48
↓ 2 callersFunctionmakeShape
(shape: number[]|TypedArray, isPartial: boolean)
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:450
↓ 2 callersFunctionmakeStepId
(id: string, packageName: string)
scripts/generate_cloudbuild.ts:221
↓ 2 callersMethodmakeVariable
( initialValue: Tensor, trainable?: boolean, name?: string, dtype?: DataType)
tfjs-core/src/tensor.ts:180
↓ 2 callersFunctionmakeZerosTypedArray
( size: number, dtype: D)
tfjs-core/src/util_base.ts:646
↓ 2 callersMethodmapArgToTensorInfo
( arg: tensorflow.OpDef.IArgDef, nameMap?: {[key: string]: string})
tfjs-converter/src/operations/operation_mapper.ts:426
↓ 2 callersFunctionmapCoord
( outCoord: number, len: number, mode: 'constant'|'reflect'|'wrap'|'nearest')
tfjs-backend-cpu/src/kernels/Transform.ts:124
↓ 2 callersMethodmapInputs
(inputs: NamedTensorMap)
tfjs-converter/src/executor/graph_executor.ts:730
↓ 2 callersMethodmapNode
(node: tensorflow.INodeDef)
tfjs-converter/src/operations/operation_mapper.ts:179
← previousnext →1,501–1,600 of 6,022, ranked by callers