From 902bcd94a36595e609a245de8af3122f714a64b9 Mon Sep 17 00:00:00 2001 From: mei1127 Date: Tue, 19 Dec 2023 17:23:16 +0800 Subject: [PATCH] revised constant.js --- src/constant.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constant.js b/src/constant.js index 0c5b751..783b91c 100644 --- a/src/constant.js +++ b/src/constant.js @@ -4,8 +4,8 @@ import {cast} from './cast.js'; import {Tensor, sizeOfShape} from '../src/lib/tensor.js'; /** - * Create a constant array of the specified data type and - * shape that contains the data as specified by the range. + * Create a constant array of specified data type and shape, + * which contains data incrementing by step. * @param {Array} outputShape * @return {Tensor} */