Skip to content

Commit 1710092

Browse files
authored
zq/fix log log2 log10 (DeepLink-org#902)
* fix log log2 log10 * fix log
1 parent f8f395b commit 1710092

File tree

3 files changed

+0
-56
lines changed

3 files changed

+0
-56
lines changed

impl/ascend/convert_config.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,24 +97,6 @@
9797
- diopiAll:
9898
dtype: (float16, float32, float64, int16, int32, int64, uint8, int8)->bool
9999

100-
- diopiLog:
101-
dtype: (float16, float32, int16, int32, int64, uint8, int8)->float64
102-
103-
- diopiLogInp:
104-
dtype: (float16, float32, int16, int32, int64, uint8, int8)->float64
105-
106-
- diopiLog2:
107-
dtype: (float64, int16, int32, int64, uint8, int8)->float32
108-
109-
- diopiLog2Inp:
110-
dtype: (float64, int16, int32, int64, uint8, int8)->float32
111-
112-
- diopiLog10:
113-
dtype: (float64, int16, int32, int64, uint8, int8)->float32
114-
115-
- diopiLog10Inp:
116-
dtype: (float64, int16, int32, int64, uint8, int8)->float32
117-
118100
- diopiNeg:
119101
dtype: (int8, int16, uint8, uint16, uint32, uint64)->int64, (float64)->float32, (complex32)->complex64
120102

impl/ascend/device_configs.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -210,42 +210,6 @@
210210
),
211211
),
212212

213-
'log_integer_input': dict(
214-
name=['log2', 'log10'],
215-
tensor_para=dict(
216-
args=[
217-
{
218-
"ins": ['input'],
219-
"shape": [Skip((1,)),Skip((1024,)),Skip((364800, 4)),Skip((2, 128, 3072)),Skip((256, 128, 3, 3)),Skip((2, 31, 512, 6, 40)),],
220-
},
221-
]
222-
),
223-
),
224-
225-
'log_zero_input': dict(
226-
name=['log2', 'log10'],
227-
tensor_para=dict(
228-
args=[
229-
{
230-
"ins": ['input'],
231-
"shape": [Skip((1,)),Skip((1024,)),Skip((364800, 4)),Skip((2, 128, 3072)),Skip((256, 128, 3, 3)),Skip((2, 31, 512, 6, 40)),],
232-
},
233-
]
234-
),
235-
),
236-
237-
'log_neg_input': dict(
238-
name=['log2', 'log10'],
239-
tensor_para=dict(
240-
args=[
241-
{
242-
"ins": ['input'],
243-
"dtype": [Skip(np.int16), Skip(np.int32), Skip(np.int64), Skip(np.uint8), Skip(np.int8),],
244-
},
245-
]
246-
),
247-
),
248-
249213
'tanh': dict(
250214
name=['tanh'],
251215
tensor_para=dict(

impl/ascend/functions/reduce.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
namespace impl {
1414
namespace ascend {
1515

16-
extern diopiError_t negativeInputRtnFillNan(diopiContextHandle_t ctx, diopiTensorHandle_t out, diopiConstTensorHandle_t input);
17-
1816
diopiError_t diopiSum(diopiContextHandle_t ctx, diopiTensorHandle_t out, diopiConstTensorHandle_t input, diopiSize_t dim) {
1917
int64_t numel = 0;
2018
diopiGetTensorNumel(input, &numel);

0 commit comments

Comments
 (0)