rofunc.utils.datalab.data_sampler.utils#

1.  Module Contents#

1.1.  Functions#

rreplace

Replace the last n occurrences of a string. args:

pcd_concat

1.2.  API#

rofunc.utils.datalab.data_sampler.utils.rreplace(s, old, new, n)[source]#

Replace the last n occurrences of a string. args:

s: string to modify old: string to replace new: string to replace with n: number of occurrences to replace

returns:

modified string

rofunc.utils.datalab.data_sampler.utils.pcd_concat(pcds)[source]#