# Class Tensor<R>

A `tf.Tensor` object represents an immutable, multidimensional array of numbers that has a shape and a data type.

For performance reasons, functions that create tensors do not necessarily perform a copy of the data passed to them (e.g. if the data is passed as a `Float32Array`), and changes to the data will change the tensor. This is not a feature and is not supported. To avoid this behavior, use the tensor before changing the input data or create a copy with `copy = tf.add(yourTensor, 0)`.

See `tf.tensor` for details on how to create a `tf.Tensor`.

### Doc

#### Type Parameters

- #### R extends Rank = Rank

#### Hierarchy

- Tensor

#### Implements

- TensorInfo

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:115
- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:130
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/abs.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acos.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acosh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/add.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/all.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/any.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_max.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_min.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_scalar.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_type.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as1d.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as2d.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as3d.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as4d.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as5d.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asin.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asinh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan2.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atanh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/avg_pool.d.ts:21
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batch_to_space_nd.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batchnorm.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/broadcast_to.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cast.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ceil.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/clip_by_value.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/concat.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv1d.d.ts:5
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d_transpose.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cos.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cosh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumprod.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumsum.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depth_to_space.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depthwise_conv2d.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dilation2d.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div_no_nan.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dot.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/elu.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/equal.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/erf.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/euclidean_norm.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/exp.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expand_dims.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expm1.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/fft.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/flatten.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floor.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floorDiv.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/gather.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater_equal.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ifft.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/irfft.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_finite.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_inf.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_nan.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/leaky_relu.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less_equal.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/local_response_normalization.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sigmoid.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_softmax.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sum_exp.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log1p.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_and.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_not.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_or.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_xor.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mat_mul.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max_pool.d.ts:21
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/maximum.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mean.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/min.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/minimum.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mirror_pad.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mod.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mul.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/neg.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/norm.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/not_equal.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/one_hot.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ones_like.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pad.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pool.d.ts:21
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pow.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prelu.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prod.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reciprocal.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu6.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape_as.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_bilinear.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_nearest_neighbor.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reverse.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rfft.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/round.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rsqrt.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/selu.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/separable_conv2d.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sigmoid.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sign.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sin.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sinh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/slice.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softmax.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softplus.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/space_to_batch_nd.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/split.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sqrt.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/square.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squared_difference.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squeeze.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/stack.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/step.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/strided_slice.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sub.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sum.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tan.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tanh.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tile.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_bool.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_float.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_int.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/topk.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/transpose.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unique.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unsorted_segment_sum.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unstack.d.ts:4
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/where.d.ts:20
- Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/zeros_like.d.ts:20

#####
Index

### Constructors

constructor

### Properties

dataId
dtype
id
kept
kerasMask?
rankType
scopeId
shape
size
strides

### Accessors

isDisposed
rank

### Methods

abs
acos
acosh
add
all
any
argMax
argMin
array
arraySync
as1D
as2D
as3D
as4D
as5D
asScalar
asType
asin
asinh
atan
atan2
atanh
avgPool
batchNorm
batchToSpaceND
broadcastTo
buffer
bufferSync
bytes
cast
ceil
clipByValue
clone
concat
conv1d
conv2d
conv2dTranspose
cos
cosh
cumprod
cumsum
data
dataSync
dataToGPU
depthToSpace
depthwiseConv2d
dilation2d
dispose
div
divNoNan
dot
elu
equal
erf
euclideanNorm
exp
expandDims
expm1
fft
flatten
floor
floorDiv
gather
greater
greaterEqual
ifft
irfft
isFinite
isInf
isNaN
leakyRelu
less
lessEqual
localResponseNormalization
log
log1p
logSigmoid
logSoftmax
logSumExp
logicalAnd
logicalNot
logicalOr
logicalXor
matMul
max
maxPool
maximum
mean
min
minimum
mirrorPad
mod
mul
neg
norm
notEqual
oneHot
onesLike
pad
pool
pow
prelu
print
prod
reciprocal
relu
relu6
reshape
reshapeAs
resizeBilinear
resizeNearestNeighbor
reverse
rfft
round
rsqrt
selu
separableConv2d
sigmoid
sign
sin
sinh
slice
softmax
softplus
spaceToBatchND
split
sqrt
square
squaredDifference
squeeze
stack
step
stridedSlice
sub
sum
tan
tanh
throwIfDisposed
tile
toBool
toFloat
toInt
toString
topk
transpose
unique
unsortedSegmentSum
unstack
variable
where
zerosLike

