Searched refs:rank_y (Results 1 – 2 of 2) sorted by relevance
1322 const int32 rank_y = c->Rank(shape_y); in BroadcastBinaryOpOutputShapeFnHelper() local1323 const int32 rank_out = std::max(rank_x, rank_y); in BroadcastBinaryOpOutputShapeFnHelper()1330 if (rank_x != rank_y) dim_one = c->MakeDim(1); in BroadcastBinaryOpOutputShapeFnHelper()1335 const bool dim_y_is_one = (i < (rank_out - rank_y)); in BroadcastBinaryOpOutputShapeFnHelper()1337 dim_y_is_one ? dim_one : c->Dim(shape_y, i - (rank_out - rank_y)); in BroadcastBinaryOpOutputShapeFnHelper()
91 int rank_y = input_shape_y.dimensions_count(); in ComputeBinaryOperatorOutputSize() local92 int rank_out = std::max(rank_x, rank_y); in ComputeBinaryOperatorOutputSize()100 bool dim_y_is_one = i < (rank_out - rank_y); in ComputeBinaryOperatorOutputSize()101 int dim_y = dim_y_is_one ? 1 : input_shape_y.dims(i - (rank_out - rank_y)); in ComputeBinaryOperatorOutputSize()