You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRangeError(format('invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.',this._ndims,arguments.length));
thrownewTypeError(format('invalid argument. Fourth argument must be an array-like object containing integers. Value: `%s`.',strides));
135
+
thrownewTypeError(format('0jp5U',strides));
136
136
}
137
137
if(ndims>0){
138
138
if(strides.length!==ndims){
139
-
thrownewRangeError(format('invalid argument. Fourth argument length must match the number of dimensions. Expected number of dimensions: `%u`. Strides length: `%u`.',ndims,strides.length));
thrownewError('invalid arguments. Input buffer is incompatible with the specified meta data. Ensure that the offset is valid with regard to the strides array and that the buffer has enough elements to satisfy the desired array shape.');
thrownewError('invalid invocation. Cannot write to a read-only array.');
55
+
thrownewError(format('0jp0e'));
56
56
}
57
57
if(arguments.length!==this._ndims+1){
58
-
thrownewRangeError(format('invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.',this._ndims,arguments.length));
returnnewTypeError(format('invalid option. `%s` option must be an array containing recognized modes. Option: `%s`.','submode',opts.submode.join(',')));
0 commit comments