| 778 | } |
| 779 | |
| 780 | mluOpStatus_t MLUOP_WIN_API mluOpGetTensorDescriptorPositionAndScale( |
| 781 | mluOpTensorDescriptor_t desc, int *position, float *scale) { |
| 782 | PARAM_CHECK("[mluOpGetTensorDescriptorPositionAndScale]", desc != NULL); |
| 783 | PARAM_CHECK("[mluOpGetTensorDescriptorPositionAndScale]", position != NULL); |
| 784 | PARAM_CHECK("[mluOpGetTensorDescriptorPositionAndScale]", scale != NULL); |
| 785 | |
| 786 | *position = desc->position; |
| 787 | *scale = desc->scale; |
| 788 | return MLUOP_STATUS_SUCCESS; |
| 789 | } |
| 790 | |
| 791 | mluOpStatus_t MLUOP_WIN_API mluOpGetTensorDescriptorPositionScaleAndOffset( |
| 792 | mluOpTensorDescriptor_t desc, int *position, float *scale, int *offset) { |
nothing calls this directly
no outgoing calls
no test coverage detected