@@ -46,7 +46,7 @@ import { ndarray, typedndarray, float64ndarray, float32ndarray, int32ndarray, in
46
46
* sh = y.shape;
47
47
* // returns [ 2, 2 ]
48
48
*
49
- * dt = x .dtype;
49
+ * dt = y .dtype;
50
50
* // returns 'float64'
51
51
*/
52
52
declare function zerosLike ( x : float64ndarray ) : float64ndarray ;
@@ -75,7 +75,7 @@ declare function zerosLike( x: float64ndarray ): float64ndarray;
75
75
* sh = y.shape;
76
76
* // returns [ 2, 2 ]
77
77
*
78
- * dt = x .dtype;
78
+ * dt = y .dtype;
79
79
* // returns 'float32'
80
80
*/
81
81
declare function zerosLike ( x : float32ndarray ) : float32ndarray ;
@@ -104,7 +104,7 @@ declare function zerosLike( x: float32ndarray ): float32ndarray;
104
104
* sh = y.shape;
105
105
* // returns [ 2, 2 ]
106
106
*
107
- * dt = x .dtype;
107
+ * dt = y .dtype;
108
108
* // returns 'complex128'
109
109
*/
110
110
declare function zerosLike ( x : complex128ndarray ) : complex128ndarray ;
@@ -133,7 +133,7 @@ declare function zerosLike( x: complex128ndarray ): complex128ndarray;
133
133
* sh = y.shape;
134
134
* // returns [ 2, 2 ]
135
135
*
136
- * dt = x .dtype;
136
+ * dt = y .dtype;
137
137
* // returns 'complex64'
138
138
*/
139
139
declare function zerosLike ( x : complex64ndarray ) : complex64ndarray ;
@@ -162,7 +162,7 @@ declare function zerosLike( x: complex64ndarray ): complex64ndarray;
162
162
* sh = y.shape;
163
163
* // returns [ 2, 2 ]
164
164
*
165
- * dt = x .dtype;
165
+ * dt = y .dtype;
166
166
* // returns 'int32'
167
167
*/
168
168
declare function zerosLike ( x : int32ndarray ) : int32ndarray ;
@@ -191,7 +191,7 @@ declare function zerosLike( x: int32ndarray ): int32ndarray;
191
191
* sh = y.shape;
192
192
* // returns [ 2, 2 ]
193
193
*
194
- * dt = x .dtype;
194
+ * dt = y .dtype;
195
195
* // returns 'int16'
196
196
*/
197
197
declare function zerosLike ( x : int16ndarray ) : int16ndarray ;
@@ -220,7 +220,7 @@ declare function zerosLike( x: int16ndarray ): int16ndarray;
220
220
* sh = y.shape;
221
221
* // returns [ 2, 2 ]
222
222
*
223
- * dt = x .dtype;
223
+ * dt = y .dtype;
224
224
* // returns 'int8'
225
225
*/
226
226
declare function zerosLike ( x : int8ndarray ) : int8ndarray ;
@@ -249,7 +249,7 @@ declare function zerosLike( x: int8ndarray ): int8ndarray;
249
249
* sh = y.shape;
250
250
* // returns [ 2, 2 ]
251
251
*
252
- * dt = x .dtype;
252
+ * dt = y .dtype;
253
253
* // returns 'uint32'
254
254
*/
255
255
declare function zerosLike ( x : uint32ndarray ) : uint32ndarray ;
@@ -278,7 +278,7 @@ declare function zerosLike( x: uint32ndarray ): uint32ndarray;
278
278
* sh = y.shape;
279
279
* // returns [ 2, 2 ]
280
280
*
281
- * dt = x .dtype;
281
+ * dt = y .dtype;
282
282
* // returns 'uint16'
283
283
*/
284
284
declare function zerosLike ( x : uint16ndarray ) : uint16ndarray ;
@@ -307,7 +307,7 @@ declare function zerosLike( x: uint16ndarray ): uint16ndarray;
307
307
* sh = y.shape;
308
308
* // returns [ 2, 2 ]
309
309
*
310
- * dt = x .dtype;
310
+ * dt = y .dtype;
311
311
* // returns 'uint8'
312
312
*/
313
313
declare function zerosLike ( x : uint8ndarray ) : uint8ndarray ;
@@ -336,7 +336,7 @@ declare function zerosLike( x: uint8ndarray ): uint8ndarray;
336
336
* sh = y.shape;
337
337
* // returns [ 2, 2 ]
338
338
*
339
- * dt = x .dtype;
339
+ * dt = y .dtype;
340
340
* // returns 'uint8c'
341
341
*/
342
342
declare function zerosLike ( x : uint8cndarray ) : uint8cndarray ;
@@ -365,7 +365,7 @@ declare function zerosLike( x: uint8cndarray ): uint8cndarray;
365
365
* sh = y.shape;
366
366
* // returns [ 2, 2 ]
367
367
*
368
- * dt = x .dtype;
368
+ * dt = y .dtype;
369
369
* // returns 'generic'
370
370
*/
371
371
declare function zerosLike ( x : ndarray ) : typedndarray < number > ;
0 commit comments