Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ..
- var inferredShape = util.inferShape(values);
- // Deleted invalid error check here !!!!!!!!!!!
- if (inferredShape.length === 1 && shape == null) {
- throw new Error('tensor3d() requires shape to be provided when `values` ' +
- 'are a flat array');
- }
- // ..
Add Comment
Please, Sign In to add comment