This repository has been archived by the owner on Aug 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap cropAndResize with an
op
decorator (#1506)
BUG Because we weren't wrapping cropAndResize using the op decorator, a user was seeing this stack trace when executing a model that had cropAndResize as an op: ``` engine.ts:197 Uncaught (in promise) TypeError: Cannot read property 'name' of null at e.runKernel (engine.ts:197) at Object.cropAndResize_ [as cropAndResize] (image_ops.ts:296) at executeOp$8 (image_executor.ts:65) at executeOp$16 (operation_executor.ts:65) at p (graph_executor.ts:323) at e.processStack (graph_executor.ts:309) at e.<anonymous> (graph_executor.ts:294) at callbacks.ts:17 at Object.next (callbacks.ts:17) at i (callbacks.ts:17) ```
- Loading branch information