MCPcopy Create free account

hub / github.com/tensorflow/tfjs-examples / functions

Functions939 in github.com/tensorflow/tfjs-examples

↓ 1 callersFunctionplotAccuracyPerClass
(accPerClass)
baseball-node/client.js:62
↓ 1 callersFunctionplotData
(container, xs, ys)
polynomial-regression-core/ui.js:20
↓ 1 callersFunctionplotPredictResult
(result)
baseball-node/client.js:105
↓ 1 callersFunctionplotSteps
()
cart-pole/ui.js:104
↓ 1 callersFunctionpopulateSelects
(dataObj)
jena-weather/ui.js:34
↓ 1 callersFunctionpredict
()
gpu-pipeline/webgl/index.js:36
↓ 1 callersFunctionpredict
()
webcam-transfer-learning/index.js:129
↓ 1 callersFunctionpredict
(path, userId)
angular-predictive-prefetching/client/src/prefetch.service-worker.js:31
↓ 1 callersFunctionpredictHandler
* Applies the model to the manually entered hand value and updates the UI with * the model's prediction.
data-generator/index.js:198
↓ 1 callersFunctionprefetch
(path, sessionId)
angular-predictive-prefetching/client/src/prefetch.service-worker.js:61
↓ 1 callersMethodprepTestExamples
()
mnist-transfer-cnn/index.js:70
↓ 1 callersFunctionprepare
()
react-native/pose-detection/App.tsx:69
↓ 1 callersMethodprepareDecoderModel
(model)
translation/index.js:76
↓ 1 callersMethodprepareEncoderModel
(model)
translation/index.js:63
↓ 1 callersMethodprocess
(frame, mask)
gpu-pipeline/webgl/gl-class.js:155
↓ 1 callersFunctionreadData
(dataFile: string)
translation/translation.ts:43
↓ 1 callersFunctionreadImageAsTensor
(filePath, height, width)
electron/image_utils.js:35
↓ 1 callersFunctionreadImageTensorFromFile
(filePath, height, width)
quantization/eval_mobilenetv2.js:52
↓ 1 callersFunctionread_data
()
translation/python/translation.py:40
↓ 1 callersMethodremoveModel
* Remove the locally saved model from IndexedDB.
lstm-text-generation/index.js:194
↓ 1 callersFunctionremoveTextElements
* Finds and removes all of the text predictions added by this extension, and * removes them from the DOM. Note: This does not undo the containerizati
chrome-extension/src/content.js:78
↓ 1 callersFunctionrenderCameraTypeSwitcher
()
react-native/pose-detection/App.tsx:203
↓ 1 callersFunctionrenderFps
()
react-native/pose-detection/App.tsx:195
↓ 1 callersFunctionrenderLatentSpace
* Render the latent space by z vectors through the VAE and rendering * the result. * * Handles only 2D latent spaces
fashion-mnist-vae/client.js:97
↓ 1 callersFunctionrenderLogits
(logits, parentElement)
iris-fitDataset/ui.js:105
↓ 1 callersFunctionrenderLogits
(logits, parentElement)
iris/ui.js:105
↓ 1 callersFunctionrenderModelPredictions
( canvas, order, model, xPowerMeans, xPowerStddevs, yMean, yStddev)
polynomial-regression/index.js:192
↓ 1 callersFunctionrenderPose
()
react-native/pose-detection/App.tsx:161
↓ 1 callersFunctionrun
()
jena-weather/index.js:216
↓ 1 callersFunctionrun
(epochs, batchSize, modelSavePath)
mnist-node/main.js:24
↓ 1 callersFunctionrun
(epochCount, savePath)
baseball-node/train_strike_zone.js:22
↓ 1 callersFunctionrun
()
baseball-node/server.js:28
↓ 1 callersFunctionrun
(epochCount, savePath)
baseball-node/train_pitch_type.js:22
↓ 1 callersFunctionrun
(savePath, logDir)
fashion-mnist-vae/train.js:136
↓ 1 callersFunctionrun
* Train a model with dataset, then save the model to a local folder.
abalone-node/train.js:33
↓ 1 callersFunctionrun
()
date-conversion-attention/train.js:177
↓ 1 callersFunctionrun
( embeddingsPath, taggedTokensPath, outFolder, modelOpts, trainingOpts)
intent-classifier/training/train_tagger.js:166
↓ 1 callersFunctionrun
(srcPath, outPath, batchSize)
intent-classifier/training/tokens_to_embeddings.js:86
↓ 1 callersFunctionrun
( dataPath, metadataPath, outputFolder, epochs, validationSplit = 0.15)
intent-classifier/training/train_intent.js:30
↓ 1 callersFunctionrun
(outPath)
intent-classifier/training/raw_to_tagged_tokens.js:92
↓ 1 callersFunctionrun
(srcPath, outFolder, batchSize)
intent-classifier/training/csv_to_tensors.js:101
↓ 1 callersFunctionrun
(outPath)
intent-classifier/training/raw_to_csv.js:54
↓ 1 callersFunctionrun
()
mnist-acgan/gan.js:416
↓ 1 callersFunctionrun
()
getting-started/index.js:24
↓ 1 callersFunctionrun
()
visualize-convnet/index.js:33
↓ 1 callersFunctionrun
()
visualize-convnet/main.js:109
↓ 1 callersFunctionrunAdditionRNNDemo
()
addition-rnn/index.js:345
↓ 1 callersFunctionrunAdditionRNNDemo
()
addition-rnn-webworker/index.js:29
↓ 1 callersMethodrunObjectDetector
* Run the model in case of image detection, and return detector results.
interactive-visualizers/src/app/app.component.ts:855
↓ 1 callersFunctionsampleFromMnistData
(numExamplesPerClass)
mnist-acgan/web-data.js:171
↓ 1 callersFunctionsaveDecoder
(savePath, decoderModel)
fashion-mnist-vae/train.js:128
↓ 1 callersMethodsaveModel
* Save the model to IndexedDB.
cart-pole/index.js:267
↓ 1 callersMethodsaveModel
* Save the model in IndexedDB. * * @returns ModelInfo from the saving, if the saving succeeds.
lstm-text-generation/index.js:183
↓ 1 callersFunctionscaleAndAverageGradients
* Scale the gradient values using normalized reward values and compute average. * * The gradient values are scaled by the normalized reward values.
cart-pole/index.js:389
↓ 1 callersFunctionsearchForKeywords
(classNamesAndProbs, filePaths, targetWords)
electron/image_classifier.js:209
↓ 1 callersFunctionseq2seqModel
Create a Keras model for the seq2seq translation. Args: num_encoder_tokens: Total number of distinct tokens in the inputs to the encoder. num
translation/translation.ts:210
↓ 1 callersFunctionseq2seq_model
Create a Keras model for the seq2seq translation. Args: num_encoder_tokens: Total number of distinct tokens in the inputs to the encoder.
translation/python/translation.py:121
↓ 1 callersFunctionsetPredictFunction
(predict, testExamples, imageSize)
mnist-transfer-cnn/ui.js:45
↓ 1 callersFunctionsetPredictFunction
(predict)
sentiment/ui.js:68
↓ 1 callersFunctionsetRetrainFunction
(retrain)
mnist-transfer-cnn/ui.js:59
↓ 1 callersFunctionsetUpUI
()
cart-pole/ui.js:235
↓ 1 callersFunctionsetUpUI
()
lstm-text-generation/ui.js:136
↓ 1 callersFunctionsetupCamera
()
gpu-pipeline/ui-util.js:30
↓ 1 callersFunctionsetupListeners
()
fashion-mnist-vae/client.js:164
↓ 1 callersFunctionsetupListeners
()
intent-classifier/app/index.js:134
↓ 1 callersFunctionsetupListeners
()
intent-classifier/app/tagger.js:262
↓ 1 callersFunctionsetupMnistTransferCNN
* Loads the pretrained model and metadata, and registers the predict * and retrain functions with the UI.
mnist-transfer-cnn/index.js:168
↓ 1 callersFunctionsetupSentiment
* Loads the pretrained model and metadata, and registers the predict * function with the UI.
sentiment/index.js:90
↓ 1 callersFunctionsetupTranslator
* Loads the pretrained model and metadata, and registers the translation * function with the UI.
translation/index.js:188
↓ 1 callersFunctionshowPredictions
* Show predictions on a number of test examples. * * @param {tf.Model} model The model to be used for making the predictions.
mnist/index.js:225
↓ 1 callersFunctionshowResults
(imgElement, classes)
mobilenet/index.js:134
↓ 1 callersMethodslice_
* Get a slice of the training text data. * * @param {number} startIndex * @param {number} endIndex * @param {bool} useIndices Whether to r
lstm-text-generation/data.js:197
↓ 1 callersFunctionsortWithIndices
(toSort)
angular-predictive-prefetching/client/src/prefetch.service-worker.js:49
↓ 1 callersFunctionstart
()
gpu-pipeline/webgpu/index.js:156
↓ 1 callersFunctionstart
(numPoints = 10000, tsneIter, knnIter, perplexity)
tsne-mnist-canvas/index.js:79
↓ 1 callersMethodstartProcessFrame
(width, height)
gpu-pipeline/webgl/gl-class.js:107
↓ 1 callersFunctionstatus
(statusText)
sentiment/ui.js:25
↓ 1 callersFunctionstddev
* Calculate the standard deviation of a vector. * * @param {Array} vector The vector represented as an Array of Numbers. * * @returns {number} The
website-phishing/utils.js:104
↓ 1 callersFunctionstep
* Play a game for one step. * * - Use the current best action to forward one step in the game. * - Accumulate to the cumulative reward. * - Determ
snake-dqn/index.js:64
↓ 1 callersFunctiontest
()
mnist-core/index.js:33
↓ 1 callersMethodtestImageSelected
* On click on a test image.
interactive-visualizers/src/app/app.component.ts:388
↓ 1 callersFunctiontextContentFromPrediction
* Produces a short text string summarizing the prediction * Input prediction should be a list of {className: string, prediction: float} * objects.
chrome-extension/src/content.js:39
↓ 1 callersMethodtextLen
* Get length of the training text data. * * @returns {number} Length of training text data.
lstm-text-generation/data.js:101
↓ 1 callersFunctiontoNormalizedTensors
(xyData, order)
polynomial-regression/index.js:116
↓ 1 callersFunctiontokenizeSentence
(input)
intent-classifier/training/util.js:22
↓ 1 callersFunctiontokenizeSentence
* Split an input string into tokens, we use the same tokenization function * as we did during training. * @param {string} input * * @return {strin
intent-classifier/app/tagger.js:95
↓ 1 callersFunctiontrain
()
mnist-core/index.js:28
↓ 1 callersFunctiontrain
( agent, batchSize, gamma, learningRate, cumulativeRewardThreshold, maxNumFrames, syncEveryFrames, sav
snake-dqn/train.js:67
↓ 1 callersFunctiontrain
* Compile and train the given model. * * @param {tf.Model} model The model to train. * @param {onIterationCallback} onIteration A callback to execu
mnist/index.js:124
↓ 1 callersFunctiontrain
(xs, ys, numIterations)
polynomial-regression-core/index.js:92
↓ 1 callersFunctiontrain
* Sets up and trains the classifier.
webcam-transfer-learning/index.js:64
↓ 1 callersFunctiontrain
* Train the auto encoder * * @param {number[][]} images Flattened images for VAE training. * @param {object} vaeOpts Options for the VAE model, inc
fashion-mnist-vae/train.js:50
↓ 1 callersFunctiontrain
Train a Keras model for Iris data classification and save result as JSON. Args: epochs: Number of epochs to traing the Keras model for. art
iris/python/iris.py:31
↓ 1 callersMethodtrain
(iterations, batchSize, numTestExamples)
addition-rnn/index.js:257
↓ 1 callersMethodtrain
(iterations, batchSize, numTestExamples)
addition-rnn-webworker/worker.js:250
↓ 1 callersFunctiontrainCombinedModelOneStep
* Train the combined ACGAN for one step. * * In this step, only the weights of the generator are updated. * * @param {number} batchSize Size of th
mnist-acgan/gan.js:342
↓ 1 callersFunctiontrainDiscriminatorOneStep
* Train the discriminator for one step. * * In this step, only the weights of the discriminator are updated. The * generator is not involved. * *
mnist-acgan/gan.js:298
↓ 1 callersFunctiontrainModel
* Train a `tf.Model` to recognize Iris flower type. * * @param trainDataset A tf.Dataset object yielding features and targets. The * features mus
iris-fitDataset/index.js:40
↓ 1 callersFunctiontrainModel
* Train a `tf.Model` to recognize Iris flower type. * * @param xTrain Training feature data, a `tf.Tensor` of shape * [numTrainExamples, 4]. The
iris/index.js:40
↓ 1 callersFunctiontrainModelUsingFitDataset
* Trains a the provided model on the provided dataset using model.fitDataset. * Schedules a callback at the end of every epoch to update the UI with
data-generator/index.js:135
← previousnext →501–600 of 939, ranked by callers