MCPcopy Index your code

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 15 callersMethodnextValue
()
tfjs-core/src/ops/rand_util.ts:24
↓ 15 callersMethodpredict
* Generates output predictions for the input samples. * * Computation is done in batches. * * Note: the "step" mode of predict() is curren
tfjs-layers/src/models.ts:786
↓ 15 callersFunctionrunAssert
( layer: Layer, inputs: Tensor|Tensor[]|tfl.SymbolicTensor|tfl.SymbolicTensor[])
tfjs-layers/src/engine/topology_test.ts:445
↓ 15 callersFunctionrunRaggedGather
( starts: tf.Tensor, limits: tf.Tensor, deltas: tf.Tensor)
tfjs-core/src/ops/ragged_range_test.ts:22
↓ 15 callersMethodsave
* Save the configuration and/or weights of the LayersModel. * * An `IOHandler` is an object that has a `save` method of the proper * signatur
tfjs-layers/src/engine/training.ts:2112
↓ 15 callersFunctionsetupFakeWeightFiles
(fileBufferMap: { [filename: string]: Float32Array|Int32Array|ArrayBuffer|Uint8Array| Uint16Array })
tfjs-core/src/io/weights_loader_test.ts:23
↓ 15 callersMethodstep
(this: T, alpha?: number)
tfjs-core/src/public/chained_ops/step.ts:25
↓ 15 callersMethodtoFloat
(this: T)
tfjs-core/src/public/chained_ops/to_float.ts:25
↓ 15 callersFunctiontranspose
(args: { inputs: TransposeInputs, attrs: TransposeAttrs, backend: MathBackendWebGL })
tfjs-backend-webgl/src/kernels/Transpose.ts:25
↓ 14 callersFunctionassertPositiveInteger
(value: number|number[], name: string)
tfjs-layers/src/utils/generic_utils.ts:441
↓ 14 callersMethodcall
(inputs: Tensor|Tensor[], kwargs: Kwargs)
tfjs-layers/src/layers/nlp/einsum_dense.ts:433
↓ 14 callersMethodcreateCallbacks
* Create callbacks using the registered callback constructors. * * Given `verbosityLevel`, all constructors registered at that level or above
tfjs-layers/src/base_callbacks.ts:567
↓ 14 callersMethodcumprod
( axis?: number, exclusive?: boolean, reverse?: boolean )
tfjs-core/src/public/chained_ops/cumprod.ts:23
↓ 14 callersFunctiondatasetFromIteratorFn
( iteratorFn: () => Promise<LazyIterator<T>>, size: number = null)
tfjs-data/src/dataset.ts:546
↓ 14 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/graph_executor.ts:29
↓ 14 callersFunctionexpectTensorsValuesInRange
( actual: Tensor, low: number, high: number)
tfjs-layers/src/utils/test_utils.ts:74
↓ 14 callersFunctionfill
(args: {backend: WebGPUBackend, attrs: FillAttrs})
tfjs-backend-webgpu/src/kernels/Fill.ts:23
↓ 14 callersMethodget
(key: K)
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:77
↓ 14 callersMethodgetUniformLocation
( program: WebGLProgram, uniformName: string, shouldThrow = true)
tfjs-backend-webgl/src/gpgpu_context.ts:385
↓ 14 callersFunctiongetUniqueTensorName
(scopedName: string)
tfjs-layers/src/common.ts:90
↓ 14 callersFunctiongetWebGLContext
( webGLVersion: number, customCanvas?: HTMLCanvasElement|OffscreenCanvas)
tfjs-backend-webgl/src/canvas_util.ts:41
↓ 14 callersMethodhasKey
* Probe whether a key already exists in the FeedDict. * @param key
tfjs-layers/src/engine/executor.ts:121
↓ 14 callersFunctionheatmap
( container: Drawable, data: HeatmapData, opts: HeatmapOptions = {})
tfjs-vis/src/render/heatmap.ts:63
↓ 14 callersFunctionhexToLong
(hex: string)
tfjs-core/src/hash_util.ts:25
↓ 14 callersFunctionhistogram
( container: Drawable, data: Array<{value: number}>|number[]|TypedArray, opts: HistogramOpts = {})
tfjs-vis/src/render/histogram.ts:50
↓ 14 callersMethodload
* Load a tfjs model. * * @return A promise of tfjs model.
tfjs-inference/src/file_handler.ts:45
↓ 14 callersFunctionnotYetImplemented
(kernelName: string)
tfjs-core/src/backends/backend.ts:158
↓ 14 callersFunctionparseNodeName
( name: string, context?: ExecutionContext)
tfjs-converter/src/operations/executors/utils.ts:125
↓ 14 callersFunctionregisterTestEnv
(testEnv: TestEnv)
tfjs-core/src/jasmine_util.ts:248
↓ 14 callersFunctionreshape
( args: {inputs: ReshapeInputs, attrs: ReshapeAttrs, backend: BackendWasm})
tfjs-backend-wasm/src/kernels/Reshape.ts:22
↓ 14 callersMethodsetModel
(model: Container)
tfjs-layers/src/base_callbacks.ts:128
↓ 14 callersMethodshouldExecuteOnCPU
( inputs: TensorInfo[], sizeThreshold = CPU_HANDOFF_SIZE_THRESHOLD)
tfjs-backend-webgpu/src/backend_webgpu.ts:1029
↓ 13 callersFunctionCloseExpression
If input points to ( or { or [ or <, finds the position that closes it. If lines[linenum][pos] points to a '(' or '{' or '[' or '<', finds the li
tfjs-backend-wasm/tools/cpplint.py:1597
↓ 13 callersMethod_saveKerasModelForTest
(self, path)
tfjs-converter/python/tensorflowjs/converters/keras_tfjs_loader_test.py:48
↓ 13 callersFunctionconfig
({ plugins = [], output = {}, external = [], visualize = false, tsCompilerOptions = {}, entry = 's
tfjs/rollup.config.mjs:42
↓ 13 callersMethodcreateTensor
( shape: number[], dtype: number, buffer: backend_util.BackendValues)
tfjs-node/src/tfjs_binding.ts:37
↓ 13 callersFunctiondescribeWebGPU
(name: string, tests: (env: TestEnv) => void)
tfjs-backend-webgpu/src/test_util.ts:21
↓ 13 callersFunctionencodeStrings
(a: RecursiveArray<{}>)
tfjs-core/src/test_util.ts:181
↓ 13 callersFunctionexecute
( fetches: SymbolicTensor|SymbolicTensor[], feedDict: FeedDict, kwargs?: Kwargs, probe?: ExecutionProb
tfjs-layers/src/engine/executor.ts:245
↓ 13 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/creation_executor.ts:29
↓ 13 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/transformation_executor.ts:29
↓ 13 callersFunctionexpectTensor
( tensor: tf.Tensor, shape: number[], value: string|number)
tfjs-core/src/ops/squeeze_test.ts:21
↓ 13 callersMethodfirst
()
tfjs-data/src/util/deep_map_test.ts:117
↓ 13 callersMethodgetImageData
(x: number, y: number, width: number, height: number)
tfjs-node/src/canvas_test.ts:21
↓ 13 callersFunctiongetOptimizer
(identifier: string)
tfjs-layers/src/optimizers.ts:25
↓ 13 callersMethodgetValue
* Get the feed value for given key. * @param key The SymbolicTensor, or its name (as a string), of which the * value is sought. * @return
tfjs-layers/src/engine/executor.ts:139
↓ 13 callersFunctionidentity
( args: {inputs: IdentityInputs, backend: WebGPUBackend})
tfjs-backend-webgpu/src/kernels/Identity.ts:21
↓ 13 callersFunctionidentity
( args: {inputs: IdentityInputs, backend: MathBackendWebGL})
tfjs-backend-webgl/src/kernels/Identity.ts:22
↓ 13 callersMethodlogSigmoid
(this: T)
tfjs-core/src/public/chained_ops/log_sigmoid.ts:25
↓ 13 callersFunctionquestion
(questionStr: string)
scripts/release-util.ts:217
↓ 13 callersMethodready
()
tfjs-core/src/engine.ts:188
↓ 13 callersFunctionrunConv3DTestCase
( batch: number, inDepth: number, inHeight: number, inWidth: number, inChannels: number, outChannels:
tfjs-core/src/ops/conv3d_test.ts:54
↓ 13 callersMethodset
(index: number, value: T)
tfjs-data/src/util/ring_buffer.ts:65
↓ 13 callersMethodshift
* Removes and returns the first item in the buffer.
tfjs-data/src/util/ring_buffer.ts:148
↓ 13 callersFunctionstandardizeInputData
( data: Tensor|Tensor[]|{[inputName: string]: Tensor}, names: string[], shapes?: Shape[], checkBatchAx
tfjs-layers/src/engine/training.ts:81
↓ 12 callersFunctionTensorValue10x4
()
tfjs-core/src/ops/sparse/sparse_segment_mean_test.ts:35
↓ 12 callersFunctionTensorValue10x4
()
tfjs-core/src/ops/sparse/sparse_segment_sum_test.ts:30
↓ 12 callersMethodaddHashTable
* Register a `HashTable` in the resource manager. * * The `HashTable` can be retrieved by `resourceManager.getHashTableById`, * where id is t
tfjs-converter/src/executor/resource_manager.ts:37
↓ 12 callersFunctionassertNonNegativeIntegerDimensions
(shape: number[])
tfjs-core/src/util_base.ts:678
↓ 12 callersFunctionassertShapesMatchAllowUndefinedSize
( shapeA: number|number[], shapeB: number|number[], errorMessagePrefix = '')
tfjs-converter/src/executor/tensor_utils.ts:33
↓ 12 callersFunctionassertTruncatedValues
( values: TypedArray, mean: number, stdv: number)
tfjs-core/src/ops/truncated_normal_test.ts:28
↓ 12 callersMethodbytes
Returns the underlying bytes of the tensor's data.
tfjs-core/src/tensor.ts:428
↓ 12 callersFunctioncomputeBytes
( shape: [number, number], physicalTexType: PhysicalTextureType, gl: WebGLRenderingContext, textureCon
tfjs-backend-webgl/src/texture_manager.ts:207
↓ 12 callersMethodcomputeOutputShape
(inputShape: Shape|Shape[])
tfjs-layers/src/layers/merge.ts:1039
↓ 12 callersFunctionconvOutputLength
( inputLength: number, filterSize: number, padding: PaddingMode, stride: number, dilation = 1)
tfjs-layers/src/utils/conv_utils.ts:55
↓ 12 callersMethoddepthToSpace
( blockSize: number, dataFormat: 'NHWC'|'NCHW')
tfjs-core/src/public/chained_ops/depth_to_space.ts:23
↓ 12 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/basic_math_executor.ts:29
↓ 12 callersMethodfetch
* Makes an HTTP request. * @param path The URL path to make a request to * @param init The request init. See init here: * https://develop
tfjs-core/src/platforms/platform.ts:32
↓ 12 callersFunctiongetFilteredNodesXToY
( tape: TapeNode[], xs: Tensor[], y: Tensor)
tfjs-core/src/tape.ts:44
↓ 12 callersFunctiongreater
(currVal: number, prevVal: number)
tfjs-layers/src/callbacks.ts:93
↓ 12 callersFunctioniteratorFromItems
(items: T[])
tfjs-data/src/iterators/lazy_iterator.ts:40
↓ 12 callersMethodkeep
(result: T)
tfjs-core/src/engine.ts:1034
↓ 12 callersMethodleakyRelu
(alpha: number)
tfjs-core/src/public/chained_ops/leaky_relu.ts:23
↓ 12 callersMethodlogSumExp
( this: T, axis?: number|number[], keepDims?: boolean)
tfjs-core/src/public/chained_ops/log_sum_exp.ts:23
↓ 12 callersMethodlookup
(keys: Tensor[])
tfjs-layers/src/layers/nlp/tokenizers_utils.ts:84
↓ 12 callersMethodopen
* Opens the visor. * * @doc {heading: 'Visor & Surfaces', subheading: 'Visor Methods'}
tfjs-vis/src/visor.ts:195
↓ 12 callersFunctionparseTestEnvFromKarmaFlags
( args: string[], registeredTestEnvs: TestEnv[])
tfjs-core/src/jasmine_util.ts:167
↓ 12 callersMethodremoveModel
* Remove a model specified by `path`. * * @param path * @returns ModelArtifactsInfo of the deleted model (if and only if deletion * is s
tfjs-core/src/io/types.ts:461
↓ 12 callersMethodrfft
(this: Tensor)
tfjs-core/src/public/chained_ops/rfft.ts:25
↓ 12 callersMethodrsqrt
(this: T)
tfjs-core/src/public/chained_ops/rsqrt.ts:25
↓ 12 callersFunctionrunRaggedGather
( indicesShape: number[], indices: number[], paramsNestedSplits: number[][], paramsDenseValuesShape: n
tfjs-core/src/ops/ragged_gather_test.ts:22
↓ 12 callersMethodselu
()
tfjs-core/src/public/chained_ops/selu.ts:23
↓ 12 callersFunctionsetEnvFlags
* Set environment flags for testing. * * This will first set tunable flags (the keys of `TUNABLE_FLAG_TYPE_MAP`). Then * set URL parameter flags. I
e2e/benchmarks/benchmark_util.js:584
↓ 12 callersMethodsummary
* Print a text summary of the Sequential model's layers. * * The summary includes * - Name and type of all layers that comprise the model.
tfjs-layers/src/models.ts:662
↓ 12 callersMethodunsortedSegmentSum
( this: T, segmentIds: Tensor1D|TensorLike1D, numSegments: number)
tfjs-core/src/public/chained_ops/unsorted_segment_sum.ts:24
↓ 11 callersMethod_createSimpleSequentialModel
(self)
tfjs-converter/python/tensorflowjs/converters/converter_test.py:432
↓ 11 callersMethodarraySync
* Returns the tensor data as a nested array. The transfer of data is done * synchronously. * * @doc {heading: 'Tensors', subheading: 'Classes
tfjs-core/src/tensor.ts:338
↓ 11 callersFunctioncanTensorify
(obj: any)
tfjs-data/src/util/deep_map.ts:279
↓ 11 callersFunctioncollectMetrics
( metrics: string|LossOrMetricFn|Array<string|LossOrMetricFn>| {[outputName: string]: string | LossOrM
tfjs-layers/src/engine/training.ts:364
↓ 11 callersFunctioncreateDummyModel
()
tfjs-layers/src/callbacks_test.ts:17
↓ 11 callersMethoddeleteMatrixTexture
(texture: WebGLTexture)
tfjs-backend-webgl/src/gpgpu_context.ts:243
↓ 11 callersFunctiondisposeNewTensors
( tensors: Tensor|Tensor[]|{[inputName: string]: Tensor}, refTensors: Tensor|Tensor[]|{[inputName: str
tfjs-layers/src/engine/training_tensors.ts:284
↓ 11 callersFunctionensureTensorflowBackend
()
tfjs-node/src/nodejs_kernel_backend.ts:781
↓ 11 callersMethodexecuteAsync
* Executes inference for the model for given input tensors in async * fashion, use this method when your model contains control flow ops. * @par
tfjs-tfdf/src/tfdf_model.ts:136
↓ 11 callersFunctiongetActivation
(identifier: ActivationIdentifier| serialization.ConfigDict|Activation)
tfjs-layers/src/activations.ts:320
↓ 11 callersMethodgetConfig
()
tfjs-layers/src/engine/topology.ts:328
↓ 11 callersMethodgetTensorArray
(id: number)
tfjs-converter/src/executor/execution_context.ts:167
↓ 11 callersMethodgetWeights
()
tfjs-core/src/optimizers/sgd_optimizer.ts:80
↓ 11 callersFunctionimageDataFormat
()
tfjs-layers/src/backend/common.ts:37
↓ 11 callersMethodirfft
(this: Tensor)
tfjs-core/src/public/chained_ops/irfft.ts:25
← previousnext →401–500 of 6,022, ranked by callers