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

@ local_optimizer ( [ GpuSparseBlockOuter ] , inplace = True ) def local_inplace_gpu_sparse_block_outer ( node ) : if ( isinstance ( node . op , GpuSparseBlockOuter ) and ( not node . op . inplace ) ) : new_node = gpu_sparse_block_outer_inplace ( * node . inputs ) return [ new_node ] return False
gpusparseblockouter -> gpusparseblockouter .