Home
last modified time | relevance | path

Searched refs:MultiplyWithoutOverflow (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Doverflow_test.cc65 int64 xy = MultiplyWithoutOverflow(x, y); in TEST()
78 EXPECT_LT(MultiplyWithoutOverflow(n, 0), 0) << n; in TEST()
79 EXPECT_LT(MultiplyWithoutOverflow(0, n), 0) << n; in TEST()
80 EXPECT_LT(MultiplyWithoutOverflow(n, n), 0) << n; in TEST()
Doverflow.h27 inline int64 MultiplyWithoutOverflow(const int64 x, const int64 y) { in MultiplyWithoutOverflow() function
/external/tensorflow/tensorflow/core/framework/
Dtensor_shape.cc70 num_elements = MultiplyWithoutOverflow(num_elements, d); in IsValid()
90 num_elements = MultiplyWithoutOverflow(num_elements, d.size()); in IsValid()
128 num_elements = MultiplyWithoutOverflow(num_elements, d.size()); in IsValidShape()
384 n = MultiplyWithoutOverflow(n, dim.size); in RecomputeNumElements()
404 new_num_elements = MultiplyWithoutOverflow(num_elements(), size); in AddDim()
430 new_num_elements = MultiplyWithoutOverflow(num_elements(), size); in AddDimWithStatus()
808 new_num_elements = MultiplyWithoutOverflow(out->num_elements(), dim); in MakeShapeHelper()
1004 n = MultiplyWithoutOverflow(n, dim); in NumElements()
/external/tensorflow/tensorflow/compiler/xla/
Doverflow_util.h30 inline int64 MultiplyWithoutOverflow(const int64 x, const int64 y) { in MultiplyWithoutOverflow() function
Dshape_util.cc231 dense_shape_size = MultiplyWithoutOverflow(dense_shape_size, d); in FillNewShape()
847 dense_shape_size = MultiplyWithoutOverflow(dense_shape_size, dim); in ValidateShapeSize()
852 dense_shape_size = MultiplyWithoutOverflow( in ValidateShapeSize()
/external/tensorflow/tensorflow/core/kernels/
Done_hot_op.cc85 MultiplyWithoutOverflow(indices_shape.num_elements(), depth_v) >= 0, in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc509 MultiplyWithoutOverflow(product_of_dimensions, dimension); in FromProto()