Guest User

Untitled

a guest
May 25th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. // ..
  2. var inferredShape = util.inferShape(values);
  3. // Deleted invalid error check here !!!!!!!!!!!
  4. if (inferredShape.length === 1 && shape == null) {
  5. throw new Error('tensor3d() requires shape to be provided when `values` ' +
  6. 'are a flat array');
  7. }
  8. // ..
Add Comment
Please, Sign In to add comment