MCPcopy Index your code

hub / github.com/tensorflow/tfjs / functions

Functions6,022 in github.com/tensorflow/tfjs

↓ 37 callersMethodzerosLike
(this: T)
tfjs-core/src/public/chained_ops/zeros_like.ts:25
↓ 36 callersFunctioncreateUnaryKernelConfig
( kernelName: string, outType?: DataType)
tfjs-backend-wasm/src/kernels/unary_kernel.ts:24
↓ 36 callersMethodnorm
( ord?: number|'euclidean'|'fro', axis?: number|number[], keepDims?: boolean)
tfjs-core/src/public/chained_ops/norm.ts:25
↓ 35 callersFunctiongetExactlyOneShape
(shapes: Shape|Shape[])
tfjs-layers/src/utils/types_utils.ts:70
↓ 35 callersMethodtanh
(this: T)
tfjs-core/src/public/chained_ops/tanh.ts:25
↓ 35 callersFunctiontensor5d
( values: TensorLike5D, shape?: [number, number, number, number, number], dtype?: DataType)
tfjs-core/src/ops/tensor5d.ts:48
↓ 35 callersFunctionunaryKernelFunc
( {opType, cpuKernelImpl, dtype}: UnaryKernelFuncConfig)
tfjs-backend-webgpu/src/kernel_utils/kernel_funcs_utils.ts:45
↓ 35 callersFunctionunaryKernelFunc
( {opSnippet, packedOpSnippet, cpuKernelImpl, dtype}: UnaryKernelFuncConfig)
tfjs-backend-webgl/src/kernel_utils/kernel_funcs_utils.ts:50
↓ 34 callersMethodclipByValue
(min: number, max: number)
tfjs-core/src/public/chained_ops/clip_by_value.ts:25
↓ 34 callersFunctionexpectNoLeakedTensors
( // tslint:disable-next-line:no-any testFunc: () => any, numNewTensors: number)
tfjs-layers/src/utils/test_utils.ts:160
↓ 34 callersFunctiongetRegularizer
(identifier: RegularizerIdentifier| serialization.ConfigDict|
tfjs-layers/src/regularizers.ts:132
↓ 34 callersMethodonEpochBegin
(epoch: number)
tfjs-layers/src/base_callbacks.ts:230
↓ 34 callersFunctionprint
(x: T, verbose = false)
tfjs-core/src/ops/print.ts:33
↓ 33 callersFunctiondescribeMathCPUAndWebGL2
(testName: string, tests: () => void)
tfjs-layers/src/utils/test_utils.ts:99
↓ 33 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-converter/src/executor/graph_model.ts:534
↓ 33 callersMethodmaximum
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/maximum.ts:23
↓ 33 callersMethodsetItem
* Set the tensor at the index * @param elementIndex index of the tensor * @param tensor the tensor to be inserted into the list
tfjs-converter/src/executor/tensor_list.ts:232
↓ 32 callersMethodget
(index: number)
tfjs-data/src/util/ring_buffer.ts:58
↓ 32 callersMethodminimum
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/minimum.ts:23
↓ 32 callersMethodonEpochEnd
(epoch: number, logs?: UnresolvedLogs)
tfjs-layers/src/base_callbacks.ts:300
↓ 32 callersMethodsoftmax
(this: T, dim?: number)
tfjs-core/src/public/chained_ops/softmax.ts:25
↓ 31 callersMethodpool
( windowShape: [number, number]|number, poolingType: 'avg'|'max', padding: 'valid'|'same'|numb
tfjs-core/src/public/chained_ops/pool.ts:24
↓ 31 callersMethodremoveBackend
(backendName: string)
tfjs-core/src/engine.ts:371
↓ 31 callersMethodseparableConv2d
( depthwiseFilter: Tensor4D|TensorLike4D, pointwiseFilter: Tensor4D|TensorLike, strides: [numb
tfjs-core/src/public/chained_ops/separable_conv2d.ts:23
↓ 31 callersMethodsin
(this: T)
tfjs-core/src/public/chained_ops/sin.ts:25
↓ 31 callersFunctionupcastType
(typeA: DataType, typeB: DataType)
tfjs-core/src/types.ts:126
↓ 30 callersFunctionregisterBackend
( name: string, factory: () => KernelBackend | Promise<KernelBackend>, priority = 1)
tfjs-core/src/globals.ts:358
↓ 30 callersFunctionrunWithLock
(spec: (done?: DoneFn) => Promise<void>| void)
tfjs-core/src/jasmine_util.ts:302
↓ 30 callersMethodstack
(x: Tensor|Tensor[], axis?: number)
tfjs-core/src/public/chained_ops/stack.ts:23
↓ 30 callersFunctionunaryKernelFunc
( name: string, op: SimpleUnaryOperation<I, O>, dtype?: DataTypeFor<O>)
tfjs-backend-cpu/src/utils/unary_utils.ts:34
↓ 29 callersFunctiondispose
(container: TensorContainer)
tfjs-core/src/globals.ts:206
↓ 29 callersFunctionexpectResult
( result: tf.NamedTensorMap, nGrams: string[], nGramsSplits: number[])
tfjs-core/src/ops/string/string_n_grams_test.ts:22
↓ 29 callersMethodfindBackend
(backendName: string)
tfjs-core/src/engine.ts:235
↓ 29 callersMethodfit
( x: Tensor|Tensor[]|{[inputName: string]: Tensor}, y: Tensor|Tensor[]|{[inputName: string]: Tensor},
tfjs-layers/src/layers/nlp/utils.ts:144
↓ 29 callersFunctiongetCoordsDataType
(rank: number)
tfjs-backend-webgl/src/shader_compiler.ts:1872
↓ 29 callersMethodrun
()
e2e/benchmarks/browserstack-benchmark/promise_queue.js:24
↓ 29 callersMethodunstack
(axis?: number)
tfjs-core/src/public/chained_ops/unstack.ts:23
↓ 28 callersMethodavgPool
( filterSize: [number, number]|number, strides: [number, number]|number, pad: 'valid'|'same'|n
tfjs-core/src/public/chained_ops/avg_pool.ts:24
↓ 28 callersFunctioncheckDataFormat
(value?: string)
tfjs-layers/src/common.ts:22
↓ 28 callersMethodcompile
(args: ModelCompileArgs)
tfjs-layers/src/layers/nlp/models/task.ts:51
↓ 28 callersFunctioncreateDenseModel
()
tfjs-layers/src/engine/training_dataset_test.ts:25
↓ 28 callersFunctionexpectIteration
(length: number, expectedHash: string)
tfjs-core/src/hash_util_test.ts:75
↓ 28 callersMethodgetContext
(type: '2d')
tfjs-node/src/canvas_test.ts:32
↓ 28 callersFunctionjarqueBeraNormalityTest
(values: TypedArray|number[])
tfjs-core/src/ops/rand_util.ts:219
↓ 28 callersMethodlogicalAnd
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/logical_and.ts:23
↓ 28 callersFunctionrange
( start: number, stop: number, step = 1, dtype: 'float32'|'int32' = 'float32')
tfjs-core/src/ops/range.ts:42
↓ 28 callersMethodunique
(this: T, axis?: number)
tfjs-core/src/public/chained_ops/unique.ts:24
↓ 27 callersFunctioncallAndCheck
(gl: WebGLRenderingContext, func: () => T)
tfjs-backend-webgl/src/webgl_util.ts:23
↓ 27 callersMethodconv2dTranspose
( filter: Tensor4D|TensorLike4D, outputShape: [number, number, number, number]|[number, number
tfjs-core/src/public/chained_ops/conv2d_transpose.ts:23
↓ 27 callersMethoddispose
()
tfjs-backend-cpu/src/backend_cpu.ts:223
↓ 27 callersFunctionfetch64
(s: Uint8Array, offset: number)
tfjs-core/src/hash_util.ts:46
↓ 27 callersMethodneg
(this: T)
tfjs-core/src/public/chained_ops/neg.ts:25
↓ 27 callersMethodoneHot
(depth: number, onValue: number, offValue: number)
tfjs-core/src/public/chained_ops/one_hot.ts:24
↓ 27 callersFunctionreshape
( args: {inputs: ReshapeInputs, backend: MathBackendCPU, attrs: ReshapeAttrs})
tfjs-backend-cpu/src/kernels/Reshape.ts:22
↓ 27 callersFunctionsizeFromShape
(shape: number[])
tfjs-core/src/util_base.ts:181
↓ 27 callersFunctionsquare
(x: Tensor)
tfjs-layers/src/backend/tfjs_backend.ts:533
↓ 26 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/convolution_executor.ts:85
↓ 26 callersFunctionisValidTensorName
(name: string)
tfjs-layers/src/common.ts:118
↓ 26 callersMethodlength
* Returns the current number of items in the buffer.
tfjs-data/src/util/ring_buffer.ts:75
↓ 26 callersMethodloadWeights
(weightsManifest: WeightsManifestConfig)
tfjs-core/src/io/http.ts:234
↓ 26 callersMethodsgd
* Constructs a `tf.SGDOptimizer` that uses stochastic gradient descent. * * ```js * // Fit a quadratic function by learning the coefficients
tfjs-core/src/optimizers/optimizer_constructors.ts:64
↓ 26 callersFunctiontranspose
(args: { inputs: TransposeInputs, attrs: TransposeAttrs, backend: MathBackendCPU })
tfjs-backend-cpu/src/kernels/Transpose.ts:25
↓ 25 callersMethodargMax
(axis?: number)
tfjs-core/src/public/chained_ops/arg_max.ts:23
↓ 25 callersMethoddelete
(dataId: DataId)
tfjs-core/src/backends/backend.ts:69
↓ 25 callersFunctiongenerateTable
( heading: string, subHeading: string, ops: OpMapper[], output: string[], coreApis: Array<{}>)
tfjs-converter/scripts/gen_doc.ts:147
↓ 25 callersMethodgetLoadHandlers
* Look up IOHandler for loading, given a URL-like string. * * @param url * @param loadOptions Optional, custom load options. * @returns Al
tfjs-core/src/io/router_registry.ts:82
↓ 25 callersFunctiongetMem
()
tfjs-backend-webgl/src/webgl_ops_test.ts:711
↓ 25 callersMethodloadSavedModel
(exportDir: string, tags: string)
tfjs-node/src/tfjs_binding.ts:53
↓ 25 callersMethodsurface
* Creates a surface on the visor * * Most methods in tfjs-vis that take a surface also take a SurfaceInfo * so you rarely need to call this m
tfjs-vis/src/visor.ts:137
↓ 24 callersFunctionbackend
()
tfjs-core/src/globals.ts:372
↓ 24 callersFunctionepsilon
()
tfjs-layers/src/backend/common.ts:19
↓ 24 callersFunctionexec
(command, opt, ignoreCode)
scripts/test-util.js:19
↓ 24 callersMethodflush
* Force summary writer to send all buffered data to storage.
tfjs-node/src/tensorboard.ts:85
↓ 24 callersMethodmod
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/mod.ts:23
↓ 24 callersFunctionnodeBackend
()
tfjs-node/src/nodejs_kernel_backend.ts:705
↓ 24 callersMethodprod
(this: T, axis?: number|number[], keepDims?: boolean)
tfjs-core/src/public/chained_ops/prod.ts:23
↓ 23 callersMethodclose
* Closes the visor. * * @doc {heading: 'Visor & Surfaces', subheading: 'Visor Methods'}
tfjs-vis/src/visor.ts:186
↓ 23 callersMethodcolumnNames
* Returns column names of the csv dataset. If `configuredColumnsOnly` is * true, return column names in `columnConfigs`. If `configuredColumnsOnly`
tfjs-data/src/datasets/csv_dataset.ts:66
↓ 23 callersFunctionexecuteOp
(node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, ops = tfOps)
tfjs-converter/src/operations/executors/slice_join_executor.ts:29
↓ 23 callersMethodexpm1
(this: T)
tfjs-core/src/public/chained_ops/expm1.ts:25
↓ 23 callersMethodgetItem
* Retrieve the element at the provided index * @param elementShape shape of the tensor * @param elementDtype dtype of the tensor * @param ele
tfjs-converter/src/executor/tensor_list.ts:204
↓ 23 callersFunctionmakeTypesMatch
(a: T, b: T)
tfjs-core/src/tensor_util.ts:23
↓ 23 callersMethodonTrainBegin
(logs?: UnresolvedLogs)
tfjs-layers/src/base_callbacks.ts:295
↓ 22 callersMethodacosh
(this: T)
tfjs-core/src/public/chained_ops/acosh.ts:25
↓ 22 callersFunctionconcat
( args: {inputs: ConcatInputs, backend: MathBackendCPU, attrs: ConcatAttrs})
tfjs-backend-cpu/src/kernels/Concat.ts:29
↓ 22 callersFunctioncreateSimpleBinaryKernelImpl
(op: SimpleBinaryOperation)
tfjs-backend-cpu/src/utils/binary_impl.ts:25
↓ 22 callersMethoddispose
()
tfjs-backend-webgpu/src/backend_webgpu.ts:1042
↓ 22 callersMethoddispose
* Releases the memory used by the weight tensors and resourceManager. * * @doc {heading: 'Models', subheading: 'Classes'}
tfjs-converter/src/executor/graph_model.ts:579
↓ 22 callersFunctiongetCoordsDataType
(rank: number)
tfjs-backend-webgpu/src/webgpu_program.ts:113
↓ 22 callersFunctionplainObjectCheck
(x: any)
tfjs-layers/src/user_defined_metadata.ts:64
↓ 22 callersMethodsquaredDifference
(b: Tensor|TensorLike)
tfjs-core/src/public/chained_ops/squared_difference.ts:24
↓ 21 callersMethodargMin
(axis?: number)
tfjs-core/src/public/chained_ops/arg_min.ts:23
↓ 21 callersMethodatanh
(this: T)
tfjs-core/src/public/chained_ops/atanh.ts:25
↓ 21 callersMethodbufferSync
(t: TensorInfo)
tfjs-backend-cpu/src/backend_cpu.ts:146
↓ 21 callersFunctioncomplex
(args: {inputs: ComplexInputs, backend: MathBackendCPU})
tfjs-backend-cpu/src/kernels/Complex.ts:22
↓ 21 callersFunctioncreateBinaryKernelConfig
( kernelName: string, supportsFullBroadcast: boolean, dtype?: DataType)
tfjs-backend-wasm/src/kernels/binary_kernel.ts:24
↓ 21 callersFunctiondeserialize
( config: serialization.ConfigDict, customObjects = {} as serialization.ConfigDict, fastWeightInit
tfjs-layers/src/layers/serialization.ts:27
↓ 21 callersFunctionengine
()
tfjs-core/src/globals.ts:85
↓ 21 callersFunctionexecuteOp
( node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext, resourceManager: ResourceManager)
tfjs-converter/src/operations/executors/hash_table_executor.ts:28
↓ 21 callersMethodgetConfig
()
tfjs-core/src/optimizers/sgd_optimizer.ts:91
← previousnext →201–300 of 6,022, ranked by callers