MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _convert_batch_mat_mul_v2

Function _convert_batch_mat_mul_v2

tensorflow/python/ops/parallel_for/pfor.py:2183–2191  ·  view source on GitHub ↗
(pfor_input)

Source from the content-addressed store, hash-verified

2181
2182@RegisterPFor("BatchMatMulV2")
2183def _convert_batch_mat_mul_v2(pfor_input):
2184 pfor_input.expanddim_inputs_for_broadcast()
2185 x = pfor_input.input(0)[0]
2186 y = pfor_input.input(1)[0]
2187 adj_x = pfor_input.get_attr("adj_x")
2188 adj_y = pfor_input.get_attr("adj_y")
2189
2190 output = math_ops.matmul(x, y, adjoint_a=adj_x, adjoint_b=adj_y)
2191 return wrap(output, True)
2192
2193
2194@RegisterPForWithArgs("Sum", math_ops.reduce_sum)

Callers

nothing calls this directly

Calls 5

wrapFunction · 0.70
inputMethod · 0.45
get_attrMethod · 0.45
matmulMethod · 0.45

Tested by

no test coverage detected