"vscode:/vscode.git/clone" did not exist on "c705089fe1ed6f61ad94dc6872958745947696f0"
  • Charlie Lin's avatar
    Refactor dynamic compute; Dynamic ref unary functions (#1407) · 693cb5d8
    Charlie Lin authored
    Refactor dynamic compute
    - add a compute_output_shape object that implicitly converts to a new dyn_output or shape object
    - dyn_output object can handle computing the static output shape of an operator given the input arguments shapes
      change an operator's compute function to argument compute(const dyn_output& dyn_out, std::vector<argument> args) to 
      use dyn_output object
    
    Dynamic ref unary functions
    -  Included these changes to have an example of the refactored dynamic compute being used
    -  Changes to unary base class to handle dynamic shapes
    -  Changed elu and leaky_relu to use unary base class and pointwise JIT
    693cb5d8
lowering.cpp 15.9 KB