| 82 | } |
| 83 | |
| 84 | bool HloSoftmaxInstruction::IdenticalSlowPath( |
| 85 | const HloInstruction& other, |
| 86 | const std::function<bool(const HloComputation*, const HloComputation*)>& |
| 87 | eq_computations) const { |
| 88 | const auto& casted_other = static_cast<const HloSoftmaxInstruction&>(other); |
| 89 | return feature_index() == casted_other.feature_index() && |
| 90 | log() == casted_other.log(); |
| 91 | } |
| 92 | |
| 93 | HloInstructionProto HloSoftmaxInstruction::ToProto() const { |
| 94 | HloInstructionProto proto = HloInstruction::ToProto(); |
nothing calls this directly
no test coverage detected