Home
last modified time | relevance | path

Searched defs:max_shape (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dclamp_tensor.cc80 auto max_shape = input2_shape->GetShapeVector(); in InferShape() local
111 auto max_shape = input2->shape(); in InferShape() local
/third_party/mindspore/mindspore-src/source/tests/st/networks/models/fasterrcnn/src/utils/
Dbox_utils.py32 def delta2bbox(deltas, boxes, weights=(10.0, 10.0, 5.0, 5.0), max_shape=None): argument
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dpad_and_shift.cc55 ShapeVector max_shape = shape->GetShapeVector(); in InferShape() local
Dall_swap.cc53 ShapeVector max_shape = {infer_max_size / tensor_in_shape[1], tensor_in_shape[1]}; in InferShape() local
Dcompute_accidental_hits.cc69 auto max_shape = std::make_shared<abstract::Shape>(max_shape_vec); in ComputeAccidentalHitsInferShape() local
Ddynamic_broadcast_gradient_args.cc79 ShapeVector max_shape; in InferShape() local
Dset_size.cc82 ShapeVector max_shape(dense_size[0] - 1); in SetSizeInferShape() local
Dnormalize_tuple_index.cc277 ShapeVector max_shape; in InferShape() local
Dop_utils.cc68 const std::vector<int64_t> &max_shape = res ? x_shape : y_shape; in CalBroadCastShape() local
/third_party/mindspore/mindspore-src/source/mindspore/core/abstract/
Ddshape.h169 …TensorShape(const ShapeVector &list, const ShapeVector &max_shape) : shape_(list), max_shape_(max_… in TensorShape()
215 const ShapeVector &max_shape() const { return max_shape_; } in max_shape() function
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/delegate/tensorrt/op/
Dbounding_box_decode_tensorrt.h44 const std::vector<int> &max_shape, float wh_ratio_clip) in BoundingBoxDecodePlugin()
Dbounding_box_decode_tensorrt.cc50 std::vector<int64_t> max_shape = GetValue<std::vector<int64_t>>(max_shape_attr); in AddInnerOp() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/operations/
D_quant_ops.py176 def infer_shape(self, x_shape, min_shape, max_shape): argument
237 def infer_shape(self, x_shape, min_shape, max_shape): argument
614 def infer_shape(self, x_shape, min_shape, max_shape): argument
678 def infer_shape(self, dout_shape, x_shape, min_shape, max_shape): argument
730 def infer_shape(self, x_shape, min_shape, max_shape): argument
788 def infer_shape(self, dout_shape, x_shape, min_shape, max_shape): argument
888 def infer_shape(self, x_shape, min_shape, max_shape): argument
934 def infer_shape(self, dout_shape, x_shape, min_shape, max_shape): argument
1014 def infer_shape(self, x_shape, min_shape, max_shape): argument
1069 def infer_shape(self, dout_shape, x_shape, min_shape, max_shape): argument
Dother_ops.py179 …def __init__(self, max_shape, means=(0.0, 0.0, 0.0, 0.0), stds=(1.0, 1.0, 1.0, 1.0), wh_ratio_clip… argument
D_inner_ops.py2528 def infer_shape(self, x_shape, pre_shape, min_shape, max_shape, n_step, loss_scale_shape): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/random/
Dparameterized_truncated_normal_gpu_kernel.cc83 …std::vector<int64_t> max_shape = std::vector<int64_t>(inputs.at(kIndex4)->GetDeviceShapeVector().b… in Resize() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/other/
Dboundingbox_decode_gpu_kernel.cc62 auto max_shape = primitive_->GetAttr("max_shape"); in Init() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_clamp.cc37 ShapeVector max_shape; member
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Dimage_func.py29 def bounding_box_decode(anchor_box, deltas, max_shape, means=(0.0, 0.0, 0.0, 0.0), stds=(1.0, 1.0, … argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp32/
Dmatmul_avx512_mask_fp32.c106 int max_shape[C4NUM] = {C12NUM, C12NUM, C8NUM, C6NUM}; in MatMulMaskAvx512Fp32() local
Dmatmul_avx512_fp32.c85 int max_shape[C4NUM] = {C12NUM, C12NUM, C8NUM, C6NUM}; in MatMulAvx512Fp32() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/pynative/
Dop_runtime_info.cc37 auto max_shape = common::AnfAlgo::GetOutputMaxShape(node, output_index); in OpRuntimeInfoGetOutputTensorMemSize() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dboundingbox_decode_cpu_kernel.cc68 auto max_shape = primitive_->GetAttr("max_shape"); in Init() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/session/
Dsession_basic.cc145 auto max_shape = common::AnfAlgo::GetOutputMaxShape(node, output_index); in CreateNodeOutputTensor() local
Danf_runtime_algorithm.cc355 auto max_shape = common::AnfAlgo::GetOutputMaxShape(node, output_index); in GetOutputTensorMemSize() local

12