Searched refs:allow_legacy_scalars (Results 1 – 6 of 6) sorted by relevance
65 (allow_legacy_scalars() && dims == 0 && in1.dim_size(0) == 1) ? 1 in Compute()94 (allow_legacy_scalars() && d == in0.dims()) ? 1 : in0.dim_size(d); in Compute()
189 (allow_legacy_scalars() && concat_dim == 0), in Compute()
98 (allow_legacy_scalars() && concat_dim == 0), in Compute()
85 (allow_legacy_scalars() && concat_dim == 0), in Compute()
689 (allow_legacy_scalars() && dims == 0 && paddings.dim_size(0) == 1) in Compute()
177 bool allow_legacy_scalars() const { in allow_legacy_scalars() function187 return shape.dims() == 0 || (allow_legacy_scalars() && shape.dims() == 1 && in IsLegacyScalar()193 return shape.dims() == 1 || (allow_legacy_scalars() && shape.dims() == 0); in IsLegacyVector()