• Y
    Rewrite feed/fetch op (#4815) · 4df6cf4d
    Yu Yang 提交于
    * Feed/Fetch op just plain operator, not a OpWithKernel
    * Do not register OpInfoMaker since Feed/Fetch will never be
      configured by users
    * Feed/Fetch op has empty gradient
    * Feed/Fetch op do not hard code `feed_variable`, `fetch_variable` as
      its input and output, make it as a plain Operator input/output
    4df6cf4d
tensor.h 6.6 KB