MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

Methodexecute_model
(tensor)
tfjs-converter/python/tensorflowjs/converters/fuse_prelu_test.py:57
Methodexecute_model
(tensor)
tfjs-converter/python/tensorflowjs/converters/fuse_depthwise_conv2d_test.py:49
Functionexecutor
()
tfjs-converter/src/operations/custom_op/register_test.ts:25
Functionexp_
* Computes exponential of the input `tf.Tensor` element-wise. `e ^ x` * * ```js * const x = tf.tensor1d([1, 2, -3]); * * x.exp().print(); // or
tfjs-core/src/ops/exp.ts:39
FunctionexpandDims_
* Returns a `tf.Tensor` that has expanded rank, by inserting a dimension * into the tensor's shape. * * ```js * const x = tf.tensor1d([1, 2, 3, 4]
tfjs-core/src/ops/expand_dims.ts:45
Functionexpand_input_path
Expand the relative input path to absolute path, and add layers model file name to the end if input format is `tfjs_layers_model`. Args: input
tfjs-converter/python/tensorflowjs/converters/wizard.py:184
Functionexpm1_
* Computes exponential of the input `tf.Tensor` minus one element-wise. * `e ^ x - 1` * * ```js * const x = tf.tensor1d([1, 2, -3]); * * x.expm1
tfjs-core/src/ops/expm1.ts:40
Functionexponent
( k: number, n: number, inverse: boolean)
tfjs-core/src/backends/complex_util.ts:147
Functionexponents
( n: number, inverse: boolean)
tfjs-core/src/backends/complex_util.ts:132
Methodexported_function
(x)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:311
FunctionextractIterations
* Extract the first element of the weight values and set it * as the iterations counter variable of this instance of optimizer. * * @param we
tfjs-core/src/optimizers/optimizer.ts:161
FunctioneyeVariable
( size: number, dtype?: DataType, name?: string)
tfjs-layers/src/variables.ts:220
Functioneye_
* Create an identity matrix. * * @param numRows Number of rows. * @param numColumns Number of columns. Defaults to `numRows`. * @param batchShape
tfjs-core/src/ops/eye.ts:41
Functionf
()
tfjs-data/src/readers_test.ts:26
Functionf
()
tfjs-core/src/gradients_test.ts:132
Functionf
()
tfjs-core/src/debug_mode_test.ts:87
Functionf
()
tfjs-core/src/ops/logical_xor_test.ts:22
Functionf
()
tfjs-core/src/ops/equal_test.ts:83
Functionf
()
tfjs-core/src/ops/clip_by_value_test.ts:58
Functionf
()
tfjs-core/src/ops/split_test.ts:72
Functionf
()
tfjs-core/src/ops/not_equal_test.ts:82
Functionf
()
tfjs-core/src/ops/mirror_pad_test.ts:130
Functionf
()
tfjs-core/src/ops/batchnorm_test.ts:846
Functionf
()
tfjs-core/src/ops/log_softmax_test.ts:67
Functionf
()
tfjs-core/src/ops/broadcast_util_test.ts:52
Functionf
()
tfjs-core/src/ops/pad_test.ts:71
Functionf
()
tfjs-core/src/ops/mat_mul_test.ts:170
Functionf
(a: Tensor)
tfjs-core/src/ops/broadcast_to_test.ts:33
Functionf
()
tfjs-core/src/ops/greater_test.ts:103
Functionf
()
tfjs-core/src/ops/operation_test.ts:22
Functionf
()
tfjs-core/src/ops/where_test.ts:35
Functionf
()
tfjs-core/src/ops/expand_dims_test.ts:30
Functionf
()
tfjs-core/src/ops/logical_or_test.ts:22
Functionf
()
tfjs-core/src/ops/greater_equal_test.ts:89
Functionf
()
tfjs-core/src/ops/less_equal_test.ts:102
Functionf
()
tfjs-core/src/ops/less_test.ts:101
Functionf
()
tfjs-core/src/ops/stack_test.ts:36
Functionf
()
tfjs-core/src/ops/logical_and_test.ts:39
Functionf
()
tfjs-core/src/ops/softmax_test.ts:79
Functionf
(x: tf.Scalar)
tfjs-core/src/ops/arithmetic_test.ts:787
Functionf
()
tfjs-core/src/optimizers/momentum_optimizer_test.ts:30
Functionf
()
tfjs-core/src/optimizers/adam_optimizer_test.ts:32
Functionf
()
tfjs-core/src/optimizers/adagrad_optimizer_test.ts:31
Functionf
()
tfjs-core/src/optimizers/rmsprop_optimizer_test.ts:32
Functionf
()
tfjs-core/src/optimizers/adamax_optimizer_test.ts:34
Functionf
()
tfjs-core/src/optimizers/optimizer_test.ts:39
Functionf
()
tfjs-core/src/optimizers/adadelta_optimizer_test.ts:31
Functionf2
(...args: any[])
tfjs-core/src/ops/operation.ts:48
Functionfactory
()
tfjs-core/src/engine_test.ts:61
FunctionfakeLoadOptionsRouter
(url: string, loadOptions?: LoadOptions)
tfjs-core/src/io/router_registry_test.ts:121
FunctionfakeMetric
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/metrics_test.ts:340
FunctionfakeMultiStringRouter
(url: string|string[])
tfjs-core/src/io/router_registry_test.ts:49
FunctionfakeWarn
(message: string)
tfjs-layers/src/callbacks_test.ts:200
Methodfeatures
()
tfjs-core/src/environment.ts:128
Methodfetch
* Makes an HTTP request. * * see @fetch docs above.
tfjs-react-native/src/platform_react_native.ts:135
Methodfetch
(path: string, requestInits?: RequestInit)
tfjs-core/src/platforms/platform_node.ts:53
Methodfetch
(path: string, init?: RequestInit)
tfjs-core/src/platforms/platform_browser.ts:39
FunctionfetchWeights
(fetchUrls: string[])
tfjs-core/src/io/weights_loader.ts:127
Functionfft
(args: {inputs: FFTInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/FFT.ts:24
Functionfft
(args: {inputs: FFTInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/FFT.ts:24
Functionfft_
* Fast Fourier transform. * * Computes the 1-dimensional discrete Fourier transform over the inner-most * dimension of input. * * ```js * const
tfjs-core/src/ops/spectral/fft.ts:42
FunctionfileSystem
(path: string|string[])
tfjs-node/src/io/file_system.ts:265
FunctionfillFn
()
tfjs-layers/src/utils/generic_utils_test.ts:34
Functionfilter
* Filters this dataset according to `predicate`. * * ```js * const a = tf.data.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) * .filter(x => x%2
tfjs-data/src/dataset.ts:214
Functionfilter
* Filters this stream according to `predicate`. * * @param predicate A function mapping a stream element to a boolean or a * `Promise` for on
tfjs-data/src/iterators/lazy_iterator.ts:261
FunctionfindBackend
(name: string)
tfjs-core/src/globals.ts:329
FunctionfindBackendFactory
(name: string)
tfjs-core/src/globals.ts:338
FunctionfindLayer
(index: number)
tfjs-layers/src/engine/container.ts:1046
Methodfind_next_odd
(v)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:277
Functionflatmap
* Maps this stream through a 1-to-many transform. * * @param transform A function mapping a stream element to an array of * transformed ele
tfjs-data/src/iterators/lazy_iterator.ts:309
Functionflatten
(args?: FlattenLayerArgs)
tfjs-layers/src/exports_layers.ts:592
Functionflatten
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:120
Functionflatten
(inputs: T[][])
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:204
FunctionflipLeftRight
( args: {inputs: FlipLeftRightInputs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/FlipLeftRight.ts:37
FunctionflipLeftRight_
@doc {heading: 'Operations', subheading: 'Images', namespace: 'image'}
tfjs-core/src/ops/image/flip_left_right.ts:34
MethodfloatPrecision
()
tfjs-backend-cpu/src/backend_cpu.ts:225
MethodfloatPrecision
()
tfjs-backend-webgpu/src/backend_webgpu.ts:172
MethodfloatPrecision
()
tfjs-node/src/nodejs_kernel_backend.ts:162
MethodfloatPrecision
()
tfjs-backend-wasm/src/backend_wasm.ts:176
FunctionfloorDiv_
* Divides two `tf.Tensor`s element-wise, A / B. Supports broadcasting. * The result is rounded with floor function. * * * ```js * const a = tf.te
tfjs-core/src/ops/floorDiv.ts:54
Functionfloor_
* Computes floor of input `tf.Tensor` element-wise: `floor(x)`. * * ```js * const x = tf.tensor1d([.6, 1.1, -3.3]); * * x.floor().print(); // or
tfjs-core/src/ops/floor.ts:38
Functionfold_batch_norms
Removes batch normalization ops by folding them into convolutions. Batch normalization during training has multiple dynamic parameters that are u
tfjs-converter/python/tensorflowjs/converters/fold_batch_norms.py:50
FunctionforEachAsync
* Apply a function to every element of the dataset. * * After the function is applied to a dataset element, any Tensors contained * within th
tfjs-data/src/dataset.ts:246
FunctionforEachAsync
* Apply a function to every element of the stream. * * @param f A function to apply to each stream element.
tfjs-data/src/iterators/lazy_iterator.ts:318
Functionforward
(x: tfc.Tensor)
e2e/integration_tests/grad_layers_test.ts:43
MethodforwardFunc
(_, save)
tfjs-core/src/engine.ts:1177
FunctionfragmentShaderSource
( sourceDims: Dimensions, targetDims: Dimensions, alignCorners: boolean)
tfjs-react-native/src/camera/resize_nearest_neigbor_program_info.ts:41
FunctionfragmentShaderSource
()
tfjs-react-native/src/camera/draw_texture_program_info.ts:52
FunctionfragmentShaderSource
( sourceDims: Dimensions, targetDims: Dimensions, alignCorners: boolean)
tfjs-react-native/src/camera/resize_bilinear_program_info.ts:41
Functionframe_
* Expands input into frames of frameLength. * Slides a window size with frameStep. * * ```js * tf.signal.frame([1, 2, 3], 2, 1).print(); * ``` *
tfjs-core/src/ops/signal/frame.ts:42
FunctionfromConfig
@nocollapse
tfjs-layers/src/engine/container.ts:1197
FunctionfromConfig
@nocollapse
tfjs-core/src/serialization.ts:117
MethodfromConfig
@nocollapse
tfjs-layers/src/models.ts:1006
MethodfromConfig
@nocollapse
tfjs-layers/src/regularizers.ts:92
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/convolutional_recurrent.ts:573
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/wrappers.ts:572
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1254
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1568
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1906
MethodfromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:2033
← previousnext →4,201–4,300 of 6,022, ranked by callers