MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

Functionimag_
* Returns the imaginary part of a complex (or real) tensor. * * Given a tensor input, this operation returns a tensor of type float that is * the i
tfjs-core/src/ops/imag.ts:39
FunctionimagesDer
()
tfjs-core/src/gradients/ResizeNearestNeighbor_grad.ts:31
FunctionimagesDer
()
tfjs-core/src/gradients/ResizeBilinear_grad.ts:31
FunctionimportBackendStr
(backend: SupportedBackend)
tfjs/tools/custom_module/esm_module_provider.ts:101
FunctionimportConverterStr
()
tfjs/tools/custom_module/esm_module_provider.ts:97
FunctionimportCoreStr
(forwardModeOnly: boolean)
tfjs/tools/custom_module/esm_module_provider.ts:83
FunctionimportGradientConfigStr
(kernelName: string)
tfjs/tools/custom_module/esm_module_provider.ts:116
FunctionimportKernelStr
(kernelName: string, backend: SupportedBackend)
tfjs/tools/custom_module/esm_module_provider.ts:106
FunctionimportNamespacedOpsForConverterStr
(namespace, opSymbols)
tfjs/tools/custom_module/esm_module_provider.ts:130
FunctionimportOpForConverterStr
(opSymbol)
tfjs/tools/custom_module/esm_module_provider.ts:124
FunctioninTopKAsync_
* Returns whether the targets are in the top K predictions. * * ```js * const predictions = tf.tensor2d([[20, 10, 40, 30], [30, 50, -20, 10]]); *
tfjs-core/src/ops/in_top_k.ts:41
FunctioninTrainPhase
(x: () => T, alt: () => T, training = false)
tfjs-layers/src/backend/tfjs_backend.ts:717
MethodincRef
Increase refCount of a `TensorData`.
tfjs-backend-cpu/src/backend_cpu.ts:106
MethodincRef
Increase refCount of a `TensorData`.
tfjs-backend-webgpu/src/backend_webgpu.ts:253
MethodincRef
(dataId: DataId)
tfjs-core/src/backends/backend.ts:104
MethodincRef
(dataId: DataId)
tfjs-node/src/nodejs_kernel_backend.ts:265
MethodincRef
Increase refCount of a `TextureData`.
tfjs-backend-webgl/src/backend_webgl.ts:239
MethodincRef
(dataId: DataId)
tfjs-backend-wasm/src/backend_wasm.ts:169
FunctionincrementIterations
()
tfjs-core/src/optimizers/optimizer.ts:92
FunctionindexToLoc
( index: number, rank: number, strides: number[])
tfjs-core/src/util_base.ts:718
FunctionindexedDBRouter
(url: string)
tfjs-core/src/io/router_registry_test.ts:36
Methodinfer
()
tfjs-tflite/src/tflite_model_test.ts:53
FunctioninferFromImplicitShape
( shape: number[], size: number)
tfjs-core/src/util_base.ts:335
FunctioninitPage
()
tfjs-backend-webgpu/perf/tune.js:43
Functioninput
* Retrieves the input tensor(s) of a layer. * * Only applicable if the layer has exactly one inbound node, * i.e. if it is connected to one i
tfjs-layers/src/engine/topology.ts:604
FunctioninputLayer
(args: InputLayerArgs)
tfjs-layers/src/exports_layers.ts:72
MethodinputNodes
()
tfjs-converter/src/executor/graph_executor.ts:108
MethodinputNodes
()
tfjs-converter/src/executor/graph_model.ts:63
Methodinputs
()
tfjs-tflite/src/tflite_model.ts:56
Methodinputs
()
tfjs-tfdf/src/tfdf_model.ts:70
Methodinputs
* Return the array of input tensor info. * * @doc {heading: 'Models', subheading: 'SavedModel'}
tfjs-node/src/saved_model.ts:209
Methodinputs
()
tfjs-converter/src/executor/graph_executor.ts:80
Methodinputs
()
tfjs-converter/src/executor/graph_model.ts:71
Methodint
(x: T)
tfjs-node/src/nodejs_kernel_backend.ts:334
FunctioninvokeCallHook
(inputs: Tensor|Tensor[], kwargs: Kwargs)
tfjs-layers/src/engine/topology.ts:855
Functionirfft_
* Inversed real value input fast Fourier transform. * * Computes the 1-dimensional inversed discrete Fourier transform over the * inner-most dimens
tfjs-core/src/ops/spectral/irfft.ts:49
FunctionisBackendSymbolic
()
tfjs-layers/src/backend/tfjs_backend.ts:48
FunctionisBrowser
()
tfjs-core/src/device_util.ts:60
MethodisDisposed
()
tfjs-core/src/tensor.ts:455
FunctionisFinite_
* Returns which elements of x are finite. * * ```js * const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]); * * x.isFinite().print(); // or t
tfjs-core/src/ops/is_finite.ts:39
MethodisFullscreen
* Returns a boolean indicating if the visor is in 'fullscreen' mode * * @doc {heading: 'Visor & Surfaces', subheading: 'Visor Methods'}
tfjs-vis/src/visor.ts:168
MethodisFullscreen
()
tfjs-vis/src/components/visor.tsx:123
FunctionisFunction
(f: Function)
tfjs-core/src/util_base.ts:552
FunctionisIdentityPermutation
(perm: number[])
tfjs-core/src/backends/einsum_util.ts:208
FunctionisInf_
* Returns which elements of x are Infinity or -Infinity. * * ```js * const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]); * * x.isInf().print
tfjs-core/src/ops/is_inf.ts:39
FunctionisMobile
(nav?: Navigator)
tfjs-core/src/device_util.ts:29
FunctionisNaN_
* Returns which elements of x are NaN. * * ```js * const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]); * * x.isNaN().print(); // or tf.isNa
tfjs-core/src/ops/is_nan.ts:39
MethodisNonDisposableNode
(node: Node)
tfjs-converter/src/executor/graph_executor.ts:386
FunctionisNotCustomOp
(kernelName: string)
tfjs/tools/custom_module/cli.ts:127
FunctionisObjectEmpty
(obj: {})
tfjs-layers/src/utils/generic_utils.ts:378
MethodisOpen
()
tfjs-vis/src/components/visor.tsx:119
FunctionisScalarShape
(shape: number[])
tfjs-core/src/util_base.ts:193
MethodisTypedArray
( a: unknown )
tfjs-react-native/src/platform_react_native.ts:176
MethodisTypedArray
(a: unknown)
tfjs-core/src/platforms/platform_node.ts:82
MethodisTypedArray
(a: unknown)
tfjs-core/src/platforms/platform_browser.ts:95
FunctionisValidDtype
(dtype: DataType)
tfjs-core/src/util_base.ts:467
Functioniterations
* The number of iterations that this optimizer instance has been invoked for.
tfjs-core/src/optimizers/optimizer.ts:85
Methoditerator
()
tfjs-data/src/dataset_test.ts:277
Methoditerator
()
tfjs-data/src/sources/url_data_source.ts:47
Methoditerator
()
tfjs-data/src/sources/file_data_source.ts:45
Methoditerator
()
tfjs-data/src/datasets/text_line_dataset.ts:38
Methoditerator
()
tfjs-layers/src/engine/dataset_fakes.ts:224
Functionjson
()
tfjs-core/src/io/http_test.ts:69
Methodkernel
()
tfjs-layers/src/layers/nlp/einsum_dense.ts:369
FunctionkernelFunc
({inputs, backend})
tfjs-node/src/kernels/FlipLeftRight.ts:25
FunctionkernelFunc
(args: {backend: BackendWasm, inputs: BinaryInputs})
tfjs-backend-wasm/src/kernels/binary_kernel.ts:45
FunctionkernelFunc
(args: {backend: BackendWasm, inputs: UnaryInputs})
tfjs-backend-wasm/src/kernels/unary_kernel.ts:36
FunctionkernelFunc
(args: { backend: BackendWasm, inputs: NonMaxSuppressionV5Inputs, attrs: NonMaxSuppressionV5Attrs })
tfjs-backend-wasm/src/kernels/NonMaxSuppressionV5.ts:43
FunctionkernelFunc
(args: { backend: BackendWasm, inputs: ArgMinInputs&ArgMaxInputs, attrs: ArgMinAttrs&ArgMaxAttrs,
tfjs-backend-wasm/src/kernels/argminmax_kernel.ts:40
FunctionkernelFunc
(args: { backend: BackendWasm, inputs: NonMaxSuppressionV3Inputs, attrs: NonMaxSuppressionV3Attrs })
tfjs-backend-wasm/src/kernels/NonMaxSuppressionV3.ts:41
MethodkernelNames
()
tfjs-core/src/engine.ts:155
FunctionkernelWith3Outputs
()
tfjs-core/src/engine_test.ts:740
FunctionkernelWithComplexOutputs
()
tfjs-core/src/engine_test.ts:752
FunctionkernelWithMemLeak
()
tfjs-core/src/engine_test.ts:713
MethodkeyHandler
(event: KeyboardEvent)
tfjs-vis/src/components/visor.tsx:188
FunctionkullbackLeiblerDivergence
( yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/losses.ts:202
Functionl1
(config?: L1Args)
tfjs-layers/src/exports_regularizers.ts:35
Functionl1
(args?: L1Args)
tfjs-layers/src/regularizers.ts:100
Functionl1l2
(config?: L1L2Args)
tfjs-layers/src/exports_regularizers.ts:22
Functionl2
(config?: L2Args)
tfjs-layers/src/exports_regularizers.ts:48
Functionl2
(args: L2Args)
tfjs-layers/src/regularizers.ts:105
FunctionlRN
( args: {inputs: LRNInputs, backend: MathBackendCPU, attrs: LRNAttrs})
tfjs-backend-cpu/src/kernels/LRN.ts:23
FunctionlRNGrad
( args: {inputs: LRNGradInputs, backend: MathBackendCPU, attrs: LRNGradAttrs})
tfjs-backend-cpu/src/kernels/LRNGrad.ts:23
FunctionlayerNormalization
(args?: LayerNormalizationLayerArgs)
tfjs-layers/src/exports_layers.ts:900
FunctionleCunNormal
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:183
FunctionleCunUniform
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:196
FunctionleakyReLU
(args?: LeakyReLULayerArgs)
tfjs-layers/src/exports_layers.ts:147
FunctionleakyRelu
(args: { inputs: LeakyReluInputs, backend: WebGPUBackend, attrs: LeakyReluAttrs })
tfjs-backend-webgpu/src/kernels/LeakyRelu.ts:24
FunctionleakyRelu
(args: { inputs: LeakyReluInputs, backend: MathBackendWebGL, attrs: LeakyReluAttrs })
tfjs-backend-webgl/src/kernels/LeakyRelu.ts:29
FunctionleakyRelu
( args: {inputs: LeakyReluInputs, attrs: LeakyReluAttrs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/LeakyRelu.ts:36
FunctionleakyRelu_
* Computes leaky rectified linear element-wise. * * See * [http://web.stanford.edu/~awni/papers/relu_hybrid_icml2013_final.pdf]( * http://web.
tfjs-core/src/ops/leaky_relu.ts:45
FunctionlessEqual_
* Returns the truth value of (a <= b) element-wise. Supports broadcasting. * * ```js * const a = tf.tensor1d([1, 2, 3]); * const b = tf.tensor1d([
tfjs-core/src/ops/less_equal.ts:43
Functionless_
* Returns the truth value of (a < b) element-wise. Supports broadcasting. * * ```js * const a = tf.tensor1d([1, 2, 3]); * const b = tf.tensor1d([2
tfjs-core/src/ops/less.ts:42
FunctionlinSpace
(args: {backend: MathBackendCPU, attrs: LinSpaceAttrs})
tfjs-backend-cpu/src/kernels/LinSpace.ts:23
FunctionlinSpace
(args: {backend: WebGPUBackend, attrs: LinSpaceAttrs})
tfjs-backend-webgpu/src/kernels/LinSpace.ts:23
FunctionlinSpace
( args: {backend: MathBackendWebGL, attrs: LinSpaceAttrs})
tfjs-backend-webgl/src/kernels/LinSpace.ts:23
FunctionlinSpace
(args: {attrs: LinSpaceAttrs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/LinSpace.ts:34
FunctionlinkProgram
(gl: WebGLRenderingContext, program: WebGLProgram)
tfjs-backend-webgl/src/webgl_util.ts:150
Functionlinspace
(start: number, stop: number, num: number)
tfjs-core/src/ops/linspace.ts:35
FunctionlistModels
* List all models stored in registered storage mediums. * * For a web browser environment, the registered mediums are Local Storage and * IndexedDB
tfjs-core/src/io/model_management.ts:198
← previousnext →4,701–4,800 of 6,022, ranked by callers