Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs
/ functions
Functions
6,022 in github.com/tensorflow/tfjs
⨍
Functions
6,022
◇
Types & classes
1,932
↳
Endpoints
2
Method
execute_model
(tensor)
tfjs-converter/python/tensorflowjs/converters/fuse_prelu_test.py:57
Method
execute_model
(tensor)
tfjs-converter/python/tensorflowjs/converters/fuse_depthwise_conv2d_test.py:49
Function
executor
()
tfjs-converter/src/operations/custom_op/register_test.ts:25
Function
exp_
* 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
Function
expandDims_
* 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
Function
expand_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
Function
expm1_
* 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
Function
exponent
( k: number, n: number, inverse: boolean)
tfjs-core/src/backends/complex_util.ts:147
Function
exponents
( n: number, inverse: boolean)
tfjs-core/src/backends/complex_util.ts:132
Method
exported_function
(x)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:311
Function
extractIterations
* 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
Function
eyeVariable
( size: number, dtype?: DataType, name?: string)
tfjs-layers/src/variables.ts:220
Function
eye_
* 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
Function
f
()
tfjs-data/src/readers_test.ts:26
Function
f
()
tfjs-core/src/gradients_test.ts:132
Function
f
()
tfjs-core/src/debug_mode_test.ts:87
Function
f
()
tfjs-core/src/ops/logical_xor_test.ts:22
Function
f
()
tfjs-core/src/ops/equal_test.ts:83
Function
f
()
tfjs-core/src/ops/clip_by_value_test.ts:58
Function
f
()
tfjs-core/src/ops/split_test.ts:72
Function
f
()
tfjs-core/src/ops/not_equal_test.ts:82
Function
f
()
tfjs-core/src/ops/mirror_pad_test.ts:130
Function
f
()
tfjs-core/src/ops/batchnorm_test.ts:846
Function
f
()
tfjs-core/src/ops/log_softmax_test.ts:67
Function
f
()
tfjs-core/src/ops/broadcast_util_test.ts:52
Function
f
()
tfjs-core/src/ops/pad_test.ts:71
Function
f
()
tfjs-core/src/ops/mat_mul_test.ts:170
Function
f
(a: Tensor)
tfjs-core/src/ops/broadcast_to_test.ts:33
Function
f
()
tfjs-core/src/ops/greater_test.ts:103
Function
f
()
tfjs-core/src/ops/operation_test.ts:22
Function
f
()
tfjs-core/src/ops/where_test.ts:35
Function
f
()
tfjs-core/src/ops/expand_dims_test.ts:30
Function
f
()
tfjs-core/src/ops/logical_or_test.ts:22
Function
f
()
tfjs-core/src/ops/greater_equal_test.ts:89
Function
f
()
tfjs-core/src/ops/less_equal_test.ts:102
Function
f
()
tfjs-core/src/ops/less_test.ts:101
Function
f
()
tfjs-core/src/ops/stack_test.ts:36
Function
f
()
tfjs-core/src/ops/logical_and_test.ts:39
Function
f
()
tfjs-core/src/ops/softmax_test.ts:79
Function
f
(x: tf.Scalar)
tfjs-core/src/ops/arithmetic_test.ts:787
Function
f
()
tfjs-core/src/optimizers/momentum_optimizer_test.ts:30
Function
f
()
tfjs-core/src/optimizers/adam_optimizer_test.ts:32
Function
f
()
tfjs-core/src/optimizers/adagrad_optimizer_test.ts:31
Function
f
()
tfjs-core/src/optimizers/rmsprop_optimizer_test.ts:32
Function
f
()
tfjs-core/src/optimizers/adamax_optimizer_test.ts:34
Function
f
()
tfjs-core/src/optimizers/optimizer_test.ts:39
Function
f
()
tfjs-core/src/optimizers/adadelta_optimizer_test.ts:31
Function
f2
(...args: any[])
tfjs-core/src/ops/operation.ts:48
Function
factory
()
tfjs-core/src/engine_test.ts:61
Function
fakeLoadOptionsRouter
(url: string, loadOptions?: LoadOptions)
tfjs-core/src/io/router_registry_test.ts:121
Function
fakeMetric
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/metrics_test.ts:340
Function
fakeMultiStringRouter
(url: string|string[])
tfjs-core/src/io/router_registry_test.ts:49
Function
fakeWarn
(message: string)
tfjs-layers/src/callbacks_test.ts:200
Method
features
()
tfjs-core/src/environment.ts:128
Method
fetch
* Makes an HTTP request. * * see @fetch docs above.
tfjs-react-native/src/platform_react_native.ts:135
Method
fetch
(path: string, requestInits?: RequestInit)
tfjs-core/src/platforms/platform_node.ts:53
Method
fetch
(path: string, init?: RequestInit)
tfjs-core/src/platforms/platform_browser.ts:39
Function
fetchWeights
(fetchUrls: string[])
tfjs-core/src/io/weights_loader.ts:127
Function
fft
(args: {inputs: FFTInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/FFT.ts:24
Function
fft
(args: {inputs: FFTInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/FFT.ts:24
Function
fft_
* 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
Function
fileSystem
(path: string|string[])
tfjs-node/src/io/file_system.ts:265
Function
fillFn
()
tfjs-layers/src/utils/generic_utils_test.ts:34
Function
filter
* 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
Function
filter
* 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
Function
findBackend
(name: string)
tfjs-core/src/globals.ts:329
Function
findBackendFactory
(name: string)
tfjs-core/src/globals.ts:338
Function
findLayer
(index: number)
tfjs-layers/src/engine/container.ts:1046
Method
find_next_odd
(v)
tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2_test.py:277
Function
flatmap
* 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
Function
flatten
(args?: FlattenLayerArgs)
tfjs-layers/src/exports_layers.ts:592
Function
flatten
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:120
Function
flatten
(inputs: T[][])
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:204
Function
flipLeftRight
( args: {inputs: FlipLeftRightInputs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/FlipLeftRight.ts:37
Function
flipLeftRight_
@doc {heading: 'Operations', subheading: 'Images', namespace: 'image'}
tfjs-core/src/ops/image/flip_left_right.ts:34
Method
floatPrecision
()
tfjs-backend-cpu/src/backend_cpu.ts:225
Method
floatPrecision
()
tfjs-backend-webgpu/src/backend_webgpu.ts:172
Method
floatPrecision
()
tfjs-node/src/nodejs_kernel_backend.ts:162
Method
floatPrecision
()
tfjs-backend-wasm/src/backend_wasm.ts:176
Function
floorDiv_
* 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
Function
floor_
* 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
Function
fold_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
Function
forEachAsync
* 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
Function
forEachAsync
* 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
Function
forward
(x: tfc.Tensor)
e2e/integration_tests/grad_layers_test.ts:43
Method
forwardFunc
(_, save)
tfjs-core/src/engine.ts:1177
Function
fragmentShaderSource
( sourceDims: Dimensions, targetDims: Dimensions, alignCorners: boolean)
tfjs-react-native/src/camera/resize_nearest_neigbor_program_info.ts:41
Function
fragmentShaderSource
()
tfjs-react-native/src/camera/draw_texture_program_info.ts:52
Function
fragmentShaderSource
( sourceDims: Dimensions, targetDims: Dimensions, alignCorners: boolean)
tfjs-react-native/src/camera/resize_bilinear_program_info.ts:41
Function
frame_
* 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
Function
fromConfig
@nocollapse
tfjs-layers/src/engine/container.ts:1197
Function
fromConfig
@nocollapse
tfjs-core/src/serialization.ts:117
Method
fromConfig
@nocollapse
tfjs-layers/src/models.ts:1006
Method
fromConfig
@nocollapse
tfjs-layers/src/regularizers.ts:92
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/convolutional_recurrent.ts:573
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/wrappers.ts:572
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1254
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1568
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:1906
Method
fromConfig
@nocollapse
tfjs-layers/src/layers/recurrent.ts:2033
← previous
next →
4,201–4,300 of 6,022, ranked by callers