1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export { abs } from './abs';
|
18 | export { acos } from './acos';
|
19 | export { acosh } from './acosh';
|
20 | export { add } from './add';
|
21 | export { addN } from './add_n';
|
22 | export { all } from './all';
|
23 | export { any } from './any';
|
24 | export { argMax } from './arg_max';
|
25 | export { argMin } from './arg_min';
|
26 | export { asin } from './asin';
|
27 | export { asinh } from './asinh';
|
28 | export { atan } from './atan';
|
29 | export { atan2 } from './atan2';
|
30 | export { atanh } from './atanh';
|
31 | export { avgPool } from './avg_pool';
|
32 | export { avgPool3d } from './avg_pool_3d';
|
33 | export { basicLSTMCell } from './basic_lstm_cell';
|
34 | export { batchToSpaceND } from './batch_to_space_nd';
|
35 | export { batchNorm } from './batchnorm';
|
36 | export { batchNorm2d } from './batchnorm2d';
|
37 | export { batchNorm3d } from './batchnorm3d';
|
38 | export { batchNorm4d } from './batchnorm4d';
|
39 | export { bincount } from './bincount';
|
40 | export { broadcastTo } from './broadcast_to';
|
41 | export { buffer } from './buffer';
|
42 | export { cast } from './cast';
|
43 | export { ceil } from './ceil';
|
44 | export { clipByValue } from './clip_by_value';
|
45 | export { clone } from './clone';
|
46 | export { complex } from './complex';
|
47 | export { concat } from './concat';
|
48 | export { concat1d } from './concat_1d';
|
49 | export { concat2d } from './concat_2d';
|
50 | export { concat3d } from './concat_3d';
|
51 | export { concat4d } from './concat_4d';
|
52 | export { conv1d } from './conv1d';
|
53 | export { conv2d } from './conv2d';
|
54 | export { conv2dTranspose } from './conv2d_transpose';
|
55 | export { conv3d } from './conv3d';
|
56 | export { conv3dTranspose } from './conv3d_transpose';
|
57 | export { cos } from './cos';
|
58 | export { cosh } from './cosh';
|
59 | export { cumsum } from './cumsum';
|
60 | export { denseBincount } from './dense_bincount';
|
61 | export { depthToSpace } from './depth_to_space';
|
62 | export { depthwiseConv2d } from './depthwise_conv2d';
|
63 | export { diag } from './diag';
|
64 | export { dilation2d } from './dilation2d';
|
65 | export { div } from './div';
|
66 | export { divNoNan } from './div_no_nan';
|
67 | export { dot } from './dot';
|
68 | export { einsum } from './einsum';
|
69 | export { elu } from './elu';
|
70 | export { equal } from './equal';
|
71 | export { erf } from './erf';
|
72 | export { exp } from './exp';
|
73 | export { expandDims } from './expand_dims';
|
74 | export { expm1 } from './expm1';
|
75 | export { eye } from './eye';
|
76 | export { fill } from './fill';
|
77 | export { floor } from './floor';
|
78 | export { floorDiv } from './floorDiv';
|
79 | export { gather } from './gather';
|
80 | export { greater } from './greater';
|
81 | export { greaterEqual } from './greater_equal';
|
82 | export { imag } from './imag';
|
83 | export { isFinite } from './is_finite';
|
84 | export { isInf } from './is_inf';
|
85 | export { isNaN } from './is_nan';
|
86 | export { leakyRelu } from './leaky_relu';
|
87 | export { less } from './less';
|
88 | export { lessEqual } from './less_equal';
|
89 | export { linspace } from './linspace';
|
90 | export { localResponseNormalization } from './local_response_normalization';
|
91 | export { log } from './log';
|
92 | export { log1p } from './log1p';
|
93 | export { logSigmoid } from './log_sigmoid';
|
94 | export { logSoftmax } from './log_softmax';
|
95 | export { logSumExp } from './log_sum_exp';
|
96 | export { logicalAnd } from './logical_and';
|
97 | export { logicalNot } from './logical_not';
|
98 | export { logicalOr } from './logical_or';
|
99 | export { logicalXor } from './logical_xor';
|
100 | export { matMul } from './mat_mul';
|
101 | export { max } from './max';
|
102 | export { maxPool } from './max_pool';
|
103 | export { maxPool3d } from './max_pool_3d';
|
104 | export { maxPoolWithArgmax } from './max_pool_with_argmax';
|
105 | export { maximum } from './maximum';
|
106 | export { mean } from './mean';
|
107 | export { meshgrid } from './meshgrid';
|
108 | export { min } from './min';
|
109 | export { minimum } from './minimum';
|
110 | export { mirrorPad } from './mirror_pad';
|
111 | export { mod } from './mod';
|
112 | export { moments } from './moments';
|
113 | export { mul } from './mul';
|
114 | export { LSTMCellFunc, multiRNNCell } from './multi_rnn_cell';
|
115 | export { multinomial } from './multinomial';
|
116 | export { neg } from './neg';
|
117 | export { notEqual } from './not_equal';
|
118 | export { oneHot } from './one_hot';
|
119 | export { ones } from './ones';
|
120 | export { onesLike } from './ones_like';
|
121 | export { outerProduct } from './outer_product';
|
122 | export { pad } from './pad';
|
123 | export { pad1d } from './pad1d';
|
124 | export { pad2d } from './pad2d';
|
125 | export { pad3d } from './pad3d';
|
126 | export { pad4d } from './pad4d';
|
127 | export { pool } from './pool';
|
128 | export { pow } from './pow';
|
129 | export { prelu } from './prelu';
|
130 | export { print } from './print';
|
131 | export { prod } from './prod';
|
132 | export { rand } from './rand';
|
133 | export { randomGamma } from './random_gamma';
|
134 | export { randomNormal } from './random_normal';
|
135 | export { randomUniform } from './random_uniform';
|
136 | export { range } from './range';
|
137 | export { real } from './real';
|
138 | export { reciprocal } from './reciprocal';
|
139 | export { relu } from './relu';
|
140 | export { relu6 } from './relu6';
|
141 | export { reshape } from './reshape';
|
142 | export { reverse } from './reverse';
|
143 | export { reverse1d } from './reverse_1d';
|
144 | export { reverse2d } from './reverse_2d';
|
145 | export { reverse3d } from './reverse_3d';
|
146 | export { reverse4d } from './reverse_4d';
|
147 | export { round } from './round';
|
148 | export { rsqrt } from './rsqrt';
|
149 | export { scalar } from './scalar';
|
150 | export { selu } from './selu';
|
151 | export { separableConv2d } from './separable_conv2d';
|
152 | export { setdiff1dAsync } from './setdiff1d_async';
|
153 | export { sigmoid } from './sigmoid';
|
154 | export { sign } from './sign';
|
155 | export { sin } from './sin';
|
156 | export { sinh } from './sinh';
|
157 | export { slice } from './slice';
|
158 | export { slice1d } from './slice1d';
|
159 | export { slice2d } from './slice2d';
|
160 | export { slice3d } from './slice3d';
|
161 | export { slice4d } from './slice4d';
|
162 | export { softmax } from './softmax';
|
163 | export { softplus } from './softplus';
|
164 | export { spaceToBatchND } from './space_to_batch_nd';
|
165 | export { fft } from './spectral/fft';
|
166 | export { ifft } from './spectral/ifft';
|
167 | export { irfft } from './spectral/irfft';
|
168 | export { rfft } from './spectral/rfft';
|
169 | export { split } from './split';
|
170 | export { sqrt } from './sqrt';
|
171 | export { square } from './square';
|
172 | export { squaredDifference } from './squared_difference';
|
173 | export { squeeze } from './squeeze';
|
174 | export { stack } from './stack';
|
175 | export { step } from './step';
|
176 | export { stridedSlice } from './strided_slice';
|
177 | export { sub } from './sub';
|
178 | export { sum } from './sum';
|
179 | export { tan } from './tan';
|
180 | export { tanh } from './tanh';
|
181 | export { tensor } from './tensor';
|
182 | export { tensor1d } from './tensor1d';
|
183 | export { tensor2d } from './tensor2d';
|
184 | export { tensor3d } from './tensor3d';
|
185 | export { tensor4d } from './tensor4d';
|
186 | export { tensor5d } from './tensor5d';
|
187 | export { tensor6d } from './tensor6d';
|
188 | export { tile } from './tile';
|
189 | export { topk } from './topk';
|
190 | export { truncatedNormal } from './truncated_normal';
|
191 | export { unique } from './unique';
|
192 | export { unsortedSegmentSum } from './unsorted_segment_sum';
|
193 | export { unstack } from './unstack';
|
194 | export { variable } from './variable';
|
195 | export { where } from './where';
|
196 | export { whereAsync } from './where_async';
|
197 | export { zeros } from './zeros';
|
198 | export { zerosLike } from './zeros_like';
|
199 | export * from './boolean_mask';
|
200 | export * from './transpose';
|
201 | export * from './norm';
|
202 | export * from './moving_average';
|
203 | export * from './scatter_nd';
|
204 | export * from './sparse_to_dense';
|
205 | export * from './gather_nd';
|
206 | export * from './dropout';
|
207 | export * from './signal_ops_util';
|
208 | export * from './in_top_k';
|
209 | export { op, OP_SCOPE_SUFFIX } from './operation';
|
210 | declare const spectral: {
|
211 | fft: (input: import("..").Tensor<import("..").Rank>) => import("..").Tensor<import("..").Rank>;
|
212 | ifft: (input: import("..").Tensor<import("..").Rank>) => import("..").Tensor<import("..").Rank>;
|
213 | rfft: (input: import("..").Tensor<import("..").Rank>, fftLength?: number) => import("..").Tensor<import("..").Rank>;
|
214 | irfft: (input: import("..").Tensor<import("..").Rank>) => import("..").Tensor<import("..").Rank>;
|
215 | };
|
216 | import * as fused from './fused_ops';
|
217 | declare const signal: {
|
218 | hammingWindow: (windowLength: number) => import("..").Tensor<import("..").Rank.R1>;
|
219 | hannWindow: (windowLength: number) => import("..").Tensor<import("..").Rank.R1>;
|
220 | frame: (signal: import("..").Tensor<import("..").Rank.R1>, frameLength: number, frameStep: number, padEnd?: boolean, padValue?: number) => import("..").Tensor<import("..").Rank>;
|
221 | stft: (signal: import("..").Tensor<import("..").Rank.R1>, frameLength: number, frameStep: number, fftLength?: number, windowFn?: (length: number) => import("..").Tensor<import("..").Rank.R1>) => import("..").Tensor<import("..").Rank>;
|
222 | };
|
223 | declare const image: {
|
224 | flipLeftRight: (image: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R4>) => import("..").Tensor<import("..").Rank.R4>;
|
225 | resizeNearestNeighbor: <T extends import("..").Tensor<import("..").Rank.R3> | import("..").Tensor<import("..").Rank.R4>>(images: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, size: [number, number], alignCorners?: boolean, halfPixelCenters?: boolean) => T;
|
226 | resizeBilinear: <T extends import("..").Tensor<import("..").Rank.R3> | import("..").Tensor<import("..").Rank.R4>>(images: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, size: [number, number], alignCorners?: boolean, halfPixelCenters?: boolean) => T;
|
227 | rotateWithOffset: (image: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R4>, radians: number, fillValue?: number | [number, number, number], center?: number | [number, number]) => import("..").Tensor<import("..").Rank.R4>;
|
228 | cropAndResize: (image: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R4>, boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, boxInd: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, cropSize: [number, number], method?: "nearest" | "bilinear", extrapolationValue?: number) => import("..").Tensor<import("..").Rank.R4>;
|
229 | nonMaxSuppression: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number) => import("..").Tensor<import("..").Rank.R1>;
|
230 | nonMaxSuppressionAsync: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number) => Promise<import("..").Tensor<import("..").Rank.R1>>;
|
231 | nonMaxSuppressionWithScore: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number, softNmsSigma?: number) => import("..").NamedTensorMap;
|
232 | nonMaxSuppressionWithScoreAsync: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number, softNmsSigma?: number) => Promise<import("..").NamedTensorMap>;
|
233 | nonMaxSuppressionPadded: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number, padToMaxOutputSize?: boolean) => import("..").NamedTensorMap;
|
234 | nonMaxSuppressionPaddedAsync: (boxes: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, scores: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, maxOutputSize: number, iouThreshold?: number, scoreThreshold?: number, padToMaxOutputSize?: boolean) => Promise<import("..").NamedTensorMap>;
|
235 | threshold: (image: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R3>, method?: string, inverted?: boolean, threshValue?: number) => import("..").Tensor<import("..").Rank.R3>;
|
236 | transform: (image: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R4>, transforms: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, interpolation?: "nearest" | "bilinear", fillMode?: "reflect" | "nearest" | "constant" | "wrap", fillValue?: number, outputShape?: [number, number]) => import("..").Tensor<import("..").Rank.R4>;
|
237 | };
|
238 | declare const linalg: {
|
239 | bandPart: <T extends import("..").Tensor<import("..").Rank>>(a: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, numLower: number, numUpper: number) => T;
|
240 | gramSchmidt: (xs: import("..").Tensor<import("..").Rank.R2> | import("..").Tensor<import("..").Rank.R1>[]) => import("..").Tensor<import("..").Rank.R2> | import("..").Tensor<import("..").Rank.R1>[];
|
241 | qr: (x: import("..").Tensor<import("..").Rank>, fullMatrices?: boolean) => [import("..").Tensor<import("..").Rank>, import("..").Tensor<import("..").Rank>];
|
242 | };
|
243 | declare const losses: {
|
244 | absoluteDifference: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, reduction?: import("./loss_ops_utils").Reduction) => O;
|
245 | computeWeightedLoss: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(losses: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, reduction?: import("./loss_ops_utils").Reduction) => O;
|
246 | cosineDistance: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, axis: number, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, reduction?: import("./loss_ops_utils").Reduction) => O;
|
247 | hingeLoss: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, reduction?: import("./loss_ops_utils").Reduction) => O;
|
248 | huberLoss: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, delta?: number, reduction?: import("./loss_ops_utils").Reduction) => O;
|
249 | logLoss: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, epsilon?: number, reduction?: import("./loss_ops_utils").Reduction) => O;
|
250 | meanSquaredError: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(labels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, predictions: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, reduction?: import("./loss_ops_utils").Reduction) => O;
|
251 | sigmoidCrossEntropy: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(multiClassLabels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, logits: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, labelSmoothing?: number, reduction?: import("./loss_ops_utils").Reduction) => O;
|
252 | softmaxCrossEntropy: <T extends import("..").Tensor<import("..").Rank>, O extends import("..").Tensor<import("..").Rank>>(onehotLabels: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, logits: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | T, weights?: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, labelSmoothing?: number, reduction?: import("./loss_ops_utils").Reduction) => O;
|
253 | };
|
254 | declare const sparse: {
|
255 | sparseFillEmptyRows: (indices: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, values: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, denseShape: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, defaultValue: string | number | boolean | Uint8Array | import("..").Tensor<import("..").Rank.R0>) => import("..").NamedTensorMap;
|
256 | sparseReshape: (inputIndices: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R2>, inputShape: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, newShape: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>) => import("..").NamedTensorMap;
|
257 | sparseSegmentMean: (data: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, indices: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, segmentIds: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>) => import("..").Tensor<import("..").Rank>;
|
258 | sparseSegmentSum: (data: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, indices: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, segmentIds: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>) => import("..").Tensor<import("..").Rank>;
|
259 | };
|
260 | declare const string: {
|
261 | stringNGrams: (data: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, dataSplits: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, separator: string, nGramWidths: number[], leftPad: string, rightPad: string, padWidth: number, preserveShortSequences: boolean) => import("..").NamedTensorMap;
|
262 | stringSplit: (input: string | number | boolean | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string> | import("..").Tensor<import("..").Rank.R1>, delimiter: string | number | boolean | Uint8Array | import("..").Tensor<import("..").Rank.R0>, skipEmpty?: boolean) => import("..").NamedTensorMap;
|
263 | stringToHashBucketFast: (input: string | number | boolean | import("..").Tensor<import("..").Rank> | Float32Array | Int32Array | Uint8Array | Uint8Array[] | import("..").RecursiveArray<number | number[] | Float32Array | Int32Array | Uint8Array> | import("..").RecursiveArray<boolean> | import("..").RecursiveArray<string>, numBuckets: number) => import("..").Tensor<import("..").Rank>;
|
264 | };
|
265 | export { image, linalg, losses, spectral, fused, signal, sparse, string };
|