Commit 0130d4a6 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Change OpKernelRegistrar::Factory to be std::function.

This change allows lambda expressions with captures to be used as factory
functions for kernels. This is a prerequisite for the forthcoming C kernel
registration API.

PiperOrigin-RevId: 220333640
parent c5c80c1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment