Files
paddlepaddle--paddle/paddle/phi/ops/yaml/inconsistent/update_ops.yaml
T
2026-07-13 12:40:42 +08:00

33 lines
1.2 KiB
YAML

# The operators contained in this file are:
# Operators that are inconsistent with the dynamic graph definition currently,
# but the final definition scheme of the static graph has been determined, after
# the dynamic graph is simultaneously upgraded, the operators in this file will be migrated to paddle/phi/ops/yaml/ops.yaml.
- op : arange
args : (Scalar start, Scalar end, Scalar step, DataType dtype=DataType::FLOAT64, Place place=CPUPlace())
output : Tensor(out)
infer_meta :
func : ArangeInferMeta
param : [start, end, step, dtype]
kernel :
func : arange
param : [start, end, step]
data_type : dtype
backend : place
interfaces : paddle::dialect::InferSymbolicShapeInterface
traits : paddle::dialect::ForwardOnlyTrait
- op : range_v2
args : (Scalar start, Scalar end, Scalar step, DataType dtype=DataType::FLOAT64, Place place=CPUPlace())
output : Tensor(out)
infer_meta :
func : RangeInferMeta
param : [start, end, step, dtype]
kernel :
func : range
param : [start, end, step]
data_type : dtype
backend : place
interfaces : paddle::dialect::InferSymbolicShapeInterface
traits : paddle::dialect::ForwardOnlyTrait