Searched refs:MultiplyWithoutOverflow (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/util/ |
D | overflow_test.cc | 43 int64 xy = MultiplyWithoutOverflow(x, y); in TEST() 57 EXPECT_DEATH(MultiplyWithoutOverflow(n, 0), ""); in TEST() 58 EXPECT_DEATH(MultiplyWithoutOverflow(0, n), ""); in TEST() 59 EXPECT_DEATH(MultiplyWithoutOverflow(n, n), ""); in TEST()
|
D | overflow.h | 26 inline int64 MultiplyWithoutOverflow(const int64 x, const int64 y) { in MultiplyWithoutOverflow() function
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_shape.cc | 67 num_elements = MultiplyWithoutOverflow(num_elements, d.size()); in IsValid() 105 num_elements = MultiplyWithoutOverflow(num_elements, d.size()); in IsValidShape() 316 n = MultiplyWithoutOverflow(n, dim.size); in RecomputeNumElements() 331 new_num_elements = MultiplyWithoutOverflow(num_elements(), size); in AddDim() 593 new_num_elements = MultiplyWithoutOverflow(out->num_elements(), dim); in MakeShapeHelper() 759 n = MultiplyWithoutOverflow(n, dim); in NumElements()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | overflow_util.h | 26 inline int64 MultiplyWithoutOverflow(const int64 x, const int64 y) { in MultiplyWithoutOverflow() function
|
D | shape_util.cc | 695 int64 sparse_elements_size = MultiplyWithoutOverflow( in ValidateShapeSize() 701 MultiplyWithoutOverflow(max_sparse_elements, shape.rank()); in ValidateShapeSize() 706 MultiplyWithoutOverflow(sparse_indices_size, sizeof(int64)); in ValidateShapeSize() 729 dense_shape_size = MultiplyWithoutOverflow(dense_shape_size, dim); in ValidateShapeSize() 734 dense_shape_size = MultiplyWithoutOverflow( in ValidateShapeSize()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | one_hot_op.cc | 84 MultiplyWithoutOverflow(indices_shape.num_elements(), depth_v) >= 0, in Compute()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_sharding.cc | 390 MultiplyWithoutOverflow(product_of_dimensions, dimension); in FromProto()
|