(
kernelInvocation: RegisteredKernelInvocation<I>|
CustomGradKernelInvocation<T, I>)
| 102 | } |
| 103 | |
| 104 | function isRegisteredKernelInvocation<T extends Tensor|Tensor[], |
| 105 | I extends NamedTensorMap>( |
| 106 | kernelInvocation: RegisteredKernelInvocation<I>| |
| 107 | CustomGradKernelInvocation<T, I>): |
| 108 | kernelInvocation is RegisteredKernelInvocation<I> { |
| 109 | return (kernelInvocation as RegisteredKernelInvocation<I>).kernelName != null; |
| 110 | } |
| 111 | |
| 112 | class EngineState { |
| 113 | // Public since optimizers will use it. |
no outgoing calls
no test coverage detected
searching dependent graphs…