Commit 0e8f58b7 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

backup code change

parent 168584b7
......@@ -30,7 +30,7 @@ struct multibroadcast
shape compute_shape(std::vector<shape> inputs) const
{
check_shapes{inputs, *this}.has(1);
check_shapes{inputs, *this}.has(1).standard();
auto t = inputs.at(0).type();
auto input = inputs.at(0);
......
......@@ -29,7 +29,7 @@ struct transpose
std::string name() const { return "transpose"; }
shape compute_shape(std::vector<shape> inputs) const
{
check_shapes{inputs, *this}.has(1);
check_shapes{inputs, *this}.has(1).standard();
auto input = inputs.at(0);
auto input_lens = input.lens();
auto input_strides = input.strides();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment