Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
aonotas committed Nov 19, 2018
1 parent ed10e3b commit 754f368
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cupy/cuda/cudnn.pyx
Expand Up @@ -450,10 +450,10 @@ cdef extern from "cupy_cudnn.h" nogil:
# CTC
int cudnnCreateCTCLossDescriptor(CTCLossDescriptor* ctcLossDesc)
int cudnnDestroyCTCLossDescriptor(CTCLossDescriptor ctcLossDesc)
int cudnnSetCTCLossDescriptor(CTCLossDescriptor ctcLossDesc,
DataType dataType)
int cudnnGetCTCLossDescriptor(CTCLossDescriptor ctcLossDesc,
DataType* dataType)
int cudnnSetCTCLossDescriptor(
CTCLossDescriptor ctcLossDesc, DataType dataType)
int cudnnGetCTCLossDescriptor(
CTCLossDescriptor ctcLossDesc, DataType* dataType)
int cudnnGetCTCLossWorkspaceSize(
Handle handle, TensorDescriptor probsDesc,
TensorDescriptor gradientsDesc, int* labels,
Expand Down Expand Up @@ -1724,8 +1724,8 @@ cpdef setCTCLossDescriptor(size_t ctcLossDesc, int dataType):

cpdef getCTCLossDescriptor(size_t ctcLossDesc):
cdef DataType compType
status = cudnnGetCTCLossDescriptor(<CTCLossDescriptor>ctcLossDesc,
&compType)
status = cudnnGetCTCLossDescriptor(
<CTCLossDescriptor>ctcLossDesc, &compType)
check_status(status)
return compType

Expand Down

0 comments on commit 754f368

Please sign in to comment.