Searched refs:ActivationFn (Results 1 – 6 of 6) sorted by relevance
25 enum ActivationFn { enum37 explicit ActivationFunctor(ActivationFn act) : act_(act) {} in ActivationFunctor()59 ActivationFn act_;
65 ActivationFn activation_;
42 activation_ = static_cast<ActivationFn>( in RNN()216 (ActivationFunctor(static_cast<ActivationFn>(activation)))(output_ptr_batch[o]); in RNNStep()
123 template <ActivationFn activation>218 template <ActivationFn activation>
96 activation_(ActivationFn::kActivationTanh), in LayerNormLSTMOpModel()
89 activation_(ActivationFn::kActivationTanh), in LSTMOpModel()