MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / compute_op

Function compute_op

tools/include/operation.hpp:203–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202template <class T>
203auto compute_op(rank<1>,
204 const T& x,
205 context& ctx,
206 const shape& output_shape,
207 const std::vector<argument>& input)
208 -> decltype(x.compute(auto_any_cast(ctx),
209 make_compute_output_shape(pack(x, output_shape, input)),
210 input))
211{
212 return x.compute(
213 auto_any_cast(ctx), make_compute_output_shape(pack(x, output_shape, input)), input);
214}
215
216template <class T>
217argument compute_op(rank<0>, const T& x, context&, const shape&, const std::vector<argument>&)

Callers

nothing calls this directly

Calls 6

auto_any_castFunction · 0.85
packFunction · 0.50
computeMethod · 0.45
nameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected