HomePhabricator

Switch rewriters for relu, relu6, placeholder_input, softmax to patterns.

Authored by jpienaar on Dec 29 2018, 2:34 PM.

Description

Switch rewriters for relu, relu6, placeholder_input, softmax to patterns.

Add a constant F32 attribute for use with softmax legalization.

PiperOrigin-RevId: 227241643

Details