• Charlie Lin's avatar
    Dynamic allocate (#2079) · ede8bfa6
    Charlie Lin authored
    Makes a version of allocate that takes in dimensions and allocates a buffer
    Going to create a simplify_dynamic_ops compiler pass that will use the use_shape_attr flag
    The ONNX op ConstantOfShape needs the buffer to be filled with a specific value, so going to make another PR for that and a fill operator
    ede8bfa6
op_shape_test.cpp 151 KB