Home
last modified time | relevance | path

Searched refs:divisor_ (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.h141 : multiplier_(0), offset_(0), divisor_(1) {} in MultiplyAddDivideOffsetCalculation()
150 divisor_ == other.divisor_;
166 int64 divisor_; variable
Dspmd_partitioner_util.cc651 : multiplier_(multiplier), offset_(offset), divisor_(divisor) { in MultiplyAddDivideOffsetCalculation()
652 CHECK_GT(divisor_, 0); in MultiplyAddDivideOffsetCalculation()
658 if (divisor_ == 1 && other.divisor_ == 1) { in operator -()
670 if (divisor_ != 1 && multiplier_ % divisor_ == 0 && in Simplify()
671 (offset_ % divisor_ == 0 || offset_ * multiplier_ > 0)) { in Simplify()
672 multiplier_ /= divisor_; in Simplify()
673 offset_ /= divisor_; in Simplify()
674 divisor_ = 1; in Simplify()
679 return (shard_ordinal * multiplier_ + offset_) / divisor_; in Calculate()
687 LiteralUtil::CreateR0<int32>(offset_ / divisor_))); in Calculate()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs76 divisor_ = other.divisor_; in DivArgs()
98 private long divisor_; field in Math.DivArgs
101 get { return divisor_; }
103 divisor_ = value;
/external/libchrome/base/metrics/
Dfield_trial.cc344 DCHECK_LE(group_probability, divisor_); in AppendGroup()
352 DCHECK_LE(accumulated_group_probability_, divisor_); in AppendGroup()
411 divisor_(total_probability), in FieldTrial()
452 accumulated_group_probability_ = divisor_; in FinalizeGroupChoiceImpl()
Dfield_trial.h339 const Probability divisor_; variable