• F
    support complex data types for libpaddle.Tensor's element get and set (#52324) · 13b12457
    Feiyu Chan 提交于
    1. add type caster for paddle's complex type, to allow pybind to automatically cast it with python's complex type;
    2. add complex64 and complex128 data type for `libpaddle.Tensor`'s element get and set(which is required to perturb an element to get the numerical derivative)
    3. add support for cuda pinned place in `libpaddle.Tensor` element get and set
    
    ---
    4. fix a bug in op code generation.(Creation of output folder in concurrent with parsing op yamls.)
    13b12457
tensor.cc 43.3 KB