Home
last modified time | relevance | path

Searched refs:rank_y (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.cc1322 const int32 rank_y = c->Rank(shape_y); in BroadcastBinaryOpOutputShapeFnHelper() local
1323 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()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc91 int rank_y = input_shape_y.dimensions_count(); in ComputeBinaryOperatorOutputSize() local
92 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()