Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc2631 const auto sub_cost = EIGEN_COST(scalar_difference_op<float>); in PredictCropAndResize() local
2648 int64 ops = (sub_cost * 6 + mul_cost * 2 + div_cost * 2) * num_boxes; in PredictCropAndResize()
2650 ops += (mul_cost * 2 + sub_cost + add_cost) * crop_height * num_boxes; in PredictCropAndResize()
2652 ops += (mul_cost * 2 + sub_cost + add_cost) * crop_height * crop_width * in PredictCropAndResize()
2657 ops += (floor_cost + ceil_cost + sub_cost) * crop_height * num_boxes; in PredictCropAndResize()
2659 ops += (floor_cost + ceil_cost + sub_cost) * crop_height * crop_width * in PredictCropAndResize()
2663 (cast_to_float_cost * 4 + add_cost * 3 + sub_cost * 3 + mul_cost * 3) * in PredictCropAndResize()