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

Extend neutral element optimization to handle

  - division:
     *  0 / y -> 0 (in aggressive mode only)
     *  x / 1 -> x
     *  1 / y -> Reciprocal(y)
  - subtraction:
     * x - 0 -> x
  - BiasAdd:
     * BiasAdd(x, 0) -> x

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