@local_optimizer([GpuSparseBlockGemv], inplace=True)
def local_inplace_gpu_sparse_block_gemv(node):
 if (isinstance(node.op, GpuSparseBlockGemv) and (not node.op.inplace)):
  new_node = gpu_sparse_block_gemv_inplace(*node.inputs)
  return [new_node]
 return False

@ local_optimizer ( [ GpuSparseBlockGemv ] , inplace = True ) def local_inplace_gpu_sparse_block_gemv ( node ) : if ( isinstance ( node . op , GpuSparseBlockGemv ) and ( not node . op . inplace ) ) : new_node = gpu_sparse_block_gemv_inplace ( * node . inputs ) return [ new_node ] return False
gpusparseblockgemv -> gpusparseblockgemv .