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
getUserCode
()
tfjs-backend-webgpu/src/clip_vec4_webgpu.ts:42
Method
getUserCode
()
tfjs-backend-webgpu/src/scatter_webgpu.ts:61
Method
getUserCode
()
tfjs-backend-webgpu/src/clip_webgpu.ts:42
Method
getUserCode
()
tfjs-backend-webgpu/src/conv_backprop_depthwise_webgpu.ts:45
Method
getUserCode
()
tfjs-backend-webgpu/src/conv_backprop_depthwise_webgpu.ts:108
Method
getUserCode
()
tfjs-backend-webgpu/src/matmul_splitK_webgpu.ts:77
Method
getUserCode
()
tfjs-backend-webgpu/src/matmul_splitK_webgpu.ts:145
Method
getUserCode
()
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:575
Method
getUserCode
()
tfjs-backend-webgpu/src/batchnorm_webgpu.ts:60
Method
getUserCode
()
tfjs-backend-webgpu/src/addn_packed_webgpu.ts:41
Method
getUserCode
()
tfjs-backend-webgpu/src/draw_webgpu.ts:47
Method
getUserCode
()
tfjs-backend-webgpu/src/slice_webgpu.ts:47
Method
getUserCode
()
tfjs-backend-webgpu/src/lrn_webgpu.ts:52
Method
getUserCode
()
tfjs-backend-webgpu/src/lrn_webgpu.ts:110
Method
getUserCode
()
tfjs-backend-webgpu/src/pad_webgpu.ts:77
Method
getUserCode
()
tfjs-backend-webgpu/src/matmul_small_output_size_webgpu.ts:130
Method
getUserCode
()
tfjs-backend-webgpu/src/fft_webgpu.ts:42
Method
getUserCode
()
tfjs-backend-webgpu/src/dilation_webgpu.ts:43
Method
getUserCode
()
tfjs-backend-webgpu/src/softmax_webgpu.ts:41
Method
getUserCode
()
tfjs-backend-webgpu/src/conv3d_naive_webgpu.ts:43
Method
getUserCode
()
tfjs-backend-webgpu/src/select_webgpu.ts:43
Method
getUserCode
()
tfjs-backend-webgpu/src/binary_op_complex_webgpu.ts:43
Method
getUserCode
()
tfjs-backend-webgpu/src/resize_bilinear_webgpu.ts:44
Method
getUserCode
()
tfjs-backend-webgpu/src/unsorted_segment_sum_webgpu.ts:48
Method
getUserCode
()
tfjs-backend-webgpu/src/pool_webgpu.ts:60
Method
getUserCode
()
tfjs-backend-webgpu/src/pool_webgpu.ts:168
Method
getUserCode
()
tfjs-backend-webgpu/src/lin_space_webgpu.ts:40
Method
getUserCode
()
tfjs-backend-webgpu/src/resize_nearest_neighbor_webgpu.ts:46
Method
getWeight
(name: string)
tfjs-converter/src/executor/execution_context.ts:159
Function
getWeights
* Returns the current values of the weights of the layer. * * @param trainableOnly Whether to get the values of only trainable weights. * @re
tfjs-layers/src/engine/topology.ts:1204
Function
getWeights
()
tfjs-layers/src/layers/wrappers.ts:109
Function
getWeights
()
tfjs-core/src/optimizers/optimizer.ts:144
Method
getWeights
* Retrieve the weights of a the model. * * @returns A flat `Array` of `tf.Tensor`s.
tfjs-layers/src/layers/recurrent.ts:2075
Method
getWeights
()
tfjs-core/src/optimizers/adam_optimizer.ts:137
Method
getWeights
()
tfjs-core/src/optimizers/rmsprop_optimizer.ts:159
Method
getWeights
()
tfjs-core/src/optimizers/adamax_optimizer.ts:137
Method
getWeights
()
tfjs-core/src/optimizers/adadelta_optimizer.ts:115
Method
getWeights
()
tfjs-core/src/optimizers/momentum_optimizer.ts:106
Method
getWeights
()
tfjs-core/src/optimizers/adagrad_optimizer.ts:95
Method
getWidth
()
tfjs-tflite/src/types/image_segmenter.ts:48
Function
get_converted_by
Get the convertedBy string for storage in model artifacts.
tfjs-converter/python/tensorflowjs/converters/common.py:72
Function
get_module_path
Get the module path base on input key Args: key: The name of the class we want to get module path. Return: RESULT_MAP[key]: the c
tfjs-converter/python/tensorflowjs/converters/tf_module_mapper.py:40
Function
get_output_node_names
(node_map, target)
tfjs-converter/python/tensorflowjs/converters/graph_rewrite_util.py:133
Function
globalAveragePooling1d
(args?: LayerArgs)
tfjs-layers/src/exports_layers.ts:1034
Function
globalAveragePooling2d
(args: GlobalPooling2DLayerArgs)
tfjs-layers/src/exports_layers.ts:1052
Function
globalMaxPooling1d
(args?: LayerArgs)
tfjs-layers/src/exports_layers.ts:1065
Function
globalMaxPooling2d
(args: GlobalPooling2DLayerArgs)
tfjs-layers/src/exports_layers.ts:1083
Function
glorotNormal
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:134
Function
glorotUniform
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:117
Function
grad
(dy: Tensor4D, saved: Tensor[])
tfjs-core/src/ops/fused/depthwise_conv2d.ts:177
Function
grad
(dy: Tensor3D, saved: Tensor[])
tfjs-core/src/ops/fused/mat_mul.ts:138
Function
gradFunc
(dy: Tensor, saved: Tensor[])
tfjs-core/src/ops/log_softmax.ts:87
Function
gradFunc
(dy: T)
tfjs-core/src/ops/log_sigmoid.ts:54
Function
gradFunc
(dy: O, saved: Tensor[])
tfjs-core/src/ops/losses/softmax_cross_entropy.ts:90
Function
gradFunc
(dy: T, saved: Tensor[])
tfjs-backend-webgl/src/webgl_custom_op_test.ts:71
Function
gradients
( lossFn: () => tfc.Scalar, variables: LayerVariable[])
tfjs-layers/src/variables.ts:351
Function
gramSchmidt_
* Gram-Schmidt orthogonalization. * * ```js * const x = tf.tensor2d([[1, 2], [3, 4]]); * let y = tf.linalg.gramSchmidt(x); * y.print(); * consol
tfjs-core/src/ops/linalg/gram_schmidt.ts:60
Function
grayscaleToRGB_
* Converts images from grayscale to RGB format. * * @param image A grayscale tensor to convert. The `image`'s last dimension must * be size 1 w
tfjs-core/src/ops/image/grayscale_to_rgb.ts:34
Function
greaterEqual_
* 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/greater_equal.ts:43
Function
greater_
* 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/greater.ts:43
Function
gru
(args: GRULayerArgs)
tfjs-layers/src/exports_layers.ts:1175
Function
gruCell
(args: GRUCellLayerArgs)
tfjs-layers/src/exports_layers.ts:1224
Function
h
(a: Tensor)
tfjs-core/src/ops/broadcast_to_test.ts:35
Function
h5_v3_merged_saved_model_to_tfjs_format
Load topology & weight values from HDF5 file and convert. The HDF5 weights file is one generated by Keras's save_model method or model.save() N.
tfjs-converter/python/tensorflowjs/converters/keras_h5_conversion.py:253
Function
h5_weights_to_tfjs_format
Load weight values from a Keras HDF5 file and to a binary format. The HDF5 file is one generated by Keras' Model.save_weights() method. N.B.:
tfjs-converter/python/tensorflowjs/converters/keras_h5_conversion.py:320
Function
hammingWindow_
* Generate a hamming window. * * See: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows * * ```js * tf.signal.hammingWindow(
tfjs-core/src/ops/signal/hamming_window.ts:34
Function
handleErrors
* Handles errors thrown on this stream using a provided handler function. * * @param handler A function that handles any `Error` thrown during a
tfjs-data/src/iterators/lazy_iterator.ts:247
Method
handleImageTensorReady
( images: IterableIterator<tf.Tensor3D>, updatePreview: () => void, gl: ExpoWebGLRenderingContext)
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:85
Method
handleMetrics
(metrics: Array<string|LossOrMetricFn>)
tfjs-layers/src/engine/training.ts:712
Function
handleSelection
(layerName: string)
tfjs-vis/src/show/model.ts:126
Function
hannWindow_
* Generate a Hann window. * * See: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows * * ```js * tf.signal.hannWindow(10).pr
tfjs-core/src/ops/signal/hann_window.ts:34
Method
hasClassName
()
tfjs-tflite/src/types/common.ts:27
Method
hasDisplayName
()
tfjs-tflite/src/types/common.ts:30
Function
hasEncodingLoss
(oldType: DataType, newType: DataType)
tfjs-core/src/util_base.ts:476
Method
hasIndex
()
tfjs-tflite/src/types/common.ts:33
Method
hasMaxResults
()
tfjs-tflite/src/types/object_detector.ts:24
Method
hasMaxResults
()
tfjs-tflite/src/types/image_classifier.ts:24
Method
hasMaxSeqLen
()
tfjs-tflite/src/types/bert_nl_classifier.ts:23
Method
hasNumThreads
()
tfjs-tflite/src/types/image_segmenter.ts:35
Method
hasNumThreads
()
tfjs-tflite/src/types/object_detector.ts:32
Method
hasNumThreads
()
tfjs-tflite/src/types/image_classifier.ts:32
Method
hasOutputType
()
tfjs-tflite/src/types/image_segmenter.ts:31
Method
hasScore
()
tfjs-tflite/src/types/common.ts:36
Method
hasScoreThreshold
()
tfjs-tflite/src/types/object_detector.ts:28
Method
hasScoreThreshold
()
tfjs-tflite/src/types/image_classifier.ts:28
Function
heNormal
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:150
Function
heUniform
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:166
Function
hinge
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/losses.ts:76
Function
hingeLoss_
* Computes the Hinge loss between two tensors. * * @param labels The ground truth output tensor, same dimensions as * 'predictions'. * @param p
tfjs-core/src/ops/losses/hinge_loss.ts:45
Method
holdResultWrapperFn
()
tfjs-core/src/profiler.ts:43
Function
huberLoss_
* Computes the Huber loss between two tensors. * * @param labels The ground truth output tensor, same dimensions as * 'predictions'. * @param p
tfjs-core/src/ops/losses/huber_loss.ts:50
Method
id
()
tfjs-converter/src/executor/tensor_list.ts:41
Method
id
()
tfjs-converter/src/executor/tensor_array.ts:44
Method
id
()
tfjs-converter/src/executor/hash_table.ts:30
Function
idToToken
* Convert an integer id to a string token.
tfjs-layers/src/layers/nlp/tokenizers.ts:121
Function
ident
(length: number)
tfjs-core/src/ops/signal/stft_test.ts:171
Function
identity
(args: IdentityArgs)
tfjs-layers/src/exports_initializers.ts:83
Function
ifft
(args: {inputs: IFFTInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/IFFT.ts:24
Function
ifft
(args: {inputs: IFFTInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/IFFT.ts:24
Function
ifft_
* Inverse fast Fourier transform. * * Computes the inverse 1-dimensional discrete Fourier transform over the * inner-most dimension of input. * *
tfjs-core/src/ops/spectral/ifft.ts:42
← previous
next →
4,601–4,700 of 6,022, ranked by callers