## Constructors

### constructor

- new Tensor<R>(shape: ShapeMap[R], dtype: keyof DataTypeMap, dataId: object, id: number): Tensor<R>

- #### Type Parameters

  - #### R extends Rank = Rank

  #### Parameters

  - ##### shape: ShapeMap[R]

  - ##### dtype: keyof DataTypeMap

  - ##### dataId: object

  - ##### id: number

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:158

## Properties

### dataId

dataId: object

Id of the bucket holding the data for this tensor. Multiple arrays can point to the same bucket (e.g. when calling array.reshape()).

Implementation of TensorInfo.dataId

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:137

### `Readonly` dtype

dtype: keyof DataTypeMap

The data type for the array.

Implementation of TensorInfo.dtype

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:143

### `Readonly` id

id: number

Unique id of this tensor.

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:132

### kept

kept: boolean

Whether this tensor has been globally kept.

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:147

### `Optional` kerasMask

kerasMask?: Tensor<Rank>

The keras mask that some keras layers attach to the tensor

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:151

### `Readonly` rankType

rankType: R

The rank type for the array (see `Rank` enum).

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:145

### scopeId

scopeId: number

The id of the scope this tensor is being tracked in.

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:149

### `Readonly` shape

shape: ShapeMap[R]

The shape of the tensor.

Implementation of TensorInfo.shape

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:139

### `Readonly` size

size: number

Number of elements in the tensor.

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:141

### `Readonly` strides

strides: number[]

Number of elements to skip in each dimension when indexing. See https://docs.scipy.org/doc/numpy/reference/generated/\ numpy.ndarray.strides.html

- Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:157

## Accessors

### isDisposed

- get isDisposed(): boolean

- #### Returns boolean

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:243

### rank

- get rank(): number

- #### Returns number

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:159

## Methods

### abs

- abs<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/abs.d.ts:21

### acos

- acos<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acos.d.ts:21

### acosh

- acosh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acosh.d.ts:21

### add

- add<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/add.d.ts:21

### all

