{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/670","repository_url":"https://api.github.com/repos/tensorflow/tfjs","labels_url":"https://api.github.com/repos/tensorflow/tfjs/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tfjs/issues/670/comments","events_url":"https://api.github.com/repos/tensorflow/tfjs/issues/670/events","html_url":"https://github.com/tensorflow/tfjs/issues/670","id":356477906,"node_id":"MDU6SXNzdWUzNTY0Nzc5MDY=","number":670,"title":"batchMatMul error","user":{"login":"ran-j","id":17410205,"node_id":"MDQ6VXNlcjE3NDEwMjA1","avatar_url":"https://avatars0.githubusercontent.com/u/17410205?v=4","gravatar_id":"","url":"https://api.github.com/users/ran-j","html_url":"https://github.com/ran-j","followers_url":"https://api.github.com/users/ran-j/followers","following_url":"https://api.github.com/users/ran-j/following{/other_user}","gists_url":"https://api.github.com/users/ran-j/gists{/gist_id}","starred_url":"https://api.github.com/users/ran-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ran-j/subscriptions","organizations_url":"https://api.github.com/users/ran-j/orgs","repos_url":"https://api.github.com/users/ran-j/repos","events_url":"https://api.github.com/users/ran-j/events{/privacy}","received_events_url":"https://api.github.com/users/ran-j/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-03T12:01:25Z","updated_at":"2018-09-04T19:18:30Z","closed_at":"2018-09-04T14:34:36Z","author_association":"NONE","body":"To get help from the community, check out our [Google group](https://groups.google.com/a/tensorflow.org/forum/#!forum/tfjs).\r\n\r\n#### TensorFlow.js version\r\n    \"@tensorflow/tfjs\": \"^0.12.4\",\r\n    \"@tensorflow/tfjs-core\": \"^0.12.12\",\r\n    \"@tensorflow/tfjs-node\": \"^0.1.11\",\r\n\r\n #### Describe the problem or feature request\r\n\r\n I was using normali tensorflow JS on my chatbot but Today when I try to install again and run I got this erro:\r\n\r\n```\r\nTypeError: backend.batchMatMul is not a function\r\n    at environment_1.ENV.engine.runKernel.$a (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-core\\dist\\ops\\matmul.js:60:86)\r\n    at C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:115:26\r\n    at Engine.scopedRun (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:95:23)\r\n    at Engine.runKernel (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:113:14)\r\n    at matMul_ (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-core\\dist\\ops\\matmul.js:60:40)\r\n    at Object.matMul (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-core\\dist\\ops\\operation.js:23:29)\r\n    at Object.dot (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\backend\\tfjs_backend.js:215:24)\r\n    at C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\layers\\core.js:142:28\r\n    at C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:85:22\r\n    at Engine.scopedRun (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:95:23)\r\n    at Engine.tidy (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs\\node_modules\\@tensorflow\\tfjs-core\\dist\\engine.js:84:21)\r\n    at Object.Environment.tidy (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-core\\dist\\environment.js:45:35)\r\n    at Dense.call (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\layers\\core.js:139:28)\r\n    at C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\engine\\topology.js:408:36\r\n    at Object.nameScope (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\common.js:25:19)\r\n    at Dense.Layer.apply (C:\\Users\\Ranieri\\Documents\\Projetos\\Node Js\\TensorFlowJS\\node_modules\\@tensorflow\\tfjs-layers\\dist\\engine\\topology.js:392:25)\r\n```\r\n\r\nMy old project is running great, the same code.\r\n\r\nMy code:\r\nhttps://github.com/ran-j/ChatBotNodeJS/blob/master/routes/index.js#L325\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/comments/418486308","html_url":"https://github.com/tensorflow/tfjs/issues/670#issuecomment-418486308","issue_url":"https://api.github.com/repos/tensorflow/tfjs/issues/670","id":418486308,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODQ4NjMwOA==","user":{"login":"hunterdowns","id":6424277,"node_id":"MDQ6VXNlcjY0MjQyNzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6424277?v=4","gravatar_id":"","url":"https://api.github.com/users/hunterdowns","html_url":"https://github.com/hunterdowns","followers_url":"https://api.github.com/users/hunterdowns/followers","following_url":"https://api.github.com/users/hunterdowns/following{/other_user}","gists_url":"https://api.github.com/users/hunterdowns/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterdowns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterdowns/subscriptions","organizations_url":"https://api.github.com/users/hunterdowns/orgs","repos_url":"https://api.github.com/users/hunterdowns/repos","events_url":"https://api.github.com/users/hunterdowns/events{/privacy}","received_events_url":"https://api.github.com/users/hunterdowns/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T19:18:30Z","updated_at":"2018-09-04T19:18:30Z","author_association":"NONE","body":"Thanks! That did it. \r\n\r\nOne thing to note is that I had just been using `npm` rather than `yarn` and that was asking me to use put an explicit dependency on `tfjs-core` in my `package.json`. Even after changed my package to match what you had suggested it was still asking for the `tfjs-core` dependency. If I put that back it, it failed as before.  \r\n\r\nFollowing exactly what you said, I removed that explicit dependency, switched to `yarn`, and now it's working.  \r\n\r\nThanks again!"}}
{"actor":{"display_login":"hunterdowns"}}