Merge pull request #31993 from ppwwyyxx:patch-19
PiperOrigin-RevId: 269556368
This commit is contained in:
commit
21a7e525a1
@ -2871,6 +2871,7 @@ def _calc_mat_mul_flops(graph, node):
|
|||||||
|
|
||||||
|
|
||||||
@ops.RegisterStatistics("BatchMatMul", "flops")
|
@ops.RegisterStatistics("BatchMatMul", "flops")
|
||||||
|
@ops.RegisterStatistics("BatchMatMulV2", "flops")
|
||||||
def _calc_batch_mat_mul_flops(graph, node):
|
def _calc_batch_mat_mul_flops(graph, node):
|
||||||
"""Calculates the compute resources needed for BatchMatMul."""
|
"""Calculates the compute resources needed for BatchMatMul."""
|
||||||
transpose_a = node.attr["transpose_a"].b
|
transpose_a = node.attr["transpose_a"].b
|
||||||
|
Loading…
Reference in New Issue
Block a user