import { Tensor } from './tensor-impl.js';
/**
 * calculate size from dims.
 *
 * @param dims the dims array. May be an illegal input.
 */
export declare const calculateSize: (dims: readonly unknown[]) => number;
/**
 * implementation of Tensor.reshape()
 */
export declare const tensorReshape: (tensor: Tensor, dims: readonly number[]) => Tensor;
//# sourceMappingURL=tensor-utils-impl.d.ts.map