Commit f08c961c authored by Jingyue Wu's avatar Jingyue Wu Committed by TensorFlower Gardener
Browse files

[Grappler] Fold multiply into the weights of a convolution.

This is beneficial when the weights are constant so the multiply can be folded.
For example,

         Conv2D
        /      \
    Transpose  weights
       |
      Mul
     /   \
   inputs 255.0

          ||
          \/

         Conv2D
        /      \
    Transpose   Mul
       |       /   \
       |   weights  255.0
       |
     inputs

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