- all<T>(this: T, axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/all.d.ts:5

### any

- any<T>(this: T, axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/any.d.ts:5

### argMax

- argMax<T>(axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_max.d.ts:5

### argMin

- argMin<T>(axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_min.d.ts:5

### array

- array(): Promise<ArrayMap[R]>

- Returns the tensor data as a nested array. The transfer of data is done asynchronously.

  ### Doc

  #### Returns Promise<ArrayMap[R]>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:177

### arraySync

- arraySync(): ArrayMap[R]

- Returns the tensor data as a nested array. The transfer of data is done synchronously.

  ### Doc

  #### Returns ArrayMap[R]

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:184

### as1D

- as1D<T>(): Tensor1D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns Tensor1D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as1d.d.ts:21

### as2D

- as2D<T>(rows: number, columns: number): Tensor2D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### rows: number

  - ##### columns: number

  #### Returns Tensor2D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as2d.d.ts:21

### as3D

- as3D<T>(rows: number, columns: number, depth: number): Tensor3D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### rows: number

  - ##### columns: number

  - ##### depth: number

  #### Returns Tensor3D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as3d.d.ts:21

### as4D

- as4D<T>(rows: number, columns: number, depth: number, depth2: number): Tensor4D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### rows: number

  - ##### columns: number

  - ##### depth: number

  - ##### depth2: number

  #### Returns Tensor4D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as4d.d.ts:21

### as5D

- as5D<T>(rows: number, columns: number, depth: number, depth2: number, depth3: number): Tensor5D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### rows: number

  - ##### columns: number

  - ##### depth: number

  - ##### depth2: number

  - ##### depth3: number

  #### Returns Tensor5D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as5d.d.ts:21

### asScalar

- asScalar<T>(): Scalar

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns Scalar

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_scalar.d.ts:21

### asType

- asType<T>(this: T, dtype: keyof DataTypeMap): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### dtype: keyof DataTypeMap

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_type.d.ts:21

### asin

- asin<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asin.d.ts:21

### asinh

- asinh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asinh.d.ts:21

### atan

- atan<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan.d.ts:21

### atan2

- atan2<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan2.d.ts:5

### atanh

- atanh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atanh.d.ts:21

### avgPool

- avgPool<T>(filterSize: number | [number, number], strides: number | [number, number], pad: number | "valid" | "same" | ExplicitPadding, dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filterSize: number | [number, number]

  - ##### strides: number | [number, number]

  - ##### pad: number | "valid" | "same" | ExplicitPadding

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/avg_pool.d.ts:22

### batchNorm

- batchNorm<T>(mean: Tensor<R> | TensorLike | Tensor1D, variance: Tensor<R> | TensorLike | Tensor1D, offset?: Tensor<R> | TensorLike | Tensor1D, scale?: Tensor<R> | TensorLike | Tensor1D, varianceEpsilon?: number): Tensor<R>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### mean: Tensor<R> | TensorLike | Tensor1D

  - ##### variance: Tensor<R> | TensorLike | Tensor1D

  - ##### `Optional` offset: Tensor<R> | TensorLike | Tensor1D

  - ##### `Optional` scale: Tensor<R> | TensorLike | Tensor1D

  - ##### `Optional` varianceEpsilon: number

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batchnorm.d.ts:5

### batchToSpaceND

- batchToSpaceND<R>(blockShape: number[], crops: number[][]): Tensor<R>

- #### Type Parameters

  - #### R extends Rank

  #### Parameters

  - ##### blockShape: number[]

  - ##### crops: number[][]

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batch_to_space_nd.d.ts:5

### broadcastTo

- broadcastTo<R>(shape: ShapeMap[R]): Tensor<R>

- #### Type Parameters

  - #### R extends Rank

  #### Parameters

  - ##### shape: ShapeMap[R]

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/broadcast_to.d.ts:21

### buffer

- buffer<D>(): Promise<TensorBuffer<R, D>>

- Returns a promise of `tf.TensorBuffer` that holds the underlying data.

  ### Doc

  #### Type Parameters

  - #### D extends keyof DataTypeMap = "float32"

  #### Returns Promise<TensorBuffer<R, D>>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:165

### bufferSync

- bufferSync<D>(): TensorBuffer<R, D>

- Returns a `tf.TensorBuffer` that holds the underlying data.

  ### Doc

  #### Type Parameters

  - #### D extends keyof DataTypeMap = "float32"

  #### Returns TensorBuffer<R, D>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:170

### bytes

- bytes(): Promise<Uint8Array | Uint8Array[]>

- Returns the underlying bytes of the tensor's data.

  #### Returns Promise<Uint8Array | Uint8Array[]>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:235

### cast

- cast<T>(dtype: keyof DataTypeMap): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### dtype: keyof DataTypeMap

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cast.d.ts:21

### ceil

- ceil<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ceil.d.ts:21

### clipByValue

- clipByValue<T>(min: number, max: number): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### min: number

  - ##### max: number

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/clip_by_value.d.ts:21

### clone

- clone<T>(this: T): T

- Returns a copy of the tensor. See `tf.clone` for details.

  ### Doc

  #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:258

### concat

- concat<T>(tensors: T | (TensorLike | T)[], axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### tensors: T | (TensorLike | T)[]

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/concat.d.ts:5

### conv1d

- conv1d<T>(filter: Tensor3D | TensorLike3D, stride: number, pad: number | "valid" | "same" | ExplicitPadding, dataFormat?: "NWC" | "NCW", dilation?: number, dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor3D | Tensor2D

  #### Parameters

  - ##### filter: Tensor3D | TensorLike3D

  - ##### stride: number

  - ##### pad: number | "valid" | "same" | ExplicitPadding

  - ##### `Optional` dataFormat: "NWC" | "NCW"

  - ##### `Optional` dilation: number

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv1d.d.ts:6

### conv2d

- conv2d<T>(filter: Tensor4D | TensorLike4D, strides: number | [number, number], pad: number | "valid" | "same", dataFormat?: "NHWC" | "NCHW", dilations?: number | [number, number], dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filter: Tensor4D | TensorLike4D

  - ##### strides: number | [number, number]

  - ##### pad: number | "valid" | "same"

  - ##### `Optional` dataFormat: "NHWC" | "NCHW"

  - ##### `Optional` dilations: number | [number, number]

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d.d.ts:5

### conv2dTranspose

- conv2dTranspose<T>(filter: Tensor4D | TensorLike4D, outputShape: [number, number, number] | [number, number, number, number], strides: number | [number, number], pad: number | "valid" | "same", dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filter: Tensor4D | TensorLike4D

  - ##### outputShape: [number, number, number] | [number, number, number, number]

  - ##### strides: number | [number, number]

  - ##### pad: number | "valid" | "same"

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d_transpose.d.ts:5

### cos

- cos<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cos.d.ts:21

### cosh

- cosh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cosh.d.ts:21

### cumprod

- cumprod<R>(axis?: number, exclusive?: boolean, reverse?: boolean): Tensor<R>

- #### Type Parameters

  - #### R extends Rank

  #### Parameters

  - ##### `Optional` axis: number

  - ##### `Optional` exclusive: boolean

  - ##### `Optional` reverse: boolean

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumprod.d.ts:5

### cumsum

- cumsum<R>(axis?: number, exclusive?: boolean, reverse?: boolean): Tensor<R>

- #### Type Parameters

  - #### R extends Rank

  #### Parameters

  - ##### `Optional` axis: number

  - ##### `Optional` exclusive: boolean

  - ##### `Optional` reverse: boolean

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumsum.d.ts:5

### data

- data<D>(): Promise<DataTypeMap[D]>

- Asynchronously downloads the values from the `tf.Tensor`. Returns a promise of `TypedArray` that resolves when the computation has finished.

  ### Doc

  #### Type Parameters

  - #### D extends keyof DataTypeMap = NumericDataType

  #### Returns Promise<DataTypeMap[D]>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:191

### dataSync

- dataSync<D>(): DataTypeMap[D]

- Synchronously downloads the values from the `tf.Tensor`. This blocks the UI thread until the values are ready, which can cause performance issues.

  ### Doc

  #### Type Parameters

  - #### D extends keyof DataTypeMap = NumericDataType

  #### Returns DataTypeMap[D]

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:233

### dataToGPU

- dataToGPU(options?: DataToGPUWebGLOption): GPUData

- Copy the tensor's data to a new GPU resource. Comparing to the `dataSync()` and `data()`, this method prevents data from being downloaded to CPU.

  For WebGL backend, the data will be stored on a densely packed texture. This means that the texture will use the RGBA channels to store value.

  For WebGPU backend, the data will be stored on a buffer. There is no parameter, so can not use a user-defined size to create the buffer.

  ### Returns

  For WebGL backend, a GPUData contains the new texture and its information. { tensorRef: The tensor that is associated with this texture, texture: WebGLTexture, texShape: [number, number] // [height, width] }

      For WebGPU backend, a GPUData contains the new buffer.
      {
         tensorRef: The tensor that is associated with this buffer,
         buffer: GPUBuffer,
      }

      Remember to dispose the GPUData after it is used by
      `res.tensorRef.dispose()`.

  ### Doc

  #### Parameters

  - ##### `Optional` options: DataToGPUWebGLOption

  #### Returns GPUData

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:226

### depthToSpace

- depthToSpace<T>(blockSize: number, dataFormat: "NHWC" | "NCHW"): T

- #### Type Parameters

  - #### T extends Tensor4D

  #### Parameters

  - ##### blockSize: number

  - ##### dataFormat: "NHWC" | "NCHW"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depth_to_space.d.ts:5

### depthwiseConv2d

- depthwiseConv2d<T>(filter: Tensor4D | TensorLike4D, strides: number | [number, number], pad: number | "valid" | "same", dataFormat?: "NHWC" | "NCHW", dilations?: number | [number, number], dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filter: Tensor4D | TensorLike4D

  - ##### strides: number | [number, number]

  - ##### pad: number | "valid" | "same"

  - ##### `Optional` dataFormat: "NHWC" | "NCHW"

  - ##### `Optional` dilations: number | [number, number]

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depthwise_conv2d.d.ts:5

### dilation2d

- dilation2d<T>(filter: Tensor3D | TensorLike3D, strides: number | [number, number], pad: "valid" | "same", dilations?: number | [number, number], dataFormat?: "NHWC"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filter: Tensor3D | TensorLike3D

  - ##### strides: number | [number, number]

  - ##### pad: "valid" | "same"

  - ##### `Optional` dilations: number | [number, number]

  - ##### `Optional` dataFormat: "NHWC"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dilation2d.d.ts:5

### dispose

- dispose(): void

- Disposes `tf.Tensor` from memory.

  ### Doc

  #### Returns void

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:241

### div

- div<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div.d.ts:21

### divNoNan

- divNoNan<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div_no_nan.d.ts:21

### dot

- dot<T>(b: Tensor<Rank> | TensorLike): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dot.d.ts:5

### elu

- elu<T>(): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/elu.d.ts:5

### equal

- equal<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/equal.d.ts:5

### erf

- erf<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/erf.d.ts:21

### euclideanNorm

- euclideanNorm<T>(this: T, axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/euclidean_norm.d.ts:21

### exp

- exp<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/exp.d.ts:21

### expandDims

- expandDims<T>(axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expand_dims.d.ts:5

### expm1

- expm1<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expm1.d.ts:21

### fft

- fft<T>(this: Tensor<Rank>): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: Tensor<Rank>

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/fft.d.ts:21

### flatten

- flatten<T>(): Tensor1D

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns Tensor1D

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/flatten.d.ts:21

### floor

- floor<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floor.d.ts:21

### floorDiv

- floorDiv<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floorDiv.d.ts:5

### gather

- gather<T>(this: T, indices: Tensor<Rank> | TensorLike, axis?: number, batchDims?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### indices: Tensor<Rank> | TensorLike

  - ##### `Optional` axis: number

  - ##### `Optional` batchDims: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/gather.d.ts:21

### greater

- greater<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater.d.ts:5

### greaterEqual

- greaterEqual<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater_equal.d.ts:5

### ifft

- ifft<T>(this: Tensor<Rank>): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: Tensor<Rank>

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ifft.d.ts:21

### irfft

- irfft<T>(this: Tensor<Rank>): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: Tensor<Rank>

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/irfft.d.ts:21

### isFinite

- isFinite<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_finite.d.ts:21

### isInf

- isInf<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_inf.d.ts:21

### isNaN

- isNaN<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_nan.d.ts:21

### leakyRelu

- leakyRelu<T>(alpha: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### alpha: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/leaky_relu.d.ts:5

### less

- less<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less.d.ts:5

### lessEqual

- lessEqual<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less_equal.d.ts:5

### localResponseNormalization

- localResponseNormalization<T>(depthRadius?: number, bias?: number, alpha?: number, beta?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` depthRadius: number

  - ##### `Optional` bias: number

  - ##### `Optional` alpha: number

  - ##### `Optional` beta: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/local_response_normalization.d.ts:5

### log

- log<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log.d.ts:21

### log1p

- log1p<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log1p.d.ts:21

### logSigmoid

- logSigmoid<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sigmoid.d.ts:21

### logSoftmax

- logSoftmax<T>(this: T, axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_softmax.d.ts:21

### logSumExp

- logSumExp<T>(this: T, axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sum_exp.d.ts:5

### logicalAnd

- logicalAnd<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_and.d.ts:5

### logicalNot

- logicalNot<T>(): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_not.d.ts:5

### logicalOr

- logicalOr<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_or.d.ts:5

### logicalXor

- logicalXor<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_xor.d.ts:5

### matMul

- matMul<T>(b: Tensor<Rank> | TensorLike, transposeA?: boolean, transposeB?: boolean): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  - ##### `Optional` transposeA: boolean

  - ##### `Optional` transposeB: boolean

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mat_mul.d.ts:5

### max

- max<T>(axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max.d.ts:21

### maxPool

- maxPool<T>(filterSize: number | [number, number], strides: number | [number, number], pad: number | "valid" | "same" | ExplicitPadding, dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### filterSize: number | [number, number]

  - ##### strides: number | [number, number]

  - ##### pad: number | "valid" | "same" | ExplicitPadding

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max_pool.d.ts:22

### maximum

- maximum<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/maximum.d.ts:5

### mean

- mean<T>(axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mean.d.ts:5

### min

- min<T>(axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/min.d.ts:21

### minimum

- minimum<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/minimum.d.ts:5

### mirrorPad

- mirrorPad<T>(paddings: [number, number][], mode: "reflect" | "symmetric"): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### paddings: [number, number][]

  - ##### mode: "reflect" | "symmetric"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mirror_pad.d.ts:21

### mod

- mod<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mod.d.ts:5

### mul

- mul<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mul.d.ts:5

### neg

- neg<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/neg.d.ts:21

### norm

- norm<T>(ord?: number | "euclidean" | "fro", axis?: number | number[], keepDims?: boolean): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` ord: number | "euclidean" | "fro"

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/norm.d.ts:21

### notEqual

- notEqual<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/not_equal.d.ts:5

### oneHot

- oneHot(depth: number, onValue: number, offValue: number): Tensor<Rank>

- #### Parameters

  - ##### depth: number

  - ##### onValue: number

  - ##### offValue: number

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/one_hot.d.ts:21

### onesLike

- onesLike<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ones_like.d.ts:21

### pad

- pad<T>(paddings: [number, number][], constantValue?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### paddings: [number, number][]

  - ##### `Optional` constantValue: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pad.d.ts:21

### pool

- pool<T>(windowShape: number | [number, number], poolingType: "avg" | "max", padding: number | "valid" | "same" | ExplicitPadding, diationRate?: number | [number, number], strides?: number | [number, number], dimRoundingMode?: "round" | "floor" | "ceil"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### windowShape: number | [number, number]

  - ##### poolingType: "avg" | "max"

  - ##### padding: number | "valid" | "same" | ExplicitPadding

  - ##### `Optional` diationRate: number | [number, number]

  - ##### `Optional` strides: number | [number, number]

  - ##### `Optional` dimRoundingMode: "round" | "floor" | "ceil"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pool.d.ts:22

### pow

- pow<T>(exp: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### exp: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pow.d.ts:5

### prelu

- prelu<T>(alpha: TensorLike | T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### alpha: TensorLike | T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prelu.d.ts:5

### print

- print(verbose?: boolean): void

- Prints the `tf.Tensor`. See `tf.print` for details.

  ### Doc

  #### Parameters

  - ##### `Optional` verbose: boolean

    Whether to print verbose information about the tensor, including dtype and size.

  #### Returns void

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:253

### prod

- prod<T>(this: T, axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prod.d.ts:5

### reciprocal

- reciprocal<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reciprocal.d.ts:21

### relu

- relu<T>(): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu.d.ts:5

### relu6

- relu6<T>(): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu6.d.ts:5

### reshape

- reshape<T>(shape: number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### shape: number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape.d.ts:5

### reshapeAs

- reshapeAs<T>(x: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### x: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape_as.d.ts:21

### resizeBilinear

- resizeBilinear<T>(newShape2D: [number, number], alignCorners?: boolean, halfPixelCenters?: boolean): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### newShape2D: [number, number]

  - ##### `Optional` alignCorners: boolean

  - ##### `Optional` halfPixelCenters: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_bilinear.d.ts:5

### resizeNearestNeighbor

- resizeNearestNeighbor<T>(newShape2D: [number, number], alignCorners?: boolean, halfFloatCenters?: boolean): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### newShape2D: [number, number]

  - ##### `Optional` alignCorners: boolean

  - ##### `Optional` halfFloatCenters: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_nearest_neighbor.d.ts:5

### reverse

- reverse<T>(this: T, axis?: number | number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number | number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reverse.d.ts:5

### rfft

- rfft<T>(this: Tensor<Rank>): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: Tensor<Rank>

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rfft.d.ts:21

### round

- round<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/round.d.ts:21

### rsqrt

- rsqrt<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rsqrt.d.ts:21

### selu

- selu<T>(): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/selu.d.ts:5

### separableConv2d

- separableConv2d<T>(depthwiseFilter: Tensor4D | TensorLike4D, pointwiseFilter: Tensor4D | TensorLike, strides: number | [number, number], pad: "valid" | "same", dilation?: number | [number, number], dataFormat?: "NHWC" | "NCHW"): T

- #### Type Parameters

  - #### T extends Tensor4D | Tensor3D

  #### Parameters

  - ##### depthwiseFilter: Tensor4D | TensorLike4D

  - ##### pointwiseFilter: Tensor4D | TensorLike

  - ##### strides: number | [number, number]

  - ##### pad: "valid" | "same"

  - ##### `Optional` dilation: number | [number, number]

  - ##### `Optional` dataFormat: "NHWC" | "NCHW"

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/separable_conv2d.d.ts:5

### sigmoid

- sigmoid<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sigmoid.d.ts:21

### sign

- sign<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sign.d.ts:21

### sin

- sin<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sin.d.ts:21

### sinh

- sinh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sinh.d.ts:21

### slice

- slice<T>(this: T, begin: number | number[], size?: number | number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### begin: number | number[]

  - ##### `Optional` size: number | number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/slice.d.ts:21

### softmax

- softmax<T>(this: T, dim?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` dim: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softmax.d.ts:21

### softplus

- softplus<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softplus.d.ts:21

### spaceToBatchND

- spaceToBatchND<R>(blockShape: number[], paddings: number[][]): Tensor<R>

- #### Type Parameters

  - #### R extends Rank

  #### Parameters

  - ##### blockShape: number[]

  - ##### paddings: number[][]

  #### Returns Tensor<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/space_to_batch_nd.d.ts:5

### split

- split<T>(numOrSizeSplits: number | number[], axis?: number): T[]

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### numOrSizeSplits: number | number[]

  - ##### `Optional` axis: number

  #### Returns T[]

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/split.d.ts:5

### sqrt

- sqrt<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sqrt.d.ts:21

### square

- square<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/square.d.ts:21

### squaredDifference

- squaredDifference<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squared_difference.d.ts:21

### squeeze

- squeeze<T>(axis?: number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squeeze.d.ts:5

### stack

- stack<T>(x: Tensor<Rank> | Tensor<Rank>[], axis?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### x: Tensor<Rank> | Tensor<Rank>[]

  - ##### `Optional` axis: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/stack.d.ts:5

### step

- step<T>(this: T, alpha?: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` alpha: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/step.d.ts:21

### stridedSlice

- stridedSlice<T>(this: Tensor<Rank>, begin: number[], end: number[], strides: number[], beginMask?: number, endMask?: number, ellipsisMask?: number, newAxisMask?: number, shrinkAxisMask?: number): Tensor<Rank>

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: Tensor<Rank>

  - ##### begin: number[]

  - ##### end: number[]

  - ##### strides: number[]

  - ##### `Optional` beginMask: number

  - ##### `Optional` endMask: number

  - ##### `Optional` ellipsisMask: number

  - ##### `Optional` newAxisMask: number

  - ##### `Optional` shrinkAxisMask: number

  #### Returns Tensor<Rank>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/strided_slice.d.ts:21

### sub

- sub<T>(b: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sub.d.ts:5

### sum

- sum<T>(axis?: number | number[], keepDims?: boolean): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number | number[]

  - ##### `Optional` keepDims: boolean

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sum.d.ts:5

### tan

- tan<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tan.d.ts:21

### tanh

- tanh<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tanh.d.ts:21

### throwIfDisposed

- throwIfDisposed(): void

- #### Returns void

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:244

### tile

- tile<T>(b: number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### b: number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tile.d.ts:21

### toBool

- toBool<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_bool.d.ts:21

### toFloat

- toFloat<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_float.d.ts:21

### toInt

- toInt<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_int.d.ts:21

### toString

- toString(verbose?: boolean): string

- Returns a human-readable description of the tensor. Useful for logging.

  ### Doc

  #### Parameters

  - ##### `Optional` verbose: boolean

  #### Returns string

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:264

### topk

- topk<T>(this: T, k?: number, sorted?: boolean): {
  indices: T;
  values: T;
  }

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` k: number

  - ##### `Optional` sorted: boolean

  #### Returns {
  indices: T;
  values: T;
  }

  - ##### indices: T

  - ##### values: T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/topk.d.ts:21

### transpose

- transpose<T>(perm?: number[]): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` perm: number[]

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/transpose.d.ts:21

### unique

- unique<T>(this: T, axis?: number): {
  indices: T;
  values: T;
  }

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### `Optional` axis: number

  #### Returns {
  indices: T;
  values: T;
  }

  - ##### indices: T

  - ##### values: T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unique.d.ts:21

### unsortedSegmentSum

- unsortedSegmentSum<T>(this: T, segmentIds: Tensor1D | TensorLike1D, numSegments: number): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  - ##### segmentIds: Tensor1D | TensorLike1D

  - ##### numSegments: number

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unsorted_segment_sum.d.ts:21

### unstack

- unstack<T>(axis?: number): T[]

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### `Optional` axis: number

  #### Returns T[]

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unstack.d.ts:5

### variable

- variable(trainable?: boolean, name?: string, dtype?: keyof DataTypeMap): Variable<R>

- #### Parameters

  - ##### `Optional` trainable: boolean

  - ##### `Optional` name: string

  - ##### `Optional` dtype: keyof DataTypeMap

  #### Returns Variable<R>

  - Defined in node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:265

### where

- where<T>(condition: Tensor<Rank> | TensorLike, x: Tensor<Rank> | TensorLike): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### condition: Tensor<Rank> | TensorLike

  - ##### x: Tensor<Rank> | TensorLike

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/where.d.ts:21

### zerosLike

- zerosLike<T>(this: T): T

- #### Type Parameters

  - #### T extends Tensor<Rank>

  #### Parameters

  - ##### this: T

  #### Returns T

  - Defined in node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/zeros_like.d.ts:21