MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

Functioncumprod
(args: { inputs: CumprodInputs, backend: MathBackendWebGL, attrs: CumprodAttrs })
tfjs-backend-webgl/src/kernels/Cumprod.ts:24
Functioncumprod
( args: {inputs: CumprodInputs, backend: BackendWasm, attrs: CumprodAttrs})
tfjs-backend-wasm/src/kernels/Cumprod.ts:40
Functioncumprod_
* Computes the cumulative product of a `tf.Tensor` along `axis`. * * ```js * const x = tf.tensor([1, 2, 3, 4]); * x.cumprod().print(); * ``` * `
tfjs-core/src/ops/cumprod.ts:51
Functioncumsum
( args: {inputs: CumsumInputs, backend: WebGPUBackend, attrs: CumsumAttrs})
tfjs-backend-webgpu/src/kernels/Cumsum.ts:24
Functioncumsum
( args: {inputs: CumsumInputs, backend: MathBackendWebGL, attrs: CumsumAttrs})
tfjs-backend-webgl/src/kernels/Cumsum.ts:24
Functioncumsum
( args: {inputs: CumsumInputs, backend: BackendWasm, attrs: CumsumAttrs})
tfjs-backend-wasm/src/kernels/Cumsum.ts:40
Functioncumsum_
* Computes the cumulative sum of a `tf.Tensor` along `axis`. * * ```js * const x = tf.tensor([1, 2, 3, 4]); * x.cumsum().print(); * ``` * ```js
tfjs-core/src/ops/cumsum.ts:51
MethodcurrentContext
* Set the current context * @param contexts: ExecutionContextInfo[] the current path of execution * frames
tfjs-converter/src/executor/execution_context.ts:65
MethodcurrentContextId
* Returns the current context in string format.
tfjs-converter/src/executor/execution_context.ts:79
MethodcurrentContextIds
* Returns the current context and all parent contexts in string format. * This allow access to the nodes in the current and parent frames.
tfjs-converter/src/executor/execution_context.ts:87
FunctioncustomFetch
( input: RequestInfo, init?: RequestInit)
tfjs-core/src/io/http_test.ts:882
FunctioncustomInclude
(testName: string)
tfjs-backend-cpu/src/setup_test.ts:32
FunctioncustomInclude
(testName: string)
tfjs-backend-cpu/src/run_tests.ts:46
FunctioncustomInclude
(testName: string)
tfjs-backend-webgpu/src/setup_test.ts:190
FunctioncustomInclude
(testName: string)
tfjs-backend-webgl/src/setup_test.ts:35
FunctioncustomInclude
(testName: string)
tfjs-backend-wasm/src/setup_test.ts:414
FunctioncustomLoss
(x: Tensor, y: Tensor)
tfjs-layers/src/losses_test.ts:395
Methoddata
()
tfjs-core/src/tensor.ts:534
FunctiondataGenerator
()
tfjs-data/src/readers_test.ts:34
MethoddataSync
()
tfjs-core/src/tensor.ts:533
MethoddataToGPU
* Copy the tensor's data to a new GPU resource. Comparing to the `dataSync()` * and `data()`, this method prevents data from being downloaded to CP
tfjs-core/src/tensor.ts:400
Functiondebounce
( f: (...args: Array<{}>) => T, waitMs: number, nowFunc?: Function)
tfjs-layers/src/utils/generic_utils.ts:487
MethoddecRef
Decrease refCount of a `TensorData`.
tfjs-backend-cpu/src/backend_cpu.ts:112
MethoddecRef
Decrease refCount of a `TensorData`.
tfjs-backend-webgpu/src/backend_webgpu.ts:259
MethoddecRef
Decrease refCount of a `TextureData`.
tfjs-backend-webgl/src/backend_webgl.ts:245
Methoddecode
Decode the provided bytes into a string using the provided encoding.
tfjs-react-native/src/platform_react_native.ts:155
Methoddecode
(bytes: Uint8Array, encoding: string)
tfjs-core/src/platforms/platform_node.ts:76
Methoddecode
(bytes: Uint8Array, encoding: string)
tfjs-core/src/platforms/platform_browser.ts:57
FunctiondecodeAsBuffer
(data: ArrayBuffer, specs: tf.io.WeightsManifestEntry[])
tfjs-core/src/io/io_utils_test.ts:488
FunctiondecodeAsStream
(data: ArrayBuffer, specs: tf.io.WeightsManifestEntry[])
tfjs-core/src/io/io_utils_test.ts:497
FunctiondecodeEinsumEquation
(equation: string, numTensors: number)
tfjs-core/src/backends/einsum_util.ts:44
FunctiondecodeImage
( content: Uint8Array, channels = 0, dtype = 'int32', expandAnimations = true)
tfjs-node/src/image.ts:155
FunctiondecodeJpeg
( contents: Uint8Array, channels: 0|1|3 = 3)
tfjs-react-native/src/decode_image.ts:34
FunctiondecodeMatrixFromUnpackedColorRGBAArray
( unpackedArray: Float32Array, matrix: Float32Array, channels: number)
tfjs-backend-webgl/src/tex_util.ts:138
FunctiondecodeUTF8
* Decode a stream of UTF8-encoded byte arrays to a stream of strings. * * The byte arrays producetd from the ByteChunkIterator on which this is
tfjs-data/src/iterators/byte_chunk_iterator.ts:33
FunctiondeepBatchConcat
(rows: any[])
tfjs-data/src/dataset.ts:669
FunctiondefaultComparator
* Compares its two arguments for order. * @param a The first element to be compared. * @param b The second element to be compared. * @return A nega
tfjs-core/src/backends/non_max_suppression_util.ts:65
MethoddeleteModelData
()
tfjs-core/src/io/indexed_db.ts:337
MethoddeleteSavedModel
(id: number)
tfjs-node/src/nodejs_kernel_backend.ts:451
Functiondense
(args: DenseLayerArgs)
tfjs-layers/src/exports_layers.ts:519
FunctiondenseBincount
(args: { inputs: DenseBincountInputs, backend: WebGPUBackend, attrs: DenseBincountAttrs })
tfjs-backend-webgpu/src/kernels/DenseBincount.ts:25
FunctiondenseBincount
(args: { inputs: DenseBincountInputs, backend: MathBackendWebGL, attrs: DenseBincountAttrs })
tfjs-backend-webgl/src/kernels/DenseBincount.ts:23
FunctiondenseBincount
(args: { backend: BackendWasm, inputs: DenseBincountInputs, attrs: DenseBincountAttrs })
tfjs-backend-wasm/src/kernels/DenseBincount.ts:42
FunctiondenseBincount_
* Outputs a vector with length `size` and the same dtype as `weights`. * * If `weights` are empty, then index `i` stores the number of times the val
tfjs-core/src/ops/dense_bincount.ts:48
FunctiondepthToSpace
(args: { inputs: DepthToSpaceInputs, backend: WebGPUBackend, attrs: DepthToSpaceAttrs })
tfjs-backend-webgpu/src/kernels/DepthToSpace.ts:23
FunctiondepthToSpace
(args: { inputs: DepthToSpaceInputs, backend: MathBackendWebGL, attrs: DepthToSpaceAttrs })
tfjs-backend-webgl/src/kernels/DepthToSpace.ts:23
FunctiondepthToSpace
(args: { backend: BackendWasm, inputs: DepthToSpaceInputs, attrs: DepthToSpaceAttrs })
tfjs-backend-wasm/src/kernels/DepthToSpace.ts:41
FunctiondepthToSpace_
* Rearranges data from depth into blocks of spatial data. More specifically, * this op outputs a copy of the input tensor where values from the `dept
tfjs-core/src/ops/depth_to_space.ts:66
FunctiondepthwiseConv2d
(args: { inputs: DepthwiseConv2dNativeInputs, backend: BackendWasm, attrs: DepthwiseConv2dNativeAttrs })
tfjs-backend-wasm/src/kernels/DepthwiseConv2dNative.ts:55
FunctiondepthwiseConv2dNative
(args: { inputs: DepthwiseConv2dNativeInputs, attrs: DepthwiseConv2dNativeAttrs, backend: WebGPUBackend
tfjs-backend-webgpu/src/kernels/DepthwiseConv2dNative.ts:25
FunctiondepthwiseConv2dNative
(args: { inputs: DepthwiseConv2dNativeInputs, attrs: DepthwiseConv2dNativeAttrs, backend: MathBackendWeb
tfjs-backend-webgl/src/kernels/DepthwiseConv2dNative.ts:24
FunctiondepthwiseConv2dNativeBackpropFilter
(args: { inputs: DepthwiseConv2dNativeBackpropFilterInputs, attrs: DepthwiseConv2dNativeBackpropFilterAttr
tfjs-backend-webgpu/src/kernels/DepthwiseConv2dNativeBackpropFilter.ts:23
FunctiondepthwiseConv2dNativeBackpropFilter
(args: { inputs: DepthwiseConv2dNativeBackpropFilterInputs, attrs: DepthwiseConv2dNativeBackpropFilterAttr
tfjs-backend-webgl/src/kernels/DepthwiseConv2dNativeBackpropFilter.ts:23
FunctiondepthwiseConv2dNativeBackpropFilter_
( x: T, dy: T, filterShape: [number, number, number, number], strides: [number, number]|number, pa
tfjs-core/src/ops/depthwise_conv2d_native_backprop_filter.ts:27
FunctiondepthwiseConv2dNativeBackpropInput
(args: { inputs: DepthwiseConv2dNativeBackpropInputInputs, attrs: DepthwiseConv2dNativeBackpropInputAttrs,
tfjs-backend-webgpu/src/kernels/DepthwiseConv2dNativeBackpropInput.ts:23
FunctiondepthwiseConv2dNativeBackpropInput
(args: { inputs: DepthwiseConv2dNativeBackpropInputInputs, attrs: DepthwiseConv2dNativeBackpropInputAttrs,
tfjs-backend-webgl/src/kernels/DepthwiseConv2dNativeBackpropInput.ts:23
FunctiondepthwiseConv2dNativeBackpropInput_
( xShape: [number, number, number, number], dy: T, filter: Tensor4D, strides: [number, number]|number,
tfjs-core/src/ops/depthwise_conv2d_native_backprop_input.ts:27
FunctiondepthwiseConv2d_
* Depthwise 2D convolution. * * Given a 4D `input` array and a `filter` array of shape * `[filterHeight, filterWidth, inChannels, channelMultiplier
tfjs-core/src/ops/depthwise_conv2d.ts:75
Methoddepthwise_addV2
(x)
tfjs-converter/python/tensorflowjs/converters/normalize_bias_add_test.py:68
Functiondequantize_weights
(data, metadata, original_dtype=np.float32)
tfjs-converter/python/tensorflowjs/quantization.py:151
FunctionderA
()
tfjs-core/src/gradients/Add_grad.ts:32
FunctionderA
()
tfjs-core/src/gradients/Maximum_grad.ts:31
FunctionderA
()
tfjs-core/src/gradients/SquaredDifference_grad.ts:31
FunctionderA
()
tfjs-core/src/gradients/Minimum_grad.ts:31
FunctionderA
()
tfjs-core/src/gradients/Mod_grad.ts:36
FunctionderA
()
tfjs-core/src/gradients/Multiply_grad.ts:34
FunctionderA
()
tfjs-core/src/gradients/Sub_grad.ts:33
FunctionderA
()
tfjs-core/src/gradients/FloorDiv_grad.ts:37
FunctionderA
()
tfjs-core/src/gradients/Atan2_grad.ts:37
FunctionderA
()
tfjs-core/src/gradients/RealDiv_grad.ts:37
FunctionderB
()
tfjs-core/src/gradients/Add_grad.ts:40
FunctionderB
()
tfjs-core/src/gradients/Maximum_grad.ts:32
FunctionderB
()
tfjs-core/src/gradients/SquaredDifference_grad.ts:32
FunctionderB
()
tfjs-core/src/gradients/Minimum_grad.ts:32
FunctionderB
()
tfjs-core/src/gradients/Mod_grad.ts:43
FunctionderB
()
tfjs-core/src/gradients/Multiply_grad.ts:42
FunctionderB
()
tfjs-core/src/gradients/Sub_grad.ts:41
FunctionderB
()
tfjs-core/src/gradients/FloorDiv_grad.ts:45
FunctionderB
()
tfjs-core/src/gradients/Atan2_grad.ts:46
FunctionderB
()
tfjs-core/src/gradients/RealDiv_grad.ts:45
FunctionderBase
()
tfjs-core/src/gradients/Pow_grad.ts:44
FunctionderExp
()
tfjs-core/src/gradients/Pow_grad.ts:53
FunctionderMean
()
tfjs-core/src/gradients/FusedBatchNorm_grad.ts:69
FunctionderOffset
()
tfjs-core/src/gradients/FusedBatchNorm_grad.ts:94
FunctionderScale
()
tfjs-core/src/gradients/FusedBatchNorm_grad.ts:85
FunctionderVariance
()
tfjs-core/src/gradients/FusedBatchNorm_grad.ts:77
FunctionderX
()
tfjs-core/src/gradients/FusedBatchNorm_grad.ts:56
FunctionderX
()
tfjs-core/src/gradients/UnsortedSegmentSum_grad.ts:37
FunctionderX
()
tfjs-core/src/gradients/Tile_grad.ts:32
FunctionderX
()
tfjs-core/src/gradients/Mean_grad.ts:39
FunctionderXBatched
()
tfjs-core/src/gradients/GatherV2_grad.ts:71
FunctiondescribeBrowserEnvs
(testName: string, tests: () => void)
tfjs-data/src/util/test_utils.ts:78
Functiondeserialize_keras_model
Deserialize a Keras Model from buffers or file-like objects. Args: config: content of the JSON containing model topology and weights manifest,
tfjs-converter/python/tensorflowjs/converters/keras_tfjs_loader.py:190
Methoddetect
(input: ImageData|HTMLImageElement|HTMLCanvasElement| HTMLVideoElement)
tfjs-tflite/src/tflite_task_library_client/object_detector.ts:86
FunctiondetermineMeanAndStddev
(data: Tensor2D)
tfjs-data/demo/boston-housing/normalization.ts:28
Functiondetokenize
* Transform tokens back into strings. * * @param inputs Input tensor. * @param kwargs Additional keyword arguments.
tfjs-layers/src/layers/nlp/tokenizers.ts:91
Functiondiag
(args: {inputs: DiagInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/Diag.ts:22
Functiondiag
(args: {inputs: DiagInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Diag.ts:24
Functiondiag
(args: {inputs: DiagInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Diag.ts:24
Functiondiag
(args: {inputs: DiagInputs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/Diag.ts:36
← previousnext →4,001–4,100 of 6,022, ranked by callers