MCPcopy Create free account

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

MethodgetUserCode
()
tfjs-backend-webgpu/src/clip_vec4_webgpu.ts:42
MethodgetUserCode
()
tfjs-backend-webgpu/src/scatter_webgpu.ts:61
MethodgetUserCode
()
tfjs-backend-webgpu/src/clip_webgpu.ts:42
MethodgetUserCode
()
tfjs-backend-webgpu/src/conv_backprop_depthwise_webgpu.ts:45
MethodgetUserCode
()
tfjs-backend-webgpu/src/conv_backprop_depthwise_webgpu.ts:108
MethodgetUserCode
()
tfjs-backend-webgpu/src/matmul_splitK_webgpu.ts:77
MethodgetUserCode
()
tfjs-backend-webgpu/src/matmul_splitK_webgpu.ts:145
MethodgetUserCode
()
tfjs-backend-webgpu/src/matmul_packed_webgpu.ts:575
MethodgetUserCode
()
tfjs-backend-webgpu/src/batchnorm_webgpu.ts:60
MethodgetUserCode
()
tfjs-backend-webgpu/src/addn_packed_webgpu.ts:41
MethodgetUserCode
()
tfjs-backend-webgpu/src/draw_webgpu.ts:47
MethodgetUserCode
()
tfjs-backend-webgpu/src/slice_webgpu.ts:47
MethodgetUserCode
()
tfjs-backend-webgpu/src/lrn_webgpu.ts:52
MethodgetUserCode
()
tfjs-backend-webgpu/src/lrn_webgpu.ts:110
MethodgetUserCode
()
tfjs-backend-webgpu/src/pad_webgpu.ts:77
MethodgetUserCode
()
tfjs-backend-webgpu/src/matmul_small_output_size_webgpu.ts:130
MethodgetUserCode
()
tfjs-backend-webgpu/src/fft_webgpu.ts:42
MethodgetUserCode
()
tfjs-backend-webgpu/src/dilation_webgpu.ts:43
MethodgetUserCode
()
tfjs-backend-webgpu/src/softmax_webgpu.ts:41
MethodgetUserCode
()
tfjs-backend-webgpu/src/conv3d_naive_webgpu.ts:43
MethodgetUserCode
()
tfjs-backend-webgpu/src/select_webgpu.ts:43
MethodgetUserCode
()
tfjs-backend-webgpu/src/binary_op_complex_webgpu.ts:43
MethodgetUserCode
()
tfjs-backend-webgpu/src/resize_bilinear_webgpu.ts:44
MethodgetUserCode
()
tfjs-backend-webgpu/src/unsorted_segment_sum_webgpu.ts:48
MethodgetUserCode
()
tfjs-backend-webgpu/src/pool_webgpu.ts:60
MethodgetUserCode
()
tfjs-backend-webgpu/src/pool_webgpu.ts:168
MethodgetUserCode
()
tfjs-backend-webgpu/src/lin_space_webgpu.ts:40
MethodgetUserCode
()
tfjs-backend-webgpu/src/resize_nearest_neighbor_webgpu.ts:46
MethodgetWeight
(name: string)
tfjs-converter/src/executor/execution_context.ts:159
FunctiongetWeights
* 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
FunctiongetWeights
()
tfjs-layers/src/layers/wrappers.ts:109
FunctiongetWeights
()
tfjs-core/src/optimizers/optimizer.ts:144
MethodgetWeights
* Retrieve the weights of a the model. * * @returns A flat `Array` of `tf.Tensor`s.
tfjs-layers/src/layers/recurrent.ts:2075
MethodgetWeights
()
tfjs-core/src/optimizers/adam_optimizer.ts:137
MethodgetWeights
()
tfjs-core/src/optimizers/rmsprop_optimizer.ts:159
MethodgetWeights
()
tfjs-core/src/optimizers/adamax_optimizer.ts:137
MethodgetWeights
()
tfjs-core/src/optimizers/adadelta_optimizer.ts:115
MethodgetWeights
()
tfjs-core/src/optimizers/momentum_optimizer.ts:106
MethodgetWeights
()
tfjs-core/src/optimizers/adagrad_optimizer.ts:95
MethodgetWidth
()
tfjs-tflite/src/types/image_segmenter.ts:48
Functionget_converted_by
Get the convertedBy string for storage in model artifacts.
tfjs-converter/python/tensorflowjs/converters/common.py:72
Functionget_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
Functionget_output_node_names
(node_map, target)
tfjs-converter/python/tensorflowjs/converters/graph_rewrite_util.py:133
FunctionglobalAveragePooling1d
(args?: LayerArgs)
tfjs-layers/src/exports_layers.ts:1034
FunctionglobalAveragePooling2d
(args: GlobalPooling2DLayerArgs)
tfjs-layers/src/exports_layers.ts:1052
FunctionglobalMaxPooling1d
(args?: LayerArgs)
tfjs-layers/src/exports_layers.ts:1065
FunctionglobalMaxPooling2d
(args: GlobalPooling2DLayerArgs)
tfjs-layers/src/exports_layers.ts:1083
FunctionglorotNormal
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:134
FunctionglorotUniform
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:117
Functiongrad
(dy: Tensor4D, saved: Tensor[])
tfjs-core/src/ops/fused/depthwise_conv2d.ts:177
Functiongrad
(dy: Tensor3D, saved: Tensor[])
tfjs-core/src/ops/fused/mat_mul.ts:138
FunctiongradFunc
(dy: Tensor, saved: Tensor[])
tfjs-core/src/ops/log_softmax.ts:87
FunctiongradFunc
(dy: T)
tfjs-core/src/ops/log_sigmoid.ts:54
FunctiongradFunc
(dy: O, saved: Tensor[])
tfjs-core/src/ops/losses/softmax_cross_entropy.ts:90
FunctiongradFunc
(dy: T, saved: Tensor[])
tfjs-backend-webgl/src/webgl_custom_op_test.ts:71
Functiongradients
( lossFn: () => tfc.Scalar, variables: LayerVariable[])
tfjs-layers/src/variables.ts:351
FunctiongramSchmidt_
* 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
FunctiongrayscaleToRGB_
* 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
FunctiongreaterEqual_
* 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
Functiongreater_
* 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
Functiongru
(args: GRULayerArgs)
tfjs-layers/src/exports_layers.ts:1175
FunctiongruCell
(args: GRUCellLayerArgs)
tfjs-layers/src/exports_layers.ts:1224
Functionh
(a: Tensor)
tfjs-core/src/ops/broadcast_to_test.ts:35
Functionh5_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
Functionh5_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
FunctionhammingWindow_
* 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
FunctionhandleErrors
* 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
MethodhandleImageTensorReady
( images: IterableIterator<tf.Tensor3D>, updatePreview: () => void, gl: ExpoWebGLRenderingContext)
tfjs-react-native/integration_rn59/components/webcam/realtime_demo.tsx:85
MethodhandleMetrics
(metrics: Array<string|LossOrMetricFn>)
tfjs-layers/src/engine/training.ts:712
FunctionhandleSelection
(layerName: string)
tfjs-vis/src/show/model.ts:126
FunctionhannWindow_
* 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
MethodhasClassName
()
tfjs-tflite/src/types/common.ts:27
MethodhasDisplayName
()
tfjs-tflite/src/types/common.ts:30
FunctionhasEncodingLoss
(oldType: DataType, newType: DataType)
tfjs-core/src/util_base.ts:476
MethodhasIndex
()
tfjs-tflite/src/types/common.ts:33
MethodhasMaxResults
()
tfjs-tflite/src/types/object_detector.ts:24
MethodhasMaxResults
()
tfjs-tflite/src/types/image_classifier.ts:24
MethodhasMaxSeqLen
()
tfjs-tflite/src/types/bert_nl_classifier.ts:23
MethodhasNumThreads
()
tfjs-tflite/src/types/image_segmenter.ts:35
MethodhasNumThreads
()
tfjs-tflite/src/types/object_detector.ts:32
MethodhasNumThreads
()
tfjs-tflite/src/types/image_classifier.ts:32
MethodhasOutputType
()
tfjs-tflite/src/types/image_segmenter.ts:31
MethodhasScore
()
tfjs-tflite/src/types/common.ts:36
MethodhasScoreThreshold
()
tfjs-tflite/src/types/object_detector.ts:28
MethodhasScoreThreshold
()
tfjs-tflite/src/types/image_classifier.ts:28
FunctionheNormal
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:150
FunctionheUniform
(args: SeedOnlyInitializerArgs)
tfjs-layers/src/exports_initializers.ts:166
Functionhinge
(yTrue: Tensor, yPred: Tensor)
tfjs-layers/src/losses.ts:76
FunctionhingeLoss_
* 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
MethodholdResultWrapperFn
()
tfjs-core/src/profiler.ts:43
FunctionhuberLoss_
* 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
Methodid
()
tfjs-converter/src/executor/tensor_list.ts:41
Methodid
()
tfjs-converter/src/executor/tensor_array.ts:44
Methodid
()
tfjs-converter/src/executor/hash_table.ts:30
FunctionidToToken
* Convert an integer id to a string token.
tfjs-layers/src/layers/nlp/tokenizers.ts:121
Functionident
(length: number)
tfjs-core/src/ops/signal/stft_test.ts:171
Functionidentity
(args: IdentityArgs)
tfjs-layers/src/exports_initializers.ts:83
Functionifft
(args: {inputs: IFFTInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/IFFT.ts:24
Functionifft
(args: {inputs: IFFTInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/IFFT.ts:24
Functionifft_
* 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
← previousnext →4,601–4,700 of 6,022, ranked by callers