Browse Source

for pylint 2nd

tags/v0.3.0-alpha
z00478463 6 years ago
parent
commit
d6bed5452e
7 changed files with 2 additions and 7 deletions
  1. +1
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/batch_matmul_impl.py
  2. +1
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cholesky_trsm.py
  3. +0
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cus_batch_matmul.py
  4. +0
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cus_cholesky_trsm.py
  5. +0
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cus_fused_abs_max1.py
  6. +0
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cus_img2col.py
  7. +0
    -1
      example/resnet50_imagenet2012_THOR/cus_ops/cus_matmul_cube.py

+ 1
- 1
example/resnet50_imagenet2012_THOR/cus_ops/batch_matmul_impl.py View File

@@ -71,5 +71,5 @@ from mindspore.ops.op_info_register import op_info_register
]
}""")
def CusBatchMatMul(input_x1, input_x2, output, transpose_a=False, transpose_b=True, kernel_name="batchmatmul"):
"""CusBatchMatMul"""
"""CusBatchMatMul"""
return

+ 1
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cholesky_trsm.py View File

@@ -59,5 +59,5 @@ from mindspore.ops.op_info_register import op_info_register
]
}""")
def CusCholeskyTrsm(input_x, output, kernel_name):
"""CusCholeskyTrsm"""
"""CusCholeskyTrsm"""
return

+ 0
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cus_batch_matmul.py View File

@@ -35,4 +35,3 @@ class CusBatchMatMul(PrimitiveWithInfer):

def infer_dtype(self, data1_dtype, data2_dtype):
return data1_dtype


+ 0
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cus_cholesky_trsm.py View File

@@ -35,4 +35,3 @@ class CusCholeskyTrsm(PrimitiveWithInfer):

def infer_dtype(self, data1_dtype):
return data1_dtype


+ 0
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cus_fused_abs_max1.py View File

@@ -42,4 +42,3 @@ class CusFusedAbsMax1(PrimitiveWithInfer):

def infer_dtype(self, data1_dtype):
return data1_dtype


+ 0
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cus_img2col.py View File

@@ -49,4 +49,3 @@ class CusImg2Col(PrimitiveWithInfer):

def infer_dtype(self, data1_dtype):
return data1_dtype


+ 0
- 1
example/resnet50_imagenet2012_THOR/cus_ops/cus_matmul_cube.py View File

@@ -52,4 +52,3 @@ class CusMatMulCube(PrimitiveWithInfer):

def infer_dtype(self, data1_dtype, data2_dtype):
return ms.common.dtype.tensor_type(getattr(ms, "float32"))


Loading…
Cancel
Save