提交 3a15218b 编写于 作者: P principal87

add js testcase and mindspore model.

Signed-off-by: Nprincipal87 <nierong3@huawei.com>
上级 4932db12
...@@ -1220,6 +1220,7 @@ export default function abilityTest() { ...@@ -1220,6 +1220,7 @@ export default function abilityTest() {
let resize_result = msliteModel.resize(modelInputs, new_dim); let resize_result = msliteModel.resize(modelInputs, new_dim);
expect(resize_result).assertFalse() expect(resize_result).assertFalse()
console.log('=========MSLITE resize failed=====') console.log('=========MSLITE resize failed=====')
done();
}).catch(err => { }).catch(err => {
console.log("loadModel catch: ", err); console.log("loadModel catch: ", err);
done(); done();
...@@ -1267,6 +1268,7 @@ export default function abilityTest() { ...@@ -1267,6 +1268,7 @@ export default function abilityTest() {
let resize_result = msliteModel.resize(modelInputs, new_dim); let resize_result = msliteModel.resize(modelInputs, new_dim);
expect(resize_result).assertFalse() expect(resize_result).assertFalse()
console.log('=========MSLITE resize failed=====') console.log('=========MSLITE resize failed=====')
done();
}).catch(err => { }).catch(err => {
console.log("loadModel catch: ", err); console.log("loadModel catch: ", err);
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册