mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
1. Enable support for kDivide and kMaximum in XnnGraphFusion.
2. Extend the test coverage. PiperOrigin-RevId: 774945991
This commit is contained in:
parent
bbd497fcda
commit
fab3235983
|
|
@ -205,11 +205,10 @@ absl::StatusOr<xnn_binary_operator> XnnBinaryOperator(const HloOpcode& opcode) {
|
|||
return xnn_binary_add;
|
||||
case HloOpcode::kAnd:
|
||||
return xnn_binary_bitwise_and;
|
||||
// TODO(ashaposhnikov): debug crashes with these instructions.
|
||||
// case HloOpcode::kDivide:
|
||||
// return xnn_binary_divide;
|
||||
// case HloOpcode::kMaximum:
|
||||
// return xnn_binary_maximum;
|
||||
case HloOpcode::kDivide:
|
||||
return xnn_binary_divide;
|
||||
case HloOpcode::kMaximum:
|
||||
return xnn_binary_maximum;
|
||||
case HloOpcode::kMinimum:
|
||||
return xnn_binary_minimum;
|
||||
case HloOpcode::kMultiply:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user