Allow constructing an operation with a format string (#976)
Designed to allow a user to format the values needed for the json_string: migraphx::operation("reduce_mean", "{axes : [%i, %i, %i, %i]}", axes[0], axes[1], axes[2], axes[3]) instead of needing to use string concat or stringstream
Showing
src/api/migraphx.py
100644 → 100755
test/api/test_op_construct.cpp
100644 → 100755
tools/api/api.cpp
100644 → 100755
Please register or sign in to comment