MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 1 callersMethodnext
()
tfjs-data/src/iterators/string_iterator.ts:68
↓ 1 callersMethodnextDataId
()
tfjs-backend-cpu/src/backend_cpu.ts:43
↓ 1 callersMethodnextDataId
()
tfjs-backend-webgl/src/backend_webgl.ts:109
↓ 1 callersMethodnextState
(afterState: Promise<IteratorResult<O>>)
tfjs-data/src/iterators/lazy_iterator.ts:1030
↓ 1 callersMethodnextValue
Returns next sample from a gamma distribution.
tfjs-core/src/ops/rand_util.ts:146
↓ 1 callersMethodnextValue
()
tfjs-core/src/ops/rand_util.ts:214
↓ 1 callersMethodnextVariableId
()
tfjs-core/src/engine.ts:495
↓ 1 callersFunctionnoConversionNeeded
(a: TensorLike, dtype: DataType)
tfjs-core/src/util.ts:37
↓ 1 callersFunctionnodeHTTPRequest
( path: string, requestInit?: RequestInit, weightPathPrefix?: string)
tfjs-node/src/io/node_http.ts:28
↓ 1 callersFunctionnode_name_from_input
Strips off ports and other decorations to get the underlying node name.
tfjs-converter/python/tensorflowjs/converters/graph_rewrite_util.py:72
↓ 1 callersFunctionnormImpl
( x: Tensor, p: number|string, axis: number|number[] = null)
tfjs-core/src/ops/norm.ts:87
↓ 1 callersFunctionnormalizePath
(p: string)
tfjs/tools/custom_module/cli.ts:103
↓ 1 callersFunctionnumBytesForInternalFormat
( gl: WebGLRenderingContext, internalFormat: number)
tfjs-backend-webgl/src/texture_manager.ts:187
↓ 1 callersFunctionnumMBBeforeWarning
()
tfjs-backend-webgl/src/backend_webgl.ts:95
↓ 1 callersFunctionnumberCompare
(a: number, b: number)
tfjs-layers/src/utils/generic_utils.ts:305
↓ 1 callersMethodonCameraLayout
(event: LayoutChangeEvent)
tfjs-react-native/src/camera/camera_stream.tsx:210
↓ 1 callersFunctiononesVariable
( shape: Shape, dtype?: DataType, name?: string)
tfjs-layers/src/variables.ts:191
↓ 1 callersFunctionopenModal
(start, end)
tfjs-backend-webgpu/benchmarks/util.js:69
↓ 1 callersFunctionotsu
(histogram: Tensor1D, total: number)
tfjs-core/src/ops/image/threshold.ts:121
↓ 1 callersFunctionpack
( args: {inputs: PackInputs, backend: MathBackendCPU, attrs: PackAttrs})
tfjs-backend-cpu/src/kernels/Pack.ts:24
↓ 1 callersMethodpackTensor
(input: TensorInfo)
tfjs-backend-webgl/src/backend_webgl.ts:812
↓ 1 callersFunctionpackXYSampleWeight
( x: NamedTensorMap, y?: Tensor, sampleWeight?: Tensor)
tfjs-layers/src/layers/nlp/models/gpt2/gpt2_preprocessor.ts:75
↓ 1 callersFunctionpackedReshape
( input: TensorInfo, afterShape: number[], backend: MathBackendWebGL)
tfjs-backend-webgl/src/kernel_utils/reshape.ts:24
↓ 1 callersMethodpackedReshape
(input: TensorInfo, afterShape: number[])
tfjs-backend-webgl/src/backend_webgl.ts:820
↓ 1 callersMethodpackedUnaryOp
(x: TensorInfo, op: string, dtype: DataType)
tfjs-backend-webgl/src/backend_webgl.ts:757
↓ 1 callersFunctionpadV2
(args: {inputs: PadV2Inputs, backend: MathBackendWebGL, attrs: PadV2Attrs})
tfjs-backend-webgl/src/kernels/PadV2.ts:26
↓ 1 callersFunctionparseHeaders
(rawHeaders: string)
tfjs-react-native/src/platform_react_native.ts:33
↓ 1 callersFunctionparseSliceParams
( x: TensorInfo, begin: number|number[], size?: number|number[])
tfjs-core/src/ops/slice_util.ts:379
↓ 1 callersFunctionparseTags
* Given a string separated with comma, validate and return tags as an array.
e2e/integration_tests/setup_test.ts:84
↓ 1 callersFunctionparseValue
(flagName: string, value: string)
tfjs-core/src/environment.ts:193
↓ 1 callersFunctionparseValue
* Converted a URL parameter to a typed value, such a boolean, number, string.
e2e/benchmarks/benchmark_util.js:645
↓ 1 callersFunctionparse_args
()
tfjs-converter/python/tensorflowjs/converters/generate_test_model.py:28
↓ 1 callersFunctionpatchWechatWebAssembly
()
tfjs-backend-wasm/scripts/patch_wechat_webassembly.ts:24
↓ 1 callersFunctionplay
(video: HTMLVideoElement)
tfjs-core/src/test_util.ts:216
↓ 1 callersMethodpollFence
(fenceContext: FenceContext)
tfjs-backend-webgl/src/gpgpu_context.ts:588
↓ 1 callersMethodpollItems
()
tfjs-backend-webgl/src/gpgpu_context.ts:596
↓ 1 callersFunctionprebenchmarkSetup
Sets up the local or remote environment for benchmarking.
e2e/benchmarks/browserstack-benchmark/app.js:527
↓ 1 callersMethodpredict
* Execute the inference for the input tensors. * * @param inputs The input tensors, when there is single input for the model, * inputs pa
tfjs-tflite/src/tflite_model.ts:83
↓ 1 callersMethodpredictAsync
* Execute the inference for the input tensors in async fashion, use this * method when your model contains control flow ops. * * @param input
tfjs-converter/src/executor/graph_model.ts:403
↓ 1 callersFunctionpredictOp
( model, modelJson, dumpedJson, outputNodeName, backend)
e2e/benchmarks/local-benchmark/dump.js:144
↓ 1 callersMethodpredictStyleParameters
* This function returns style bottleneck features for * the given image. * * @param style Style image to get 100D bottleneck features for
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:64
↓ 1 callersFunctionprelu
(args: {inputs: PreluInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/Prelu.ts:27
↓ 1 callersFunctionprepareData
* Formats data to the internal format used by this chart.
tfjs-vis/src/render/histogram.ts:203
↓ 1 callersMethodpreprocess
(input: ImageInput, options: ObjectDetectionOptions)
tfjs-automl/src/object_detection.ts:100
↓ 1 callersMethodpreprocess
(input: ImageInput, options: ImageClassificationOptions)
tfjs-automl/src/img_classification.ts:57
↓ 1 callersMethodpreviewUpdateFunc
* Helper function that can be used to update the GLView framebuffer. * * @param gl the open gl texture to render to * @param cameraText
tfjs-react-native/src/camera/camera_stream.tsx:317
↓ 1 callersFunctionprintLayerSummary
* Prints a summary for a single Layer, without connectivity information. * * @param layer: Layer instance to print.
tfjs-layers/src/utils/layer_utils.ts:160
↓ 1 callersFunctionprintLayerSummaryWithConnections
* Prints a summary for a single Layer, with connectivity information.
tfjs-layers/src/utils/layer_utils.ts:192
↓ 1 callersFunctionprintPhase
(phases: Phase[], phaseId: number)
scripts/release-util.ts:274
↓ 1 callersFunctionprintSummary
( model: Container, lineLength?: number, positions?: number[], // tslint:disable-next-line:no-any
tfjs-layers/src/utils/layer_utils.ts:30
↓ 1 callersFunctionprocessLayer
* Deserialize a layer, then call it on appropriate inputs. * @param layerData: layer config dict. * @throws ValueError: In case of improperl
tfjs-layers/src/engine/container.ts:1260
↓ 1 callersFunctionprocessNode
(layer: Layer, nodeData: TensorKeyWithArgsArray[])
tfjs-layers/src/engine/container.ts:1221
↓ 1 callersMethodprocessStack
( inputNodes: Node[], stack: NodeWithContexts[], context: ExecutionContext, tensorMap: NamedTensor
tfjs-converter/src/executor/graph_executor.ts:607
↓ 1 callersFunctionprocessUrls
(urls, localBuild)
e2e/benchmarks/local-benchmark/loader.js:32
↓ 1 callersFunctionprod
( args: {inputs: ProdInputs, backend: MathBackendCPU, attrs: ProdAttrs})
tfjs-backend-cpu/src/kernels/Prod.ts:47
↓ 1 callersFunctionprodGradFn_
(x: Tensor, dy: Tensor, axis: number)
tfjs-core/src/gradients/Prod_grad.ts:28
↓ 1 callersFunctionprodImpl
( xShape: number[], xDtype: DataType, xVals: TypedArray, reductionAxes: number[])
tfjs-backend-cpu/src/kernels/Prod.ts:24
↓ 1 callersFunctionprodsGradFn_
(x: Tensor, dy: Tensor, axis: number[])
tfjs-core/src/gradients/Prod_grad.ts:46
↓ 1 callersMethodproduceCustomTFJSModule
* Writes out custom tfjs module(s) to disk.
tfjs/tools/custom_module/esm_module_provider.ts:34
↓ 1 callersMethodproduceStylized
* This function stylizes the content image given the bottleneck * features. It returns a tf.Tensor3D containing the stylized image. * * @para
tfjs-react-native/integration_rn59/components/webcam/style_transfer.ts:81
↓ 1 callersFunctionprofileModelInference
* Executes the predict function for `model` (`model.predict` for * tf.LayersModel and `model.executeAsync` for tf.GraphModel) and returns a * promis
e2e/benchmarks/benchmark_util.js:429
↓ 1 callersMethodpump
()
tfjs-data/src/iterators/lazy_iterator.ts:889
↓ 1 callersMethodpushAll
* Adds many items to the end of the buffer, in order.
tfjs-data/src/util/ring_buffer.ts:115
↓ 1 callersFunctionpushToFirestore
* Pushes all benchmark results to Firestore. * * @param benchmarkResults List of all benchmark results
e2e/benchmarks/browserstack-benchmark/app.js:340
↓ 1 callersFunctionraggedGatherImpl
( paramsNestedSplits: TypedArray[], paramsNestedSplitsShapes: number[][], paramsDenseValues: TypedArra
tfjs-backend-cpu/src/kernels/RaggedGather_impl.ts:193
↓ 1 callersFunctionraggedRangeImpl
( starts: TypedArray, startsShape: number[], startsDType: DataType, limits: TypedArray, limitsShape: n
tfjs-backend-cpu/src/kernels/RaggedRange_impl.ts:22
↓ 1 callersFunctionraggedTensorToTensorImpl
( shape: TypedArray, shapesShape: number[], values: TypedArray, valuesShape: number[], valuesDType: Da
tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:468
↓ 1 callersMethodrand8
()
tfjs-core/src/hash_util_test.ts:62
↓ 1 callersMethodrandomInt
(max: number)
tfjs-data/src/iterators/lazy_iterator.ts:1165
↓ 1 callersFunctionrange
(args: {backend: MathBackendWebGL, attrs: RangeAttrs})
tfjs-backend-webgl/src/kernels/Range.ts:24
↓ 1 callersFunctionrangeImpl
( start: number, stop: number, step: number, dtype: 'float32'|'int32')
tfjs-backend-cpu/src/kernels/Range_impl.ts:20
↓ 1 callersMethodread
* Get a snapshot of the Variable's value. * * The returned value is a snapshot of the Variable's value at the time of * the invocation. Futur
tfjs-layers/src/variables.ts:83
↓ 1 callersMethodread
* Read the value at location index in the TensorArray. * @param index Number the index to read from.
tfjs-converter/src/executor/tensor_array.ts:74
↓ 1 callersFunctionreadDataFromSubASnippet
(transposeA: boolean)
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:240
↓ 1 callersMethodreadFromChain
(lastRead: Promise<IteratorResult<T>>)
tfjs-data/src/iterators/lazy_iterator.ts:952
↓ 1 callersFunctionreadImageAsJpeg
(path)
tfjs-backend-nodegl/demo/run_mobilenet_inference.js:32
↓ 1 callersFunctionreadPixelsFromCanvas
( canvas: HTMLCanvasElement, contextType: string, width: number, height: number)
tfjs-core/src/ops/draw_test.ts:22
↓ 1 callersMethodreadSync
(dataId: object)
tfjs-backend-webgpu/src/backend_webgpu.ts:379
↓ 1 callersMethodreadSync
(dataId: DataId)
tfjs-core/src/engine.ts:1218
↓ 1 callersMethodreadSync
(dataId: DataId)
tfjs-node/src/nodejs_kernel_backend.ts:222
↓ 1 callersMethodreadSync
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:271
↓ 1 callersMethodreadSync
(dataId: DataId, start?: number, end?: number)
tfjs-backend-wasm/src/backend_wasm.ts:118
↓ 1 callersFunctionreadVectorASnippet
(transpose: boolean)
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:417
↓ 1 callersFunctionrecipientMap2Counts
(recipientMap: RecipientMap)
tfjs-layers/src/engine/executor.ts:440
↓ 1 callersMethodrecordAndSubmit
( program: webgpu_program.WebGPUProgram, output: TensorInfo, inputs: TensorInfo[], programDefinedU
tfjs-backend-webgpu/src/backend_webgpu.ts:901
↓ 1 callersMethodrefCount
(dataId: DataId)
tfjs-core/src/backends/backend.ts:43
↓ 1 callersFunctionregisterGradient
(config: GradConfig)
tfjs-core/src/kernel_registry.ts:150
↓ 1 callersFunctionregisterGradientConfigStr
(gradConfigId: string)
tfjs/tools/custom_module/custom_module.ts:124
↓ 1 callersFunctionregisterKernelStr
(kernelConfigId: string)
tfjs/tools/custom_module/custom_module.ts:120
↓ 1 callersFunctionregisterOptimizers
()
tfjs-core/src/optimizers/register_optimizers.ts:37
↓ 1 callersMethodregisterSurface
(name: string, tab: string, surface: SurfaceComponent)
tfjs-vis/src/components/visor.tsx:182
↓ 1 callersFunctionregisterTestEnvs
()
tfjs-backend-webgl/src/backend_webgl_test_registry.ts:28
↓ 1 callersFunctionregisterWebGLBackend
()
tfjs-react-native/src/platform_react_native.ts:192
↓ 1 callersFunctionregularNormalizeBatchInTraining
* Non-broadcasting batch normalization for use in training (not inference). * * The input is normalized to zero mean and unit variance along the *
tfjs-layers/src/layers/normalization.ts:89
↓ 1 callersMethodreleaseGPUData
(dataId: DataId)
tfjs-backend-webgl/src/backend_webgl.ts:693
↓ 1 callersMethodreleaseTexture
(texture: GPUTexture)
tfjs-backend-webgpu/src/texture_manager.ts:66
↓ 1 callersMethodreleaseTexture
( texture: Texture, shape: [number, number], logicalTexType: TextureUsage, isPacked: boolean)
tfjs-backend-webgl/src/texture_manager.ts:89
↓ 1 callersFunctionreleaseWebsite
(args: any)
scripts/release-website.ts:31
↓ 1 callersFunctionremoveBackend
(name: string)
tfjs-core/src/globals.ts:321
↓ 1 callersFunctionremoveLoaderElement
* Remove the loader element under the tab page. * * @param {string} tabId
e2e/benchmarks/browserstack-benchmark/index.js:514
← previousnext →2,601–2,700 of 6,022, ranked by callers