Home
last modified time | relevance | path

Searched refs:LongToDouble (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dconv2d_info.cc1091 …return DoubleToLong(std::ceil(LongToDouble(w_output_shape / w_dimension_shard_num_ + w_kernel_size… in ComputeOverlapLeftSizeByRankBias()
1093 LongToDouble(w_stride))) - in ComputeOverlapLeftSizeByRankBias()
1100 …std::ceil(LongToDouble(rank_bias * w_output_shape / w_dimension_shard_num_ - w_kernel_size + left_… in ComputeOverlapLeftSizeByRankBias()
1101 LongToDouble(w_stride))); in ComputeOverlapLeftSizeByRankBias()
1115 …std::ceil(LongToDouble(w_output_shape / w_dimension_shard_num_ + left_pad) / LongToDouble(w_stride… in ComputeOverlapRightSizeByRankBias()
1124 return DoubleToLong(std::ceil(LongToDouble(rank_bias * w_output_shape / w_dimension_shard_num_ + in ComputeOverlapRightSizeByRankBias()
1126 LongToDouble(w_stride))) - in ComputeOverlapRightSizeByRankBias()
1154 …std::ceil(LongToDouble(w_output_shape / w_dimension_shard_num_ + left_pad) / LongToDouble(w_stride… in InferNewPadList()
1159 …DoubleToLong(std::ceil(LongToDouble(w_output_shape / w_dimension_shard_num_ + w_kernel_size - w_ou… in InferNewPadList()
1161 LongToDouble(w_stride))); in InferNewPadList()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dcc_implementations.cc233 …double sum = InnerScalar##op_t(LongToDouble(GetValue<int64_t>(x)), GetValue<double>(y)); …
237 …double sum = InnerScalar##op_t(LongToDouble(GetValue<int64_t>(x)), FloatToDouble(GetValue<float>(y…
245 …double sum = InnerScalar##op_t(FloatToDouble(GetValue<float>(x)), LongToDouble(GetValue<int64_t>(y…
249 …double sum = InnerScalar##op_t(GetValue<double>(x), LongToDouble(GetValue<int64_t>(y))); …
/third_party/mindspore/mindspore/core/ops/
Drange.cc99 …std::max(static_cast<int64_t>(std::ceil(LongToDouble(limit - start) / delta)), static_cast<int64_t… in RangeInfer()
/third_party/mindspore/mindspore/core/utils/
Dconvert_utils_base.h99 inline double LongToDouble(int64_t v) { return static_cast<double>(v); } in LongToDouble